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 | gentjana | 4 months ago
  1. 0

    GitHub comment 24#237514558

    GitHub | 4 months ago | gentjana
    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

    Firebase API initialization failure. (java.lang.IncompatibleClassChangeError)

    GitHub | 6 months ago | iboylmz
    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

    Firebase api initialization failure Ionic Framework

    Stack Overflow | 6 months ago | Vishal Sh
    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.firebase.iid.zzg' appears in /data/app/todevs.com.collegemate-2/base.apk)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android UrbanAirship Crash in takeOff

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

    how fix bug with Firebase in android

    Stack Overflow | 4 months ago | Jaive Torres Pineda
    java.lang.reflect.InvocationTargetException

    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.firebase.iid.zzg.zzeC()
    2. com.google.firebase
      FirebaseMessaging.getInstance
      1. com.google.firebase.iid.zzg.zzeC(Unknown Source)
      2. com.google.firebase.iid.zzg.<init>(Unknown Source)
      3. com.google.firebase.iid.zzg.<init>(Unknown Source)
      4. com.google.firebase.iid.zzd.zzb(Unknown Source)
      5. com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)
      6. com.google.firebase.iid.FirebaseInstanceId.getInstance(Unknown Source)
      7. com.google.firebase.messaging.FirebaseMessaging.getInstance(Unknown Source)
      7 frames
    3. com.example.aneg2_000
      MainActivity.onCreate
      1. com.example.aneg2_000.firebasenotificationapp.MainActivity.onCreate(MainActivity.java:16)
      1 frame
    4. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5990)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
      5. android.app.ActivityThread.access$800(ActivityThread.java:151)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
      7. android.os.Handler.dispatchMessage(Handler.java:102)
      8. android.os.Looper.loop(Looper.java:135)
      9. android.app.ActivityThread.main(ActivityThread.java:5254)
      9 frames
    5. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    6. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
      2 frames