No Android SDK environment set for Kivy in Ubuntu 12.04

android, android-sdk-tools, kivy, python, ubuntu-12.04

Solution

Sincerely read the docs. In particular, pay attention to the environment variables you need to set mentioned at that bottom of the page.

Hope that helps.

Problem

I've written a game for Android using Python and Kivy. I have downloaded `android-sdk-linux` and added its path to `.bashrc`. I've also cloned the `python-for-android` project to create an apk package of my program. But when I write the following command as instructed in the Kivy manual, I get an error: ``` ./distubute.sh -m "kivy" error: Check build dependencies for Ubuntu Check enviromnent No ANDROIDSDK environment set, abort ``` Why? This is a picture of my `./android.sh` in `$android-sdk-linux/tools`:

Original source