15
更新到Android Build Tools 25.1.6 GCM / FCM后出现IncompatibleClassChangeError
自从我更新到Android SDK Tools 25.1.6和Android Support Repository 32.0.0(今天上午)以来,出现以下错误,我没有更改代码中的任何内容,并且仍在我的同事计算机上正常工作(Android SDK Tools 25.1.1 + Android支持存储库30.0.0)。 java.lang.IncompatibleClassChangeError: The method 'java.io.File android.support.v4.content.ContextCompat.getNoBackupFilesDir(android.content.Context)' was expected to be of type virtual but instead was found to be of type direct (declaration of 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar) at com.google.android.gms.iid.zzd.zzeb(Unknown Source) at com.google.android.gms.iid.zzd.<init>(Unknown Source) at com.google.android.gms.iid.zzd.<init>(Unknown Source) at com.google.android.gms.iid.InstanceID.zza(Unknown …