java不支持的类:com。联发科。常见的电话。IOnlyOwnerSimSupport
在更新依赖项之后,我在运行 我在logcat中发现了这个错误
E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport E/MediaPlayer: Should have subtitle controller already set
我的依赖项:
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.安卓.support:appcompat-v7:25.2.0'
compile 'com.google.安卓.gms:play-services:10.2.0'
compile 'com.mcxiaoke.volley:library:1.0.19'
compile 'com.安卓.support:multidex:1.0.1'
compile "com.安卓.support:support-v4:25.2.0"
compile 'com.安卓.support:design:25.2.0'
compile 'com.google.maps:google-maps-services:0.1.17'
compile 'pl.droidsonroids.gif:安卓-gif-drawable:1.1.6'
}
# 1 楼答案
我也面临同样的问题,但在安卓工具上安装了谷歌游戏服务后,它就消失了
因此,似乎您需要再次清理和重建项目以安装此服务,或者使用“工具”选项卡下的android SDK管理器从android studio下载它