当前位置:   article > 正文

pythonforandroid下载中文_SL4A、PythonForAndroid和Android 7.0 Noug

sl4a下载

SL4A:SL4A-r6.1.1臂-调试.apk在

PY4A:Python-调试.apk在

有sl4a-r6.1.1版本和python解释器r26版本的可安装apk。他们基本上在Android Nougat上运行,但是有些功能不工作或者看起来不稳定。在

很高兴看到谷歌又在开发SL4A。在

所以,我试图从Android Nougat的Android Nougat版本安装新的sl4a7.0。我从https://android.googlesource.com/platform/external/sl4a/获得源代码并生成sl4a.apk

问题sl4a 7.0 doesn't work with current PythonForAndroid interpreter - r26. When I execute SL4A

on device, crash is happening.

这里是logcatAndroidRuntime: 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位于确切的目录中。这个问题看起来像是权限问题。

有人帮我解决这个问题吗?在

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/寸_铁/article/detail/995350
推荐阅读
相关标签
  

闽ICP备14008679号