java.lang.IncompatibleClassChangeError: The method 'java.io.Fileandroid.suppo rt.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/<app_name>-1/base.apk)

Stack Overflow | pagarwal | 6 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

    Android app crashing while starting

    Stack Overflow | 6 months ago | pagarwal
    java.lang.IncompatibleClassChangeError: The method 'java.io.Fileandroid.suppo rt.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/<app_name>-1/base.apk)
  2. 0

    IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM

    Stack Overflow | 10 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 | 10 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 | 10 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 | 10 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 7 months ago
  2. brunosatriani 1 times, last 9 months ago
  3. Diogo Jaym 2 times, last 9 months ago
  4. Stefan Braune 10 times, last 10 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.Fileandroid.suppo rt.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/<app_name>-1/base.apk)

    at com.google.android.gms.iid.zzd.zzde()
  2. com.google.android
    InstanceID.getInstance
    1. com.google.android.gms.iid.zzd.zzde(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