kivy/python-for-android

Crashing on phone. SDL Error Could not load any libpythonXXX.so

Closed this issue · 1 comments

Versions

  • Python: 3.7
  • OS: Android 9
  • Kivy: 1.11.11
  • Cython: 0.29.14

Desription:
So, my app builded, after that i installed app on my phone and when i run application it is crashing. I dont know why
Phone: Redmi note 7
OS: Android 9

Variables:
export ANDROIDAPI="28" # Target API version of your application
export NDKAPI="21" # Minimum supported API version of your application
export ANDROIDNDKVER="r19b" # Version of the NDK you installed

Error:

SDL Error

An error occured while trying to start the application. Please try again and/or reinstall.

Error: Could not load any libpythonXXX.so

I fixed issue by this command: p4a clean_builds && p4a clean_dists