-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buildozer does not install build tools automatically with fresh install #146
Comments
Sorry about the lack of logs or extra info on this issue! The relevant area of code looks to be around here: buildozer/buildozer/targets/android.py Line 353 in a7c5ccc
|
On my system (VBox with Ubuntu64 14.04) there is no version/revision 21. Maybe it has been revoked by Google? There is a revision 20 at this moment. This might resolve issue kivy#146?
JAISUS.. if this is the bug, i've been on this bugger for 2 full days now... :-/ |
This is fixed, please reopen the day it will break again :) |
It has been broke again for a while. |
This is broken as of today (27 AUG 2015). |
Bah, just hit this. |
@Laspimon how do I update SDK tools to version 23.0 as you suggest above? I'm stuck on the same screen you were. Update: Ah, you click "Install" with what's selected by default, then restart the package manager (run |
Glad you figured it out. |
So the bug is that the out-of-box experience needs to download SDK tools version 23.0 from the get go ? |
I installed 20 and 23, now I get this... Now what? BUILD FAILED |
Yeah, the major issue that isn't captured in the readme is any Buildozer build MUST be run on the disk of the virtualmachine - not a shared folder with your host machine. |
Still existing, I had to open |
You can also change the android.sdk = "some other version/revision" in the buildozer.spec file, it will do everything from scratch. I know it is little wierd but it worked for me ... (use it as a last option, i.e. if nothing above works for you). |
aidl not found , please install it#146 yaki29 commented on Nov 1, 2016
|
@Lavz Actually I don't remember, it was like 3 months ago. But this issue has been resolved why don't you reinstall the buildozer and also remove the .buildozer directory from where you installed it (probably in your home directory). Perform the same process and I suppose that would work for you. |
I have this issue with sdk versions < 22. If you change the sdk level to version >= 22 it works. |
find / 2>&1 |grep swt.jar |
Found the swt.jar files in below locations, /home/pi/.buildozer/android/platform/android-sdk-20/tools/lib/jfreechart-1.0.9-swt.jar |
Found the swt.jar files in below locations, /home/pi/.buildozer/android/platform/android-sdk-20/tools/lib/jfreechart-1.0.9-swt.jar |
How to perform "Please export ANDROID_SWT to point to the folder containing swt.jar for your platform" ? |
Check what processor you have
|
I have below processor, |
Tried Both are not working. Please suggest me |
What error you get |
Still same error b"SWT folder '/home/pi/.buildozer/android/platform/android-sdk/tools/lib/x86/swt.jar' does not exist.\nPlease export ANDROID_SWT to point to the folder containing swt.jar for your platform.\n"# Command failed: /home/pi/.buildozer/android/platform/android-sdk-20/tools/android list sdk -u -e |
After executing the command, |
Yeah make sure it exist also make sure they're not symlinlks |
Couldn't understand |
ls -alth /usr/share/java/swt.jar |
I have, |
export ANDROID_WAT="../../lib/java/swt-gtk-3.8.2.jar" |
Again Buildozer throwing same error. Should we mention where to export? like source and destination path |
ANDROID_SWT* |
Again similar error, b"SWT folder '/usr/share/java/swt.jar' does not exist.\nPlease export ANDROID_SWT to point to the folder containing swt.jar for your platform.\n"# Command failed: /home/pi/.buildozer/android/platform/android-sdk-20/tools/android list sdk -u -e |
ANDROID_SWT= ../../lib/java/swt-gtk-3.8.2.jar |
Wait |
to the folder not the file |
I'm getting below, pi@raspberrypi:~ $ ANDROID_SWT=/usr/share/java/ |
This one should work export ANDROID_SWT=/home/pi/.buildozer/android/platform/android-sdk/tools/lib/x86/ |
Good Improvement!!! Now I got below error, Aidl not found, please install it |
I don't know about this |
Thank you so much for your great support!!! aidl is looks like installation part only. I can continue now |
Yes this is definitely glitching sometimes, but most of the time it's working. |
what should I do with this ? |
A fresh clone of buildozer, attempting to build a basic application fails due to buildozer not installing build tools.
This can be worked around by waiting for buildozer to fail, browsing to buildozers android SDK installation, launching the manager and installing build tools version 20, ensuring to unmark any packages checked by default!
kived mentions it may be trying to install build tools version 21 - which does not exist.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: