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: open failed: ENOENT (No such file or directory) while adb shell uiautomator dump #101

Open
maoinbupt opened this issue Jan 12, 2025 · 1 comment

Comments

@maoinbupt
Copy link

Command execution failed: adb -s 5a3190a0 shell uiautomator dump /sdcard/6.xml

java.io.FileNotFoundException: /data/system/theme_config/theme_compatibility.xml: open failed: ENOENT (No such file or directory)
at libcore.io.IoBridge.open(IoBridge.java:492)
at java.io.FileInputStream.(FileInputStream.java:160)
at java.io.FileInputStream.(FileInputStream.java:115)
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:353)
at android.content.res.MiuiResources.(MiuiResources.java:49)
at android.content.res.Resources.getSystem(Resources.java:233)
at android.util.MiuiMultiWindowAdapter.(MiuiMultiWindowAdapter.java:83)
at android.view.Display.getSize(Display.java:725)
at com.android.commands.uiautomator.DumpCommand.run(DumpCommand.java:110)
at com.android.commands.uiautomator.Launcher.main(Launcher.java:83)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:463)
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
at libcore.io.Linux.open(Native Method)
at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
at libcore.io.IoBridge.open(IoBridge.java:478)
... 18 more

@maoinbupt
Copy link
Author

device: RedMi K40

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