Java – unsupported class: com mediatek. common. telephony. IOnlyOwnerSimSupport

After updating the dependencies, I did not respond after the application ran

My dependence:

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'
}

Solution

I encountered the same problem, but it disappeared after installing Google play service from Android tools

Therefore, it seems that you need to clean up and rebuild the project again to install this service, or just download it from Android studio using the Android SDK manager under the Android Tools tab

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>