MyMap保持停止(Android Studio)

时间:2018-11-22 16:37:32

标签: java android android-studio

当我打开MyMap时,MyMap停止工作,我在android studio上进行编码,并将nexus 5用于avd设备,请帮助我解决问题 这是我的logcat

    2018-11-22 23:19:25.416 2389-2389/? E/adbd: failed to connect to socket 'localabstract:com.example.asusrog.mymap': Connection refused
2018-11-22 23:19:29.321 1727-2209/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2018-11-22 23:19:29.462 8049-8072/com.example.asusrog.mymap E/AndroidRuntime: FATAL EXCEPTION: Thread-6
    Process: com.example.asusrog.mymap, PID: 8049
    java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
        at fa.b(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):3)
        at ez.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):3)
        at fb.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):15)
        at com.google.maps.api.android.lib6.drd.al.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):6)
        at ee.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):21)
        at ee.run(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):8)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000000d/MapsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000000d/MapsDynamite.apk!/lib/x86, /system/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@14574084@14.5.74 (100700-219897028):4)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at fa.b(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):3) 
        at ez.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):3) 
        at fb.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):15) 
        at com.google.maps.api.android.lib6.drd.al.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):6) 
        at ee.a(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):21) 
        at ee.run(:com.google.android.gms.dynamite_mapsdynamite@14574084@14.5.74 (100700-219897028):8) 
2018-11-22 23:19:29.521 1727-1742/? E/SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
2018-11-22 23:19:31.588 1727-1742/? E/IPCThreadState: binder thread pool (4 threads) starved for 1577 ms
2018-11-22 23:19:31.932 8049-8049/com.example.asusrog.mymap E/SchedPolicy: set_timerslack_ns write failed: Operation not permitted
2018-11-22 23:19:35.122 1793-1793/? E/netmgr: Failed to open QEMU pipe 'qemud:network': Invalid argument
2018-11-22 23:19:35.122 1793-1793/? E/netmgr: WifiForwarder unable to open QEMU pipe: Invalid argument
2018-11-22 23:19:43.656 1886-1900/? E/memtrack: Couldn't load memtrack module
2018-11-22 23:19:44.357 1740-1773/? E/storaged: getDiskStats failed with result NOT_SUPPORTED and size 0
2018-11-22 23:19:53.717 1886-1900/? E/memtrack: Couldn't load memtrack module
2018-11-22 23:20:00.002 1886-1900/? E/memtrack: Couldn't load memtrack module

0 个答案:

没有答案