question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't get off the ground

See original GitHub issue

I’m trying to fix the APK build of pyjinus, but I’m failing to get p-for-a to work at all, following the instructions on http://python-for-android.readthedocs.org/en/latest/quickstart/#installation. Note in particular that setting the NDK version as documented is not effective.

@dessant? Help?

➜  pyjnius git:(python3) export ANDROIDNDKVER=r14
➜  pyjnius git:(python3) python-for-android apk help
[INFO]:    This python-for-android revamp is an experimental alpha release!
[INFO]:    It should work (mostly), but you may experience missing features or bugs.
[INFO]:    Android API target was not set manually, using the default of 15
[INFO]:    Available Android APIs are ()
[WARNING]: Requested API target 15 is not available, install it with the SDK android tool.
[WARNING]: Exiting.
➜  pyjnius git:(python3) 

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
davied9commented, Jun 19, 2019

I’ve encounter the same problem,

[INFO]:    Will compile for the following archs: armeabi-v7a
[INFO]:    Found Android API target in $ANDROIDAPI
[INFO]:    Available Android APIs are (23, 27)
[WARNING]: Requested API target 29 is not available, install it with the SDK android tool.
[WARNING]: Exiting.
# Command failed: /usr/bin/python3 -m pythonforandroid.toolchain create --dist_name=SimpleApp --bootstrap=sdl2 --requirements=python3crystax,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/kivy/Desktop/Projects/TestBuildozer/build_area/android/platform/build" --ndk-api=21
# 
# Buildozer failed to execute the last command
# The error might be hidden in the log above this error
# Please read the full log, and search for it before
# raising an issue with buildozer itself.
# In case of a bug report, please add a full log with log_level = 2

I’m using new android sdk package, sdkmanager is suggested to be used, I run

./sdkmanager "platforms;android-27"

solve this problem, here 27 specified my required version of Android SDK

0reactions
drjomscommented, Feb 10, 2019

OK I managed to change buildozer.spec file.

Problem seemed to go away, but now I get this:

# Apache ANT found at /home/dimko/.buildozer/android/platform/apache-ant-1.9.4
# Android SDK found at /home/dimko/.buildozer/android/platform/android-sdk-24.3.3
# Android NDK found at /home/dimko/.buildozer/android/platform/android-ndk-r18b
# Check application requirements
# Check garden requirements
# Compile platform
# Command failed: /usr/bin/python3.6 -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3,kivy --arch armeabi-v7a --copy-libs --color=always --storage-dir="/home/dimko/BashScripts/python/new/.buildozer/android/platform/build"

i have run ~/.buildozer/android/platform/android-sdk-20/tools/android

I made sure everything I could install from API15 is installed.(one package cant be installed. google intel api)

i changed those lines in spec file:

# (int) Android API to use                                                                                                                                                                                         
android.api = 19
# (int) Minimum API required                                                                                                                                                                                       
android.minapi = 19

# (int) Android SDK version to use                                                                                                                                                                                 
android.sdk = 24.3.3

# (str) Android NDK version to use                                                                                                                                                                                 
android.ndk = 18b

i am still getting error above. Another bug?(shouldnt it complain about api19, which i also installed?)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why Is It So Hard to Get Up Off the Floor? - LIVESTRONG.com
Mobility, strength or balance issues might be the culprit. Figure out why you can't get off the floor and try these exercsises to...
Read more >
Didn't get off the ground - Idioms by The Free Dictionary
4. To fail to get something underway; to be unable to bring something to a point of stable or self-sufficient progress or development....
Read more >
Can't Get off the Ground by Jontavious Willis on Amazon Music
Check out Can't Get off the Ground by Jontavious Willis on Amazon Music. Stream ad-free or purchase CD's and MP3s now on Amazon.com....
Read more >
Get off the ground Definition & Meaning - Merriam-Webster
The meaning of GET OFF THE GROUND is to begin to operate or proceed in a successful way. How to use get off...
Read more >
Can't Get off the Ground - song and lyrics by Jontavious Willis
Listen to Can't Get off the Ground on Spotify. Jontavious Willis · Song · 2017.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found