Android does not support Android SDK for Kivy on Ubuntu 12.04

I wrote an Android game using Python and Kivy. I downloaded android-sdk-linuxand added my path to .bashrc. I also cloned a project python-for-androidto create my apk package. But when I write the following command, as indicated in the Kivy manual, I get an error message:

./distubute.sh -m "kivy"

error:
    Check build dependencies for Ubuntu
    Check enviromnent
    No ANDROIDSDK environment set, abort

Why?

This is a picture of mine ./android.shin $android-sdk-linux/tools:

Screen shot

+5
source share
2 answers

Respectfully read the docs . In particular, pay attention to the environment variables that need to be set, indicated at the bottom of the page.

Hope this helps.

+4
source

, , :

export ANDROIDSDK="/path/to/android-sdk-linux"
export ANDROIDNDK="/path/to/android-ndk-rY" #change Y here
export ANDROIDNDKVER=rY #same here
export ANDROIDAPI=X #change X here
export PATH=$PATH:$ANDROIDNDK:$ANDROIDSDK/platform-tools:$ANDROIDSDK/tools

Y ndk X API.

~/.bashrc.

.

+2

All Articles