Android JNI以及打包so檔案到apk中
W/dalvikvm( 5177): threadid=12: thread exiting with uncaught exception (group=0x41566930)
E/AndroidRuntime( 5177): FATAL EXCEPTION: AsyncTask #3
E/AndroidRuntime( 5177): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 5177): at android.os.AsyncTask$3.done(AsyncTask.java:299)
E/AndroidRuntime( 5177): at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:352)
E/AndroidRuntime( 5177): at java.util.concurrent.FutureTask.setException(FutureTask.java:219)
E/AndroidRuntime( 5177): at java.util.concurrent.FutureTask.run(FutureTask.java:239)
E/AndroidRuntime( 5177): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
E/AndroidRuntime( 5177): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
E/AndroidRuntime( 5177): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
E/AndroidRuntime( 5177): at java.lang.Thread.run(Thread.java:856)
E/AndroidRuntime( 5177): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 5177): at com.xxx.util.UserbookUpdateManager.update(UserbookUpdateManager.java:394)
E/AndroidRuntime( 5177): at com.xxx.util.UserbookUpdateManager.doUpgrade(UserbookUpdateManager.java:283)
E/AndroidRuntime( 5177): at com.xxx.util.UserbookUpdate.update(UserbookUpdate.java:104)
E/AndroidRuntime( 5177): at com.xxx.util.UserbookUpdate.access$000(UserbookUpdate.java:15)
E/AndroidRuntime( 5177): at com.xxx.util.UserbookUpdate$1.doInBackground(UserbookUpdate.java:57)
E/AndroidRuntime( 5177): at com.xxx.util.UserbookUpdate$1.doInBackground(UserbookUpdate.java:54)
E/AndroidRuntime( 5177): at android.os.AsyncTask$2.call(AsyncTask.java:287)
E/AndroidRuntime( 5177): at java.util.concurrent.FutureTask.run(FutureTask.java:234)
E/AndroidRuntime( 5177): ... 4 more
E/AndroidRuntime( 5177): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load xxxbook_jni from loader dalvik.system.PathClassLoader[dexPath=/system/app/xxxbook.apk,libraryPath=/data/app-lib/xxxbook]: findLibrary returned null
E/AndroidRuntime( 5177): at java.lang.Runtime.loadLibrary(Runtime.java:365)
E/AndroidRuntime( 5177): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 5177): at com.xxx.util.Patcher.<clinit>(Patcher.java:32)
E/AndroidRuntime( 5177): ... 12 more
W/ActivityManager( 1171): Force finishing activity com.xxx/.ListActivity
V/PhoneStatusBar( 2411): setLightsOn(true)
I/RenderThread( 4536): RenderThread resumed