File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pythonforandroid/bootstraps/common/build/src/main/java/org/kivy/android Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,8 @@ protected static ArrayList<String> getLibraries(File libsDir) {
5959 addLibraryIfExists (libsList , name , libsDir );
6060 }
6161
62- for (int v = 14 ; v >= 5 ; v --) {
63- libsList .add ("python3." + v + ( v <= 7 ? "m" : "" ) );
62+ for (int v = 14 ; v >= 8 ; v --) {
63+ libsList .add ("python3." + v );
6464 }
6565
6666 libsList .add ("main" );
@@ -85,7 +85,7 @@ public static void loadLibraries(File filesDir, File libsDir) {
8585 // load, and it has failed, give a more
8686 // general error
8787 Log .v (TAG , "Library loading error: " + e .getMessage ());
88- if (lib .startsWith ("python3.5 " ) && !foundPython ) {
88+ if (lib .startsWith ("python3.8 " ) && !foundPython ) {
8989 throw new RuntimeException ("Could not load any libpythonXXX.so" );
9090 } else if (lib .startsWith ("python" )) {
9191 continue ;
You can’t perform that action at this time.
0 commit comments