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 'com.google.android.gms.iid.zzd' appears in /data/app/[...]-1/base.apk)

GitHub | khrizt | 5 months ago
  1. 0

    AppCompat 24 issue

    GitHub | 5 months ago | khrizt
    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 'com.google.android.gms.iid.zzd' appears in /data/app/[...]-1/base.apk)
  2. 0

    IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM

    Stack Overflow | 7 months ago | sonique
    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)
  3. 0

    Android UrbanAirship Crash in takeOff

    Stack Overflow | 7 months ago | Koerfer_P
    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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android Google Cloud Messaging (GCM) token generation crash after Firebase-related Google Play Services update

    Stack Overflow | 7 months ago | Stephen
    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)
  6. 0

    Need help dealing with a Fatal Exception caused by java.lang.IncompatibleClassChangeError

    Stack Overflow | 7 months ago | Brandon W
    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)

  1. Arne Jans 1 times, last 3 months ago
  2. brunosatriani 1 times, last 6 months ago
  3. Diogo Jaym 2 times, last 6 months ago
  4. Stefan Braune 10 times, last 7 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. 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 'com.google.android.gms.iid.zzd' appears in /data/app/[...]-1/base.apk)

    at com.google.android.gms.iid.zzd.zzeb()
  2. com.google.android
    InstanceID.getInstance
    1. com.google.android.gms.iid.zzd.zzeb(Unknown Source)
    2. com.google.android.gms.iid.zzd.<init>(Unknown Source)
    3. com.google.android.gms.iid.zzd.<init>(Unknown Source)
    4. com.google.android.gms.iid.InstanceID.zza(Unknown Source)
    5. com.google.android.gms.iid.InstanceID.getInstance(Unknown Source)
    5 frames
  3. package.services
    RegistrationIntentService.onHandleIntent
    1. package.services.RegistrationIntentService.onHandleIntent(RegistrationIntentService.java:43)
    1 frame
  4. Android Platform
    HandlerThread.run
    1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:148)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames