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/com.uncatcrea.googleanalytics-1/base.apk)

GitHub | lpointet | 10 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 189#229483239

    GitHub | 10 months ago | lpointet
    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/com.uncatcrea.googleanalytics-1/base.apk)
  2. 0

    GitHub comment 177#221302302

    GitHub | 11 months ago | shaders
    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

    Fatal exception (in GCMRegistrationService) on load on Android after SDK tools update

    GitHub | 11 months ago | pugwonk
    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/org.mycoast.mobile-1/base.apk)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 181#223552469

    GitHub | 11 months ago | pradip-Kachhadiya
    java.lang.IncompatibleClassChangeError: android.support.v4.content.ContextCompat
  6. 0

    FATAL EXCEPTION on AndroidRuntime: IntentService[GCMRegistrationService]

    GitHub | 11 months ago | elbidone
    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)
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/com.uncatcrea.googleanalytics-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. com.pushwoosh
    GCMRegistrationService.onHandleIntent
    1. com.pushwoosh.GCMRegistrationService.register(GCMRegistrationService.java:37)
    2. com.pushwoosh.GCMRegistrationService.onHandleIntent(GCMRegistrationService.java:106)
    2 frames
  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:152)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames