导入Vitamio库后libBaiduMapSDK找不到
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下
總結
以上是生活随笔為你收集整理的导入Vitamio库后libBaiduMapSDK找不到的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ImageView scaleType
- 下一篇: Android RecyclerView