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)

meteor.com | 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

    Error when trying to run mobile app using Android Studio - mobile - Meteor forums

    meteor.com | 10 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

    GCM Error - googleCloudMessaging.register

    Stack Overflow | 12 months ago | Diego Güizzo
    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

    UncaughtException: java.lang.IncompatibleClassChangeError

    Stack Overflow | 12 months ago | shailesh ojha
    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/com.dp.needdepartmentalstore/files/instant-run/dex/slice-com.google.android.gms-play-services-iid-9.0.0_e1052c945fd50ca8f379bb7d2402b9b1cd0dcbb4-classes.dex)
  4. Speed up your debug routine!

    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.zzeb()
    2. com.google.android
      InstanceIDListenerService.onStartCommand
      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)
      6. com.google.android.gms.iid.InstanceIDListenerService.zzp(Unknown Source)
      7. com.google.android.gms.iid.InstanceIDListenerService.onStartCommand(Unknown Source)
      7 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3307)
      2. android.app.ActivityThread.access$2200(ActivityThread.java:177)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1546)
      4. android.os.Handler.dispatchMessage(Handler.java:102)
      5. android.os.Looper.loop(Looper.java:145)
      6. android.app.ActivityThread.main(ActivityThread.java:5942)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)
      2 frames