2017-03-07 103 views
6

更新依赖后,我跑 后得到app not responding和我在logcat中得到这个错误不支持类:com.mediatek.common.telephony.IOnlyOwnerSimSupport

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

请分享可用于重现崩溃的代码或步骤,以及您使用的设备类型等更多细节。或者,您可能需要检查[GsmCellLocation](https://developer.android.com/reference/android/telephony/gsm/GsmCellLocation.html)以及此[GitHub帖子](https://github.com/CellularPrivacy/Android的IMSI捕捉探测器/问题/ 788)。 – Teyam

回答

5

我面临同样的问题,但它从Android工具安装谷歌播放服务后消失。

因此,您似乎需要重新清理并重新构建您的项目才能安装此服务,或者只需使用工具选项卡下的Android SDK管理器从android studio下载它。

+0

我有同样的问题,但这不适用于我的任何其他解决方案? –

+0

我也是。我无法解决这个问题。 –

+0

首先确保你安装了所有合适的依赖项,然后建立干净的。很多时候图书馆的不匹配导致了问题。 –