运行appium时报错如图:Encountered internal error running command: Error: The instrumentation process cannot be initialized. Make sure the application under test does not crash and investigate the logcat output.
解决办法:
将 Desired Capabilities配置中的
"automationName": "UiAutomator1",改成 "automationName": "UiAutomator2"重启新启动 解决问题