Description
When I try to run my APK on older versions of Android (<4.x) I'm getting a crash with this error: "Couldn't load python3.5m: findLibrary returned null"
I'm using the new python-for-android toolchain checked out a few days ago.
I get a popup on the device that says it's an "SDL Error"
logcat: http://pastebin.com/A0EJ8dQG
buildozer: http://pastebin.com/WCbU96TM (I did add python2 to the list of requirements but it did not help)
I also changed the Kivy recipe to use stable as opposed to master. I didn't think that was the problem.
Tested on a Kindle Fire HD (3.x fails), LG Volt (4.4 fails, but for a different reason much later in the startup process after kivy started).
Uninstalling and reinstalling the app did not help.
It looks python-for-android/pythonforandroid/bootstraps/sdl2/build/src/org/kivy/android/PythonUtil.java in the function loadLibraries it is failing to find either python2.7 or python3.5m.
If this all sounds familiar it's a similar problem to #645. In fact before I updated p4a I was at revision 084ddec which @kived had just checked in to fix #645. I was able to build a working version of my app with that revision. After I pulled the latest revision (9d457e3) I immediately started seeing this problem.
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.