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)

wolfpaulus.com | 8 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

    Google Cloud Messages | Wolf Paulus

    wolfpaulus.com | 8 months ago
    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)
  2. 0

    Error GCM – Push Notificacion | PhoneGap Spain

    phonegapspain.com | 8 months ago
    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

    java.lang.IncompatibleClassChangeError in Push Notification

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

    Automated exception search integrated into your IDE

  5. 0

    GCM in Android Studio

    Stack Overflow | 10 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)
  6. 0

    Error IntentService useing gcm

    Stack Overflow | 9 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 8 months ago
  2. brunosatriani 1 times, last 10 months ago
  3. Diogo Jaym 2 times, last 10 months ago
  4. Stefan Braune 10 times, last 11 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 ‘java.lang.reflect.ArtMethod’ appears in /system/framework/core-libart.jar)

    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. tgv.com.ar
    MyGCMRegistrationIntentService.onHandleIntent
    1. tgv.com.ar.fioricliente.push.MyGCMRegistrationIntentService.onHandleIntent(MyGCMRegistrationIntentService.java:39)
    1 frame
  4. Android Platform
    HandlerThread.run
    1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:135)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames