Open typxxi opened 4 years ago
The error is harmless (#994).
without the android keys in the windows image to control the phone like home, list of open apps and back ...
https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#mouse-and-keyboard-do-not-work
Environment
I got an error if i start from the windows commandline or from explorer scrcpy.exe
C:\Users\typxxi\Downloads\INSTALLER\scrcpy>scrcpy.exe INFO: scrcpy 1.12.1 <https://github.com/Genymobile/scrcpy> C:\Users\typxxi\Downloads\INSTALLER\sc...shed. 1.6 MB/s (26202 bytes in 0.015s) 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:496) at java.io.FileInputStream.<init>(FileInputStream.java:159) at java.io.FileInputStream.<init>(FileInputStream.java:115) at java.io.FileReader.<init>(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.<clinit>(ThemeCompatibility.java:31) at miui.content.res.ThemeCompatibility.isThemeEnabled(ThemeCompatibility.java:111) at android.content.res.MiuiResourcesImpl.<clinit>(MiuiResourcesImpl.java:41) at android.content.res.Resources.<init>(Resources.java:283) at android.content.res.MiuiResources.<init>(MiuiResources.java:49) at android.content.res.Resources.getSystem(Resources.java:204) at android.app.LoadedApk.<init>(LoadedApk.java:235) at android.app.ContextImpl.createSystemContext(ContextImpl.java:2430) at android.app.ActivityThread.getSystemContext(ActivityThread.java:2427) at java.lang.reflect.Method.invoke(Native Method) at com.genymobile.scrcpy.Workarounds.fillAppInfo(Workarounds.java:66) at com.genymobile.scrcpy.ScreenEncoder.streamScreen(ScreenEncoder.java:56) at com.genymobile.scrcpy.Server.scrcpy(Server.java:34) at com.genymobile.scrcpy.Server.main(Server.java:163) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:380) 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:167) at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) at libcore.io.IoBridge.open(IoBridge.java:482) ... 22 more INFO: Initial texture: 1080x2160
From there it seems to work but only with USB connection and without the android keys in the windows image to control the phone like home, list of open apps and back ...I do not know if that is a result of the errors above that appeared from the very first beginning. I could not find a setup too and am not sure if it exists or has to be done by commandline operations or parameters.
Thanks