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/data/br.com.auttar.auttarmobile/files/instant-run/dex/slice-com.google.android.gms-play-services-gcm-8.3.0_22bae0a13164f788de113fe2ab4647903157f661-classes.dex)

  1. 0

    ANDROID - FATAL EXCEPTION: IntentService[] [..] java.lang.IncompatibleClassChangeError [..]

    Stack Overflow | 4 months ago | Leonardo Lacerda
    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/data/br.com.auttar.auttarmobile/files/instant-run/dex/slice-com.google.android.gms-play-services-gcm-8.3.0_22bae0a13164f788de113fe2ab4647903157f661-classes.dex)
  2. 0

    java.lang.IncompatibleClassChangeError in Push Notification

    Stack Overflow | 5 months ago | Vikash Kumar
    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

    GCM in Android Studio

    Stack Overflow | 5 months ago | Adrián Sánchez
    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

    Error IntentService useing gcm

    Stack Overflow | 4 months ago | MansoorJafari
    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/data/yadbegir.jfa.mansoor.com.yadbegir/files/instant-run/dex/slice-realm-optional-api_82aa9dab5d973e04cc1850ef40d4e3808a75f9c1-classes.dex)

  1. Arne Jans 1 times, last 3 months ago
  2. brunosatriani 1 times, last 5 months ago
  3. Diogo Jaym 2 times, last 5 months ago
  4. Stefan Braune 10 times, last 6 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/data/br.com.auttar.auttarmobile/files/instant-run/dex/slice-com.google.android.gms-play-services-gcm-8.3.0_22bae0a13164f788de113fe2ab4647903157f661-classes.dex)

    at com.google.android.gms.iid.zzd.zzdL()
  2. com.google.android
    InstanceID.getInstance
    1. com.google.android.gms.iid.zzd.zzdL(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. br.com.pkg
    GCMRegistrationIntentService.onHandleIntent
    1. br.com.pkg.project.tools.util.gcm.GCMRegistrationIntentService.registerGCM(GCMRegistrationIntentService.java:37)
    2. br.com.pkg.project.tools.util.gcm.GCMRegistrationIntentService.onHandleIntent(GCMRegistrationIntentService.java:29)
    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:148)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames