以下代码使我很烦。 Ive在没有其他IDE的麻烦的情况下完成了这项工作
((AndroidDriver)appDriver).startactivity(new activity("packageName","packageactivity.itt.gui.ZoneWelcomeactivity"))
完全错误org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: io.appium.uiautomator2.common.exceptions.UiAutomator2Exception: java.lang.IllegalArgumentException: Namespace with prefix 'packageName' has not been declared.
我需要在设备上的2个应用之间切换,而我知道这是唯一的方法吗?