高德地图api使用过程出现崩溃

时间:2015-09-11 16:10:10   收藏:0   阅读:1255

java.lang.UnsatisfiedLinkError: Native method not found: com.autonavi.amap.mapcore.MapCore.nativeNewInstance:(Ljava/lang/String;)J at com.autonavi.amap.mapcore.MapCore.nativeNewInstance(Native Method) at com.autonavi.amap.mapcore.MapCore.(MapCore.java:62) at com.amap.api.mapcore.AMapDelegateImpGLSurfaceView.(AMapDelegateImpGLSurfaceView.java:345) at com.amap.api.mapcore.AMapDelegateImpGLSurfaceView.(AMapDelegateImpGLSurfaceView.java:307) at com.amap.api.mapcore.ai.a(MapFragmentDelegateImp.java:122) at com.amap.api.maps.MapView.onCreate(MapView.java:131)

===

跟大家分享一个东西一下: 我采用amap api进行开发的时候,里面只有armeabi提供的so库。 之前的版本地图显示正常。全部已读吴向东(polar) 后面加入友盟模块,加入的时候,增加了,出现崩溃。  分析了一下,原来加入友盟的时候,不小心误删除了定位的权限。

此外, 增加友盟模块的时候,友盟有x86, armeabi-v7a的库,但是amap api那里只有上传armeabi的路,结果导致了。

删除友盟的x86和armeab-v7a 后,问题解决。

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!