java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Fabric could not be initialized, API key missing from AndroidManifest.xml. Add the following tag to your Application element <meta-data android:name="io.fabric.ApiKey" android:value="YOUR_API_KEY"/>

Stack Overflow | John | 8 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

    Android VM reboot after application crashing on Android 6.0.0

    Stack Overflow | 8 months ago | John
    java.util.concurrent.ExecutionException: java.lang.IllegalArgumentException: Fabric could not be initialized, API key missing from AndroidManifest.xml. Add the following tag to your Application element <meta-data android:name="io.fabric.ApiKey" android:value="YOUR_API_KEY"/>

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Fabric could not be initialized, API key missing from AndroidManifest.xml. Add the following tag to your Application element <meta-data android:name="io.fabric.ApiKey" android:value="YOUR_API_KEY"/>

      at io.fabric.sdk.android.services.common.ApiKey.logErrorOrThrowException()
    2. io.fabric.sdk
      ApiKey.getValue
      1. io.fabric.sdk.android.services.common.ApiKey.logErrorOrThrowException(ApiKey.java:110)
      2. io.fabric.sdk.android.services.common.ApiKey.getValue(ApiKey.java:61)
      2 frames
    3. com.crashlytics.android
      CrashlyticsUncaughtExceptionHandler$7.call
      1. com.crashlytics.android.core.SessionDataWriter.getSessionAppOrgSize(SessionDataWriter.java:399)
      2. com.crashlytics.android.core.SessionDataWriter.getSessionAppSize(SessionDataWriter.java:388)
      3. com.crashlytics.android.core.SessionDataWriter.writeSessionApp(SessionDataWriter.java:71)
      4. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.writeSessionApp(CrashlyticsUncaughtExceptionHandler.java:882)
      5. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.doOpenSession(CrashlyticsUncaughtExceptionHandler.java:606)
      6. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.handleUncaughtException(CrashlyticsUncaughtExceptionHandler.java:301)
      7. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler.access$200(CrashlyticsUncaughtExceptionHandler.java:56)
      8. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$7.call(CrashlyticsUncaughtExceptionHandler.java:278)
      9. com.crashlytics.android.core.CrashlyticsUncaughtExceptionHandler$7.call(CrashlyticsUncaughtExceptionHandler.java:275)
      9 frames
    4. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
      2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
      3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
      3 frames
    5. io.fabric.sdk
      BackgroundPriorityRunnable.run
      1. io.fabric.sdk.android.services.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:75)
      2. io.fabric.sdk.android.services.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:30)
      2 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame