如果有人可以协助并指出正确的方向,那我将如何尝试从SQL中为我的SQL查询调用SQL的枚举值。
java.lang.IllegalStateException: UiAutomation not connected!
at android.app.UiAutomation.throwIfNotConnectedLocked(UiAutomation.java:1043)
at android.app.UiAutomation.waitForIdle(UiAutomation.java:647)
at android.support.test.uiautomator.r.a(QueryController.java:36)
at android.support.test.uiautomator.r.c(QueryController.java:32)
at android.support.test.uiautomator.r.a(QueryController.java:9)
at android.support.test.uiautomator.y.g(UiDevice.java:91)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorScreenStateBuilder.getCurrentActivity(UiAutomatorScreenStateBuilder.java:39)
at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorStateExtractor.getCurrentActivity(UiAutomatorStateExtractor.java:34)
at androidx.test.tools.crawler.platform.hybrid.HybridStateExtractor.getCurrentActivity(HybridStateExtractor.java:31)
at androidx.test.tools.crawler.controller.remote.RemotePlatform.handlePerformActionMessage(RemotePlatform.java:25)
at androidx.test.tools.crawler.controller.remote.RemotePlatform.access$300(RemotePlatform.java:91)
at androidx.test.tools.crawler.controller.remote.RemotePlatform$ControllerMessageHandler.handleMessage(RemotePlatform.java:8)
我的代码工作正常,我只是在尝试实现服务器旋转,但不知道如何进行枚举?