java.lang.RuntimeException: Unable to start receiver com.antfortune.freeline.FreelineReceiver: java.lang.IllegalStateException: java.lang.IllegalStateException: Could not create new AssetManager

GitHub | eritpchy | 4 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

    GitHub comment 203#253989667

    GitHub | 4 months ago | eritpchy
    java.lang.RuntimeException: Unable to start receiver com.antfortune.freeline.FreelineReceiver: java.lang.IllegalStateException: java.lang.IllegalStateException: Could not create new AssetManager

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Could not create new AssetManager

      at com.antfortune.freeline.resources.MonkeyPatcher.monkeyPatchExistingResources()
    2. com.antfortune.freeline
      FreelineReceiver.onReceive
      1. com.antfortune.freeline.resources.MonkeyPatcher.monkeyPatchExistingResources(MonkeyPatcher.java:286)
      2. com.antfortune.freeline.gradle.GradleDynamic.applyDynamicRes(GradleDynamic.java:32)
      3. com.antfortune.freeline.FreelineCore.applyDynamicRes(FreelineCore.java:304)
      4. com.antfortune.freeline.FreelineCore.injectResources(FreelineCore.java:248)
      5. com.antfortune.freeline.FreelineCore.saveDynamicResInfo(FreelineCore.java:330)
      6. com.antfortune.freeline.FreelineReceiver.saveDynamicResInfo(FreelineReceiver.java:59)
      7. com.antfortune.freeline.FreelineReceiver.onReceive(FreelineReceiver.java:40)
      7 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.ActivityThread.handleReceiver(ActivityThread.java:2443)
      2. android.app.ActivityThread.access$1700(ActivityThread.java:135)
      3. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272)
      4. android.os.Handler.dispatchMessage(Handler.java:102)
      5. android.os.Looper.loop(Looper.java:136)
      6. android.app.ActivityThread.main(ActivityThread.java:5045)
      6 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame