在更新依赖项之后,我在运行后得到了app not responding,并且在logcat中得到了这个错误。
E/MPlugin:不支持的类: com.mediatek.common.telephony.IOnlyOwnerSimSupport E/MediaPlayer:应该已经设置了字幕控制器
我的依赖关系:
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'
}发布于 2017-06-29 10:51:10
我也面临着同样的问题,但是在从android工具上安装了google服务之后,这个问题就消失了。
因此,您似乎需要再次清理和重新构建您的项目来安装此服务,或者只需使用在Tools选项卡下下载它。
https://stackoverflow.com/questions/42658167
复制相似问题