error: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.XXX.staging' application

0

Hi all. i got this error while using aws device farm while try to run java appuim testng project: Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.XXX.staging' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: 'com.XXX.YYY.ui.activities.MainActivity' or 'com.XXX.staging.com.YYY.core.ui.activities.MainActivity' never started. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' System info: host: 'ip-111-11-11-11', ip: '111.11.11.61', os.name: 'Linux', os.arch: 'amd64', os.version: '3.13.0-139-generic', java.version: '1.8.0_151' Driver info: driver.version: AndroidDriver

locally it's run well.

i sent this caps for aws server:

AppiumDriver driver; final String URL_STRING = "http://127.0.0.1:4723/wd/hub"; URL url1 = new URL(URL_STRING);

DesiredCapabilities desiredCapabilities = new DesiredCapabilities(); driver = new AndroidDriver(url1, desiredCapabilities);

please help, thanks head!

Oron.

已提問 2 年前檢視次數 87 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南