本文共 1166 字,大约阅读时间需要 3 分钟。
项目中用到了百度定位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下存在
需要在armeabi和armeabi-v7a下都放一份才行
可能是因为导入vitamio后,vitamio中有armeabi-v7a,所以libBaiduMapSDK也需要放到armeabi-v7a下
转载地址:http://lkukb.baihongyu.com/