Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

android-python installs but cannot launch doInBackground() #36

Open
GoogleCodeExporter opened this issue Apr 5, 2015 · 0 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.the android-python installs without problem in emulator of android 4.4.2 
(kik-kat)in win7 64bit but throws an error

I tried even the apk from the project could not work 

the android-pyhton27 
cannot show the toast as expected

the logcat error is as follows
03-03 13:23:07.151: E/AndroidRuntime(3421): FATAL EXCEPTION: AsyncTask #1
03-03 13:23:07.151: E/AndroidRuntime(3421): Process: com.android.python32, PID: 
3421
03-03 13:23:07.151: E/AndroidRuntime(3421): java.lang.RuntimeException: An 
error occured while executing doInBackground()
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
android.os.AsyncTask$3.done(AsyncTask.java:300)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.util.concurrent.FutureTask.setException(FutureTask.java:222)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.util.concurrent.FutureTask.run(FutureTask.java:242)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.lang.Thread.run(Thread.java:841)
03-03 13:23:07.151: E/AndroidRuntime(3421): Caused by: 
java.lang.UnsatisfiedLinkError: Couldn't load 
com_googlecode_android_scripting_Exec from loader 
dalvik.system.PathClassLoader[DexPathList[[zip file 
"/data/app/com.android.python32-1.apk"],nativeLibraryDirectories=[/data/app-lib/
com.android.python32-1, /system/lib]]]: findLibrary returned null
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.lang.Runtime.loadLibrary(Runtime.java:358)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.lang.System.loadLibrary(System.java:526)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.googlecode.android_scripting.Exec.<clinit>(Exec.java:68)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.android.python32.process.Process.start(Process.java:137)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.android.python32.process.InterpreterProcess.start(InterpreterProcess.java:13
8)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.android.python32.process.MyScriptProcess.launchScript(MyScriptProcess.java:6
1)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.android.python32.BackgroundScriptService.startMyMain(BackgroundScriptService
.java:182)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.android.python32.BackgroundScriptService.access$0(BackgroundScriptService.ja
va:156)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.android.python32.BackgroundScriptService$startMyAsyncTask.doInBackground(Bac
kgroundScriptService.java:138)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
com.android.python32.BackgroundScriptService$startMyAsyncTask.doInBackground(Bac
kgroundScriptService.java:1)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
android.os.AsyncTask$2.call(AsyncTask.java:288)
03-03 13:23:07.151: E/AndroidRuntime(3421):     at 
java.util.concurrent.FutureTask.run(FutureTask.java:237)
03-03 13:23:07.151: E/AndroidRuntime(3421):     ... 3 more



Original issue reported on code.google.com by nduat...@gmail.com on 3 Mar 2014 at 10:27

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant