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)

GitHub | yond | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Unfortunately, application has stopped

    GitHub | 9 months ago | yond
    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

    Android UrbanAirship Crash in takeOff

    Stack Overflow | 11 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)
  3. 0

    Android Google Cloud Messaging (GCM) token generation crash after Firebase-related Google Play Services update

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

    Automated exception search integrated into your IDE

  5. 0

    Need help dealing with a Fatal Exception caused by java.lang.IncompatibleClassChangeError

    Stack Overflow | 11 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)
  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 'java.lang.reflect.ArtMethod' appears in /system/framework/core-libart.jar)

    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.dieam.reactnativepushnotification
    RNPushNotificationRegistrationService.onHandleIntent
    1. com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService.onHandleIntent(RNPushNotificationRegistrationService.java:20)
    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