SL4A、Pythonfordroid和Android 7.0牛轧糖

SL4A、Pythonfordroid和Android 7.0牛轧糖,python,sl4a,Python,Sl4a,我首先从你那里得到了SL4A的信息 SL4A:SL4A-r6.1.1-arm-debug.apk PY4A:pythonfordroid-debug.apk sl4a-r6.1.1版本和python解释器-r26版本都有可安装的APK。他们基本上在安卓牛轧糖上工作,但有些功能不工作或看起来有点不稳定 很高兴看到谷歌再次开发SL4A 因此,我尝试从Android Nougat的版本安装新的sl4a 7.0。我从sl4a.apk得到了源代码 问题 sl4a 7.0不适用于当前的pythonfor

我首先从你那里得到了SL4A的信息

  • SL4A:SL4A-r6.1.1-arm-debug.apk
  • PY4A:pythonfordroid-debug.apk
sl4a-r6.1.1版本和python解释器-r26版本都有可安装的APK。他们基本上在安卓牛轧糖上工作,但有些功能不工作或看起来有点不稳定

很高兴看到谷歌再次开发SL4A

因此,我尝试从Android Nougat的版本安装新的sl4a 7.0。我从sl4a.apk得到了源代码

问题

sl4a 7.0不适用于当前的pythonfordroid解释器-r26。当我执行SL4A时 在设备上,崩溃正在发生

这里是logcat

AndroidRuntime: FATAL EXCEPTION: pool-1-thread-1
AndroidRuntime: Process: com.googlecode.android_scripting, PID: 22750
AndroidRuntime: java.lang.RuntimeException: java.lang.RuntimeException: Binary /data/user/0/com.googlecode.pythonforandroid/files/python/bin/python does not exist!
AndroidRuntime:     at com.googlecode.android_scripting.SingleThreadExecutor.afterExecute(SingleThreadExecutor.java:32)
AndroidRuntime:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1141)
AndroidRuntime:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
AndroidRuntime:     at java.lang.Thread.run(Thread.java:761)
AndroidRuntime: Caused by: java.lang.RuntimeException: Binary /data/user/0/com.googlecode.pythonforandroid/files/python/bin/python does not exist!
AndroidRuntime:     at com.googlecode.android_scripting.interpreter.Interpreter.setBinary(Interpreter.java:118)
AndroidRuntime:     at com.googlecode.android_scripting.interpreter.Interpreter.buildFromMaps(Interpreter.java:73)
AndroidRuntime:     at com.googlecode.android_scripting.interpreter.InterpreterConfiguration$InterpreterListener.buildInterpreter(InterpreterConfiguration.java:173)
AndroidRuntime:     at com.googlecode.android_scripting.interpreter.InterpreterConfiguration$InterpreterListener.addInterpreter(InterpreterConfiguration.java:119)
AndroidRuntime:     at com.googlecode.android_scripting.interpreter.InterpreterConfiguration$InterpreterListener.-wrap0(InterpreterConfiguration.java)
AndroidRuntime:     at com.googlecode.android_scripting.interpreter.InterpreterConfiguration$InterpreterListener$2.run(InterpreterConfiguration.java:101)
AndroidRuntime:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
实际上,python位于确切的目录中。此问题看起来像是权限问题。 有人帮我解决这个问题吗