From 739437e7c1986852703db10bcabbc4797065b7c8 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 20 Aug 2021 17:51:42 +0100 Subject: [PATCH] check for python3.9m in loadLibraries --- .../build/src/main/java/org/kivy/android/PythonUtil.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/src/main/java/org/kivy/android/PythonUtil.java b/p4a/pythonforandroid/bootstraps/lbry/build/src/main/java/org/kivy/android/PythonUtil.java index 5ea3d63..18deb07 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/src/main/java/org/kivy/android/PythonUtil.java +++ b/p4a/pythonforandroid/bootstraps/lbry/build/src/main/java/org/kivy/android/PythonUtil.java @@ -17,7 +17,8 @@ public class PythonUtil { "python2.7", "python3.5m", "python3.6m", - "python3.7m", + "python3.7m", + "python3.9m", "main" }; } @@ -37,7 +38,7 @@ public class PythonUtil { // If this is the last possible libpython // load, and it has failed, give a more // general error - if (lib.startsWith("python3.7") && !foundPython) { + if (lib.startsWith("python3.9") && !foundPython) { throw new java.lang.RuntimeException("Could not load any libpythonXXX.so"); } continue;