1.Error report screenshot
After Android 8, the UI Automator of the SDK is opened directly, and the machine interface information cannot be intercepted.
It is recommended that you can use the following methods to intercept manually
2.Solutions
1. Intercept the uix file
adb shell uiautomator dump /sdcard/ sc.uix
adb pull /sdcard/ sc.uix
Note: the new mobile address is changed to/data/local/TMP/*. Uix
2. Screenshot
adb shell screencap -p /sdcard/ sc.png
adb pull /sdcard/ sc.png
3. Open the uiautomatorviewer.bat , import the screenshot and resource file obtained from the machine
3、 Screenshot after solution
Read More:
- [Solved] java.lang.reflect.InaccessibleObjectException: Unable to make protected java.net.http.HttpRequest()…
- [Solved] Error: exception: java.lang.reflect.InvocationTargetException: null
- Java.lang.AbstractMethodError: org.mybatis.spring.transaction.SpringManagedTransaction.getTimeout()Ljava/lang/Integer; error resolution
- Hive ERROR Failed with exception java.io.IOException:java.lang.IllegalArgumentException
- Idea Error: java: java.lang.OutOfMemoryError: GC overhead limit exceeded
- Error during job, obtaining debugging information [How to Solve]
- [Solved] Response Export error on submit request on future invoke, java.lang.OutOfMemoryError: Java heap space
- [Solved] jhat Analyzes dump File Error: java.lang.OutOfMemoryError
- Spark Error: java.lang.StackOverflowError [How to Solve]
- [Solved] Hadoop error java.lang.nosuchmethoderror
- [Android Error] java.lang.RuntimeException: An error occurred while executing doInBackground()
- [Solved] Wwagger error: java.lang.NumberFormatException: For input string: ““
- JPA @ManyToMany java.lang.StackOverflowError: null [How to Solve]
- [Solved] Request processing failed; nested exception is java.lang.NullPointerException
- [Solved] java.lang.IllegalStateException: Cannot get a STRING value from a NUMERIC cell
- [Solved] Non-fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library “libmmkv.so“ not found
- Tomcat startup error: java.lang.NoClassDefFoundError
- [Solved] JMeter Server Command line pressure measurement: Error in NonGUIDriver java.lang.IllegalArgumentException
- [Solved] Weblogic startup error: java.lang.NoClassDefFoundError