I need to run on Android python, android version is 2.3, kernel version is 2.6.35.
But after installing the SL4A and PythonforAndroid, click Run error occurs:
The application SL4A (process com.googlecode.android_scripting) has stopped unexpectly. Please try again.
Print out the logcat found the following errors:
V/sl4a.SimpleServer: 195 (2028): Bound to 127.0.0.1:55194
1020 I / ActivityManager (1527): Starting: Intent {flg = 0x10000000 cmp = com.googlecode.android_scripting / org.connectbot.ConsoleActivity (has extras)} from pid 2028
1021 V/sl4a.Process: 115 (2028): Executing / data / data / com.googlecode.pythonforandroid / files / python / bin / python with arguments [] and with environment {ANDROID_SOCKET_zygote = 9, AP_ HANDSHAKE = 24febbf5-b327- 46e7-88ad-318dcff98ec2, ANDROID_BOOTLOGO = 1, EXTERNAL_STORAGE = / mnt / sdcard, ANDROID_ASSETS = / system / app, PATH = / system / sbin :/ system / bin :/ system / xbin :/ sb in :/ vendor / bin, ASEC_MOUNTPOINT = / mnt / asec, PYTHONPATH = / mnt / sdcard / com.googlecode.pythonforandroid / extras / python, AP_HOST = 127.0.0.1, TEMP = / mnt / sdcard / com.googlecode.pythonfo randroid / extras / python / tmp, BOOTCLASSPATH = / system / framework / core.jar :/ system / framework / bouncycastle.jar :/ system / framework / ext.jar :/ system / framework / framework.jar :/ system / fr amework / android.policy.jar: / system / framework / services.jar :/ system / framework / core-junit.jar :/ system / framework / android.supl.jar, AP_PORT = 55194, ANDROID_DATA = / data, PYTHONHOME = / data / data / com.googlecode .pythonforandroid / files / python, LD_LIBRARY_PATH = / system / lib :/ vendor / lib /, ANDROID_ROOT = / system, ANDROID_PROPERTY_WORKSPACE = 8,32768}
1022 W / dalvikvm (2028): Exception Ljava / lang / UnsatisfiedLinkError; thrown while initializing Lcom / googlecode / android_scripting / Exec;
1023 D / AndroidRuntime (2028): Shutting down VM
1024 W / dalvikvm (2028): threadid = 1: thread exiting with uncaught exception (group = 0xb38d8520)
1025 E / AndroidRuntime (2028): FATAL EXCEPTION: main
1026 E / AndroidRuntime (2028): java.lang.ExceptionInInitializerError
1027 E / AndroidRuntime (2028): at com.googlecode.android_scripting.Process.start (Process.java: 123)
1028 E / AndroidRuntime (2028): at com.googlecode.android_scripting.interpreter.InterpreterProcess.start (InterpreterProcess.java: 91)
1029 E / AndroidRuntime (2028): at com.googlecode.android_scripting.ScriptLauncher.launchInterpreter (ScriptLauncher.java: 75)
1030 E / AndroidRuntime (2028): at com.googlecode.android_scripting.activity.ScriptingLayerService.launchInterpreter (ScriptingLayerService.java: 239)
1031 E / AndroidRuntime (2028): at com.googlecode.android_scripting.activity.ScriptingLayerService.onStart (ScriptingLayerService.java: 191)
1032 E / AndroidRuntime (2028): at android.app.Service.onStartCommand (Service.java: 428)
1033 E / AndroidRuntime (2028): at android.app.ActivityThread.handleServiceArgs (ActivityThread.java: 2040)
1034 E / AndroidRuntime (2028): at android.app.ActivityThread.access $ 2800 (ActivityThread.java: 118)
1035 E / AndroidRuntime (2028): at android.app.ActivityThread $ H.handleMessage (ActivityThread.java: 995)
1036 E / AndroidRuntime (2028): at android.os.Handler.dispatchMessage (Handler.java: 99)
1037 E / AndroidRuntime (2028): at android.os.Looper.loop (Looper.java: 130)
1038 E / AndroidRuntime (2028): at android.app.ActivityThread.main (ActivityThread.java: 3692)
1039 E / AndroidRuntime (2028): at java.lang.reflect.Method.invokeNative (Native Method)
1040 E / AndroidRuntime (2028): at java.lang.reflect.Method.invoke (Method.java: 507)
1041 E / AndroidRuntime (2028): at com.android.internal.os.ZygoteInit $ MethodAndArgsCaller.run (ZygoteInit.java: 839)
1042 E / AndroidRuntime (2028): at com.android.internal.os.ZygoteInit.main (ZygoteInit.java: 597)
1043 E / AndroidRuntime (2028): at dalvik.system.NativeStart.main (Native Method)
1044 E / AndroidRuntime (2028): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load com_googlecode_android_scripting_Exec: findLibrary returned null
1045 E / AndroidRuntime (2028): at java.lang.Runtime.loadLibrary (Runtime.java: 429)
1046 E / AndroidRuntime (2028): at java.lang.System.loadLibrary (System.java: 554)
1047 E / AndroidRuntime (2028): at com.googlecode.android_scripting.Exec
1048 E / AndroidRuntime (2028): ... 17 more
1049 W / ActivityManager (1527): Activity pause timeout for HistoryRecord {b416c878 com.googlecode.android_scripting / .activity.ScriptManager}
1050 I / Process (2028): Sending signal PID:. 2028 SIG: 9
1051 I / WindowManager (1527): WIN DEATH: Window {b40b4ba0 com.googlecode.android_scripting / com.googlecode.android_scripting.activity.ScriptManager paused = false}
1052 I / ActivityManager (1527): Process com.googlecode.android_scripting (pid 2028) has died
.1053 W / ActivityManager (1527): Service crashed 2 times, stopping: ServiceRecord {b417ee18 com.googlecode.android_scripting / .activity.ScriptingLayerService}
Which know what reason? Thank you!
Reply:
Online, ah! !
Reply:
Have a look at the library on your machine, there must be wrong!
/ Data / data / com.googlecode.android_scripting / lib / libcom_googlecode_android_scripting_Exec.so
No comments:
Post a Comment