|
本帖最后由 佰锐科技-邵光清 于 2016-5-3 19:45 编辑
05-03 16:40:52.309 6248-6248/com.example.helloanychat I/art: Late-enabling -Xcheck:jni
05-03 16:40:52.329 6248-6248/com.example.helloanychat D/TidaProvider: TidaProvider()
05-03 16:40:52.419 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:52.899 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:52.929 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:52.959 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:52.989 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:53.029 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:53.259 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:53.289 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:53.319 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:53.349 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:53.379 6248-6248/com.example.helloanychat I/art: Adjust thread count for runtime dex2oat
05-03 16:40:53.539 6248-6248/com.example.helloanychat E/art: dlopen("/data/app/com.example.helloanychat-1/lib/arm64/libaudio_preprocessing.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.example.helloanychat-1/lib/arm64/libaudio_preprocessing.so" is 32-bit instead of 64-bit
05-03 16:40:53.539 6248-6248/com.example.helloanychat D/AndroidRuntime: Shutting down VM
05-03 16:40:53.539 6248-6248/com.example.helloanychat E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.helloanychat, PID: 6248
java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.example.helloanychat-1/lib/arm64/libaudio_preprocessing.so" is 32-bit instead of 64-bit
at java.lang.Runtime.loadLibrary(Runtime.java:371)
at java.lang.System.loadLibrary(System.java:988)
at com.bairuitech.anychat.AnyChatCoreSDK.<clinit>(AnyChatCoreSDK.java:700)
at com.example.helloanychat.MainActivity.InitSDK(MainActivity.java:126)
at com.example.helloanychat.MainActivity.onCreate(MainActivity.java:112)
at android.app.Activity.performCreate(Activity.java:6041)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1109)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2283)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2392)
at android.app.ActivityThread.access$800(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5273)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:908)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
05-03 16:40:53.559 6248-6248/com.example.helloanychat I/Process: Sending signal. PID: 6248 SIG: 9
出现上述问题,一般是在android 5.0以上、64位处理器设备,并且项目中存在arm64-v8a、armeabi两个目录;如果设备芯片支持ARMv8指令集,则会在arm64-v8a查找对应的库文件,所以只要将arm64-v8a删除,只保留armeabi目录即可解决上述问题。
|
|