{
“desiredCapabilities”:{
“appActivity”:"./view.WelcomeActivityAlias",
“appPackage”:“com.xueqiu.android”,
“automationName”:“UiAutomator2”,
“platformName”:“android”,
“udid”:“emulator-5554”,
“deviceName”:“xxxx”
},
“capabilities”:{
“firstMatch”:[
{
“appium:appActivity”:"./view.WelcomeActivityAlias",
“appium:appPackage”:“com.xueqiu.android”,
“appium:automationName”:“UiAutomator2”,
“appium:deviceName”:“xxxx”,
“platformName”:“android”,
“appium:udid”:“emulator-5554”
}
]
}
}
org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 481 milliseconds
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘xiaoluxiaoyangdeMacBook-Air.local’, ip: ‘fe80:0:0:0:8ad:5ca4:ae52:cd38%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_201’
Driver info: driver.version: AndroidDriver
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: host: ‘xiaoluxiaoyangdeMacBook-Air.local’, ip: ‘fe80:0:0:0:8ad:5ca4:ae52:cd38%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘1.8.0_201’
Driver info: driver.version: AndroidDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:216)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:225)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:247)