Android地图SDK无法支持64位平台

来源:互联网 发布:网络硬盘录像机哪个好 编辑:程序博客网 时间:2024/06/14 16:41

错误日志

dlopen("/data/app/com.zj.baidu-1/lib/arm64/liblocSDK5.so", RTLD_LAZY) failed: dlopen failed: "/data/app/com.ce.baidu-1/lib/arm64/liblocSDK5.so" is 32-bit instead of 64-bit    getNextBuffer, get null buffer

  java.lang.NullPointerException: Attempt to read from field 'com.baidu.mapapi.model.LatLng com.baidu.mapapi.search.core.PoiInfo.location' on a null object reference

错误分析:

32位在64位上是可以兼容运行的,此外专门的 64位适配工作我们正在进行中,下个版本会向大家推出的 ,感谢支持!(百度回复)

解决方案:

保留了lib下的2个文件夹 armeabi和armeabi-v7a,就好了。删除arm64-v8a即可

0 0