java 不支持的类:com.mediatek.common.telephony.IOnlyOwnerSimSupport
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/42658167/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport
提问by Neo Algeria
After updating dependencies I got app not responding
after running
and I got this error in logcat
更新依赖项app not responding
后,我在运行后得到了这个错误,在 logcat 中
E/MPlugin: Unsupported class: com.mediatek.common.telephony.IOnlyOwnerSimSupport E/MediaPlayer: Should have subtitle controller already set
E/MPlugin:不支持的类:com.mediatek.common.telephony.IOnlyOwnerSimSupport E/MediaPlayer:应该已经设置了字幕控制器
My dependencies :
我的依赖:
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'
}
回答by Hany Sakr
I faced the same issue, but it is disappeared after installing the google play service from the android tools.
我遇到了同样的问题,但是在从 android 工具安装 google play 服务后它就消失了。
So it seems you need to clean and rebuild your project again to install this service, or just download it from android studio using the Android SDK Manager under Tools tab.
因此,您似乎需要再次清理并重建您的项目以安装此服务,或者只需使用“工具”选项卡下的 Android SDK 管理器从 android studio 下载它。