更新依赖关系后,我在运行后得到了app not responding我在logcat中得到这个错误



我的依赖:

dependencies {


            compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'


    compile 'com.android.support:appcompat-v7:25.2.0'
    compile 'com.google.android.gms:play-services:10.2.0'

    compile 'com.mcxiaoke.volley:library:1.0.19'
    compile 'com.android.support:multidex:1.0.1'
    compile "com.android.support:support-v4:25.2.0"
    compile 'com.android.support:design:25.2.0'
    compile 'com.google.maps:google-maps-services:0.1.17'

    compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.6'
}

最佳答案

我遇到了同样的问题,但是从android工具安装了Google Play服务后,它消失了。

因此,看来您需要再次清理并重建项目才能安装此服务,或者只需使用“工具”标签下的Android SDK管理器从android studio下载它即可。

08-18 04:22
查看更多