qpython-android / qpython

QPython is an Android Python engine primarily designed for Python and AI learners. It offers a range of impressive features to enhance Python programming experience.
https://www.qpython.org
1.03k stars 191 forks source link

No longer runs python executable on Android 4.4 #183

Open ssb22 opened 4 years ago

ssb22 commented 4 years ago

The Play Store "3.0.0" release of "QPython OL" updated QPython on my old Android 4.4 phablet, and now it can no longer run any Python script due to this error:

CANNOT LINK EXECUTABLE: could not load library "libpython2.7.so.1.0" needed by "/data/data/org.qpython.qpy/files/bin/python"; caused by cannot locate symbol "mmap64" referenced by "libpython2.7.so.1.0"...

This is likely the same as mpv-android issue #142. If Android 4.4 is no longer supported then please set minSdkVersion to something higher than 19 so that old devices running 4.4 and older will still get QPython 1.2.5, thanks.

(You might have to delete the 3.0.0 releases with lower minSdkVersion from Play Store first, or it might already be too late now that 3.0.0 has been released to Play Store with a low minSdkVersion, meaning users of old Android must now side-load an old APK file from an archive site instead. But at least increasing minSdkVersion might still save some confusion if you no longer intend to support Android 4.4.)

riverfor commented 4 years ago

Would you like to try to install the old version which may be compatible with old android system below 5.0, we can't make the newest qpython to support old android devices for the google android apis changes a lot when it upgrades.

https://github.com/qpython-android/qpython/releases/tag/v2.6.0 (QPython)

https://github.com/qpython-android/qpython3/releases/tag/2.1.0 (QPython3)