导入Vitamio库后libBaiduMapSDK找不到

来源:互联网 发布:nba总决赛球员数据 编辑:程序博客网 时间:2024/04/29 19:33

bug描述

项目中用到了百度定位sdk,在导入vitamio库前是没有问题的,导入vitamio库后出现了如下bug

MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport

java.lang.UnsatisfiedLinkError: com.android.tools.fd.runtime.IncrementalClassLoader$DelegateClassLoader

No implementation found for java.lang.String com.thinkland.sdk.android.execute.LibJuheSDK.Encrypt

Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.lbsapi.auth.d) that doesn’t come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any “-target” type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.

试了各种方法,都没有用,搜索看到有人说把instant run关掉可以解决,于是关了,没有用,出现下面的bug

couldn’t find “libBaiduMapSDK_v3_2_0_3.so

但是libBaiduMapSDK在jniLibs/armeabi下存在

http://blog.csdn.net/jbb0403/article/details/41748085

https://liuzhichao.com/p/1463.html

需要在armeabi和armeabi-v7a下都放一份才行

可能是因为导入vitamio后,vitamio中有armeabi-v7a,所以libBaiduMapSDK也需要放到armeabi-v7a下

0 0