2017-03-07 45 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

首先確保你安裝了所有合適的依賴項,然後建立乾淨的。很多時候圖書館的不匹配導致了問題。 –