buildozer Aidl not found, please install it.

3,862 views
Skip to first unread message

Bothwell Watadza

unread,
Nov 12, 2015, 5:10:09 AM11/12/15
to Kivy development

Please assist I am not sure how to fix error "Aidl not found, please install it."

I have followed all the steps to install buildozer on Ubuntu and I am running:

buildozer -v android debug

and I am get: 

Check configuration tokens
Ensure build layout
Check configuration tokens
Read available permissions from api-versions.xml
Preparing build
Check requirements for android
Run 'dpkg --version'
Cwd None
Debian `dpkg' package management program version 1.17.25 (i386).
This is free software; see the GNU General Public License version 2 or
later for copying conditions. There is NO warranty.
Search for Git (git)
 -> found at /usr/bin/git
Search for Cython (cython)
 -> found at /usr/local/bin/cython
Search for Java compiler (javac)
 -> found at /usr/lib/jvm/java-7-openjdk-i386/bin/javac
Search for Java keytool (keytool)
 -> found at /usr/lib/jvm/java-7-openjdk-i386/jre/bin/keytool
Install platform
Apache ANT found at /home/bothwell/.buildozer/android/platform/apache-ant-1.9.4
Android SDK found at /home/bothwell/.buildozer/android/platform/android-sdk-20
Android NDK found at /home/bothwell/.buildozer/android/platform/android-ndk-r9c
Run '/home/bothwell/.buildozer/android/platform/android-sdk-20/tools/android list sdk -u -e'
Cwd /home/bothwell/.buildozer/android/platform
Refresh Sources:
  Fetched Add-ons List successfully
  Refresh Sources
Refresh Sources:
Refresh Sources:
Refresh Sources:
Packages available for installation or update: 0
Refresh Sources:
  Fetched Add-ons List successfully
  Refresh Sources
Refresh Sources:
Refresh Sources:
Refresh Sources:
Packages available for installation or update: 0

build-tools folder not found /home/bothwell/.buildozer/android/platform/android-sdk-20/build-tools
Run '/home/bothwell/.buildozer/android/platform/android-sdk-20/tools/android list sdk -u -e -a'
Cwd /home/bothwell/.buildozer/android/platform
Refresh Sources:
  Fetched Add-ons List successfully
  Refresh Sources
Refresh Sources:
Packages available for installation or update: 0
Refresh Sources:
  Fetched Add-ons List successfully
  Refresh Sources
Refresh Sources:
Packages available for installation or update: 0

Check that aidl can be executed
build-tools folder not found /home/bothwell/.buildozer/android/platform/android-sdk-20/build-tools
Search for Aidl
Aidl not found, please install it.

Thanks
Bothwell

Yannis Samantouros

unread,
Nov 28, 2015, 7:41:32 AM11/28/15
to Kivy development
I get the same error and I can't find anything on google...


Kudret Gürbüz

unread,
Dec 2, 2015, 7:14:11 AM12/2/15
to Kivy development
I was getting the same exact error, and I did a bit of digging, turns out we need to install build-tools for the android SDK through Android SDK Manager
inside our home folder there is the ".buildozer" hidden directory that buildozer created for us
this is the path to the Android SDK Manager: "/home/username/.buildozer/android/platform/android-sdk-20/tools/android"

just need to run android and update the sdk, and aidl will be installed

Toby Crowley

unread,
Jan 1, 2016, 3:23:52 PM1/1/16
to Kivy development
I'm having the same problem. In the path below, I can see the android command, but when I try to run it, I get "android: command not found" in my terminal.

Is there some stupid Linux trick I should be aware of? (I only use Linux in a VirtualBox for kivy at the moment).

Help me learn!

Alexander Taylor

unread,
Jan 1, 2016, 3:47:03 PM1/1/16
to Kivy development
Just typing 'android' will only run the executable if it is in a folder specified in your $PATH environment variable (which includes standard locations like /usr/bin). If it's in the current folder, but that folder is not in the $PATH, run it with ./android instead - that is, passing a filepath (which is interpreted unambiguously to run the executable at that destination).

Toby Crowley

unread,
Jan 5, 2016, 10:14:52 AM1/5/16
to Kivy development
Yeah, I got far enough that I changed the files permissions. For me, however, it didn't work until I typed "bash android."

Now, for some reason, I get "SSLPeerUnverified peer not authenticated" errors twice when I start the SDK manager. I get that this is now off-topic, but I'd be happy to get some advice on that. There's a bunch that Google research has revealed, and I'm working through it, but things like setting the time on my computer aren't helping.

--
You received this message because you are subscribed to a topic in the Google Groups "Kivy development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kivy-dev/gWvBErCWzDo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kivy-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages