安卓程序运行时闪退,是什么问题引起的

chenkai6 发布于 2016/04/15 12:39
阅读 269
收藏 0
04-15 12:32:53.408: E/AndroidRuntime(24055): FATAL EXCEPTION: main
04-15 12:32:53.408: E/AndroidRuntime(24055): Process: com.hengshuo.chengszj, PID: 24055
04-15 12:32:53.408: E/AndroidRuntime(24055): java.lang.UnsatisfiedLinkError: Native method not found: com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create:()J
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create(Native Method)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.baidu.platform.comjni.map.commonmemcache.a.a(Unknown Source)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.baidu.platform.comapi.e.c.b(Unknown Source)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.baidu.mapapi.a.c(Unknown Source)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.baidu.mapapi.SDKInitializer.initialize(Unknown Source)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.hengshuo.chengszj.activity.baidumap.DemoApplication.onCreate(DemoApplication.java:54)
04-15 12:32:53.408: E/AndroidRuntime(24055): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
04-15 12:32:53.408: E/AndroidRuntime(24055): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4361)
04-15 12:32:53.408: E/AndroidRuntime(24055): at android.app.ActivityThread.access$1500(ActivityThread.java:138)
04-15 12:32:53.408: E/AndroidRuntime(24055): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1259)
04-15 12:32:53.408: E/AndroidRuntime(24055): at android.os.Handler.dispatchMessage(Handler.java:102)
04-15 12:32:53.408: E/AndroidRuntime(24055): at android.os.Looper.loop(Looper.java:136)
04-15 12:32:53.408: E/AndroidRuntime(24055): at android.app.ActivityThread.main(ActivityThread.java:5034)
04-15 12:32:53.408: E/AndroidRuntime(24055): at java.lang.reflect.Method.invokeNative(Native Method)
04-15 12:32:53.408: E/AndroidRuntime(24055): at java.lang.reflect.Method.invoke(Method.java:515)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:807)
04-15 12:32:53.408: E/AndroidRuntime(24055): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:623)
04-15 12:32:53.408: E/AndroidRuntime(24055): at dalvik.system.NativeStart.main(Native Method)

以下是问题补充:

@chenkai6:用电脑上的模拟器可以运行,但是在真机上就出现以上的错误 (2016/04/15 15:35)
加载中
0
notreami
notreami

java.lang.UnsatisfiedLinkError: Native method not found: com.baidu.platform.comjni.map.commonmemcache.JNICommonMemCache.Create:()

哥们,百度地图是不是忘记放.so文件了

c
chenkai6
有放进去
0
色魔张大妈
色魔张大妈
jniLibs.srcDirs 设置了吗
c
chenkai6
我是用eclipse的,那是在哪设置
0
_龙的传人
_龙的传人
如果你有放so库,那估计是少了某些CPU架构的so库
c
chenkai6
那应该怎么弄
返回顶部
顶部