[question]Python for android no longer supports Error !
See original GitHub issueHi / 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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (4 by maintainers)
Top GitHub Comments
pip uninstall python-for-android
repeat until it says it’s not installed.
then install again, but with pip3 instead of pip.
pip3 install python-for-android
if you use a virtualenv, make sure it’s a python3 virtualenv.
Thanks buddy.