java.lang.RuntimeException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via GitHub by eritpchy
    ,
  • via GitHub by qsyj
    ,
  • Stack trace

    • java.lang.RuntimeException: Unable to start receiver com.antfortune.freeline.FreelineReceiver: java.lang.IllegalStateException: java.lang.IllegalStateException: Could not create new AssetManager at android.app.ActivityThread.handleReceiver(ActivityThread.java:2450) at android.app.ActivityThread.access$1700(ActivityThread.java:135) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1272) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5045) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IllegalStateException: java.lang.IllegalStateException: Could not create new AssetManager at com.antfortune.freeline.resources.MonkeyPatcher.monkeyPatchExistingResources(MonkeyPatcher.java:394) at com.antfortune.freeline.gradle.GradleDynamic.applyDynamicRes(GradleDynamic.java:32) at com.antfortune.freeline.FreelineCore.applyDynamicRes(FreelineCore.java:304) at com.antfortune.freeline.FreelineCore.injectResources(FreelineCore.java:248) at com.antfortune.freeline.FreelineCore.saveDynamicResInfo(FreelineCore.java:330) at com.antfortune.freeline.FreelineReceiver.saveDynamicResInfo(FreelineReceiver.java:59) at com.antfortune.freeline.FreelineReceiver.onReceive(FreelineReceiver.java:40) at android.app.ActivityThread.handleReceiver(ActivityThread.java:2443) ... 10 more Caused by: java.lang.IllegalStateException: Could not create new AssetManager at com.antfortune.freeline.resources.MonkeyPatcher.monkeyPatchExistingResources(MonkeyPatcher.java:286) ... 17 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.