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.

[question]Python for android no longer supports Error !

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
tshirtmancommented, Sep 8, 2019

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.

0reactions
Arsh1219commented, Dec 14, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix an installed Android app that isn't working - Google Support
Try the following steps if an app installed on your phone has any of these problems: Crashing. Won't open. Won't respond. Isn't working...
Read more >
Top 100 Python Interview Questions and Answers in 2022
Go through these top Python interview questions and answers to land your dream job in Data Science, Machine Learning, or Python coding. We...
Read more >
Android 7.0 or greater required - Jack'd Support
00 but will no longer receive updates for newer versions of Jack'd. To check the version of Android on your device: Open the...
Read more >
Uninstalling SafeSync in Android phone is not successful
Uninstallation is not successfull in Android. ... You should no longer encounter the error message when you uninstall your Trend ... Sign in...
Read more >
leetcode facebook phone screen
Practice with your peers over the phone (we know it can be awkward). By leetcode I mean an abstract graph problem that has...
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