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.

gefragt vor 2 Jahren87 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen