解决android 模拟器 BMapApiEngine_xxx library not found! 错误

日志提示:
 
D/BMapApiEngine_v1_3_5( 1450):  BMapApiEngine_v1_3_5 library not found!
D/BMapApiEngine_v1_3_5( 1450): Co uldn't load BMapApiEngine_v1_3_5 from loader dalvik.system.PathClassLoader[dexPath=/system/app/com.eshore.efilm_PK-si
gned.apk,libraryPath=/data/app-lib/com.eshore.efilm_PK-signed]: findLibrary returned null
W/dalvikvm( 1450):  No implementation found for native Lcom/baidu/mapapi/Mj;.initClass:(Ljava/lang/Object;I)I
W/System.err( 1450): java.lang.UnsatisfiedLinkError: Native method not found: com.baidu.mapapi.Mj.initClass:(Ljava/lang/Object;I)I
W/System.err( 1450):    at com.baidu.mapapi.Mj.initClass(Native Method)
W/System.err( 1450):    at com.baidu.mapapi.Mj.a(Unknown Source)
W/System.err( 1450):    at com.baidu.mapapi.BMapManager.init(Unknown Source)
W/System.err( 1450):    at com.eshore.efilm.EfilmApplication.onCreate(Unknown Source)
W/System.err( 1450):    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1000)
W/System.err( 1450):    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4391)
W/System.err( 1450):    at android.app.ActivityThread.access$1300(ActivityThread.java:141)
W/System.err( 1450):    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1294)
W/System.err( 1450):    at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err( 1450):    at android.os.Looper.loop(Looper.java:137)
W/System.err( 1450):    at android.app.ActivityThread.main(ActivityThread.java:5039)
W/System.err( 1450):    at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err( 1450):    at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err( 1450):    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
W/Trace   (  589): Unexpected value from nativeGetEnabledTags: 0
W/System.err( 1450):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
W/System.err( 1450):    at dalvik.system.NativeStart.main(Native Method)
W/ImageLoader( 1450): This method's call overlaps discCacheFileNameGenerator() method call
W/Trace   ( 1450): Unexpected value from nativeGetEnabledTags: 0
W/Trace   ( 1450): Unexpected value from nativeGetEnabledTags: 0
 
 
下载 BMapApiEngine_xxx.so 文件,  并复制到模拟器的/ system/lib  目录下即可
也可以放到项目本身的lib目录下
注意: 具体 BMapApiEngine_xxx 版本根据实际情况而定
 

你可能感兴趣的:(问题解决,Android)