Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml #291

Open
fengzhongdeyan62912 opened this issue Jul 18, 2024 · 0 comments

Comments

@fengzhongdeyan62912
Copy link

跑的时候有这样的报错:
java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:231)
at java.io.FileInputStream.(FileInputStream.java:165)
at java.io.FileInputStream.(FileInputStream.java:112)
at java.io.FileReader.(FileReader.java:58)
at miui.content.res.ThemeCompatibilityLoader.getVersion(ThemeCompatibilityLoader.java:108)
at miui.content.res.ThemeCompatibilityLoader.getConfigDocumentTree(ThemeCompatibilityLoader.java:126)
at miui.content.res.ThemeCompatibilityLoader.loadConfig(ThemeCompatibilityLoader.java:59)
at miui.content.res.ThemeCompatibility.(ThemeCompatibility.java:31)
at miui.content.res.ThemeCompatibility.isThemeEnabled(ThemeCompatibility.java:111)
at android.content.res.MiuiResourcesImpl.(MiuiResourcesImpl.java:41)
at android.content.res.Resources.(Resources.java:267)
at android.content.res.MiuiResources.(MiuiResources.java:49)
at android.content.res.Resources.getSystem(Resources.java:190)
at android.app.ActivityManager.isHighEndGfx(ActivityManager.java:966)
at android.app.ActivityThread.systemMain(ActivityThread.java:6775)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.commands.monkey.utils.ContextUtils.getSystemContext(ContextUtils.java:46)
at com.android.commands.monkey.Monkey.getMainApps(Monkey.java:1294)
at com.android.commands.monkey.Monkey.run(Monkey.java:722)
at com.android.commands.monkey.Monkey.main(Monkey.java:458)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:388)

想问一下目前有方法处理吗 这个有影响吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant