android.content.res.Resources$NotFoundException: failed to redirect ResourcesImpl at android.app.ResourcesManager.redirectResourcesToNewImplLocked(ResourcesManager.java:1170) at android.app.ResourcesManager.appendLibAssetForMainAssetPath(ResourcesManager.java:1116) at com.didi.virtualapk.internal.ResourcesManager.createResourcesForN(ResourcesManager.java:180) at com.didi.virtualapk.internal.ResourcesManager.createResources(ResourcesManager.java:56) at com.didi.virtualapk.internal.LoadedPlugin.createResources(LoadedPlugin.java:104) at com.didi.virtualapk.internal.LoadedPlugin.<init>(LoadedPlugin.java:181) at com.didi.virtualapk.PluginManager.createLoadedPlugin(PluginManager.java:177) at com.didi.virtualapk.PluginManager.loadPlugin(PluginManager.java:318)
项目中有几个插件,加载插件A后,清空插件目录,然后 下载B,创建插件目录;报错;
android.content.res.Resources$NotFoundException: failed to redirect ResourcesImpl at android.app.ResourcesManager.redirectResourcesToNewImplLocked(ResourcesManager.java:1170) at android.app.ResourcesManager.appendLibAssetForMainAssetPath(ResourcesManager.java:1116) at com.didi.virtualapk.internal.ResourcesManager.createResourcesForN(ResourcesManager.java:180) at com.didi.virtualapk.internal.ResourcesManager.createResources(ResourcesManager.java:56) at com.didi.virtualapk.internal.LoadedPlugin.createResources(LoadedPlugin.java:104) at com.didi.virtualapk.internal.LoadedPlugin.<init>(LoadedPlugin.java:181) at com.didi.virtualapk.PluginManager.createLoadedPlugin(PluginManager.java:177) at com.didi.virtualapk.PluginManager.loadPlugin(PluginManager.java:318)