-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[question]Python for android no longer supports Error ! #1978
Comments
hi again any advice ? |
Uninstall with pip, make sure it's only installed with pip3. |
hi tnx for your answer. |
repeat until it says it's not installed. then install again, but with pip3 instead of pip. if you use a virtualenv, make sure it's a python3 virtualenv. |
tnx . i see that error again. |
sorry, i missed that you used buildozer, in this case, you can just uninstall python-for-android, buildozer installs its own version anyway. I guess the solution is to use python3 to install buildozer as well, (so same thing, uninstall with pip2, then install with pip3). |
tnx MR. i try ,then post result here . |
hi again. but after enter that command (buildozer android debug) edit ... tnx |
buildozer will automatically install the ndk and sdk as needed, if you get the aidl error, please use this command.
as documented here https://buildozer.readthedocs.io/en/latest/installation.html#aidl-not-found-please-install-it |
Hi again. after that i used buildozer android debug. then automatically build tools updated to 29.0.2 again ! here is full error after android debug:
(i can run aidl from sdk path fut with debug cant be run) |
my problem isnt solve/ but i use windows instead linux and work well. |
Thanks buddy. |
Hi /
i have a problem after running
buildozer android debug
Build failed: python-for-android no longer supports running under Python 2. Either upgrade to Python 3.4 or higher (recommended), or revert to python-for-android 2019.07.08. Note that you *can* still target Python 2 on Android by including python2 in your requirements. Command failed: /usr/bin/python -m pythonforandroid.toolchain create --dist_name=myapp --bootstrap=sdl2 --requirements=python3crystax,kivy,python3 --arch armeabi-v7a --copy-libs --color=always --storage-dir="/root/Desktop/OnlyforTest/untitled123/.buildozer/android/platform/build" --ndk-api=21 ENVIRONMENT:
my p4a version is : 2019.08.09.1.dev0
how can i solve this issue ?
i try to install p4a with pip and pip3 and installed with no error and clean.
but how can i change the requirements from p4a ?
in last line i see this error to :
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
Tnx for your time.
The text was updated successfully, but these errors were encountered: