android FATAL EXCEPTION java.lang.IllegalStateException:AssetManager已经完成了吗?

时间:2017-04-11 09:20:23

标签: android

当应用程序处于后台并且我在应用程序中没有服务时它会消耗殆尽!!

java.lang.IllegalStateException: AssetManager has been finalized!
   at android.content.res.AssetManager.setConfiguration(Native Method)
   at android.content.res.ResourcesImpl.updateConfiguration(ResourcesImpl.java:429)
   at android.app.ResourcesManager.applyConfigurationToResourcesLocked(ResourcesManager.java:978)
   at android.app.ActivityThread.handleConfigurationChanged(ActivityThread.java:5224)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1767)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:154)
   at android.app.ActivityThread.main(ActivityThread.java:6688)
   at java.lang.reflect.Method.invoke(Native Method)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)

0 个答案:

没有答案