-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Getting error message as "Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'riotinto.metal.provenance' application. Consider checking the driver's troubleshooting documentation" #17809
Replies: 2 comments · 7 replies
-
|
Did you follow the instructions and read the driver troubleshooting information? Also it's impossible to tell what's going on without the Appium server log. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
[Appium] Welcome to Appium v2.0.0-beta.46 |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
The capability had You may need to set the expected package name properly for your test app. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
ok. I tried that also by discussing the things with the developer still facing the same issue. Another thing is like, The found package is the correct one still why it is giving response related to Incorrect package and activity? |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
What was the appium server log? GitHub GIST is preferred to share such a large log. |
Beta Was this translation helpful? Give feedback.
All reactions
-
|
https://discuss.appium.io/ also may help to ask questions |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Actually while executing an appium script getting below error.
So script opening an application and quickly getting close.
Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'andoridapk' application. Consider checking the driver's troubleshooting documentation. Original error: 'crc64188153237d53579e.SplashActivity' or 'andoridapk.crc64188153237d53579e.SplashActivity' never started. Consider checking the driver's troubleshooting documentation.
Host info: host: 'INDELWL00102', ip: '192.168.112.1'
Build info: version: '4.6.0', revision: '79f1c02ae20'
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_341'
Driver info: io.appium.java_client.android.AndroidDriver
Command: [null, newSession {capabilities=[{appium:appium.appWaitActivity=crc64188153237d53579e.MainActivity, platformName=ANDROID, appium:deviceName=Nexus, appium:automationName=UIAutomator2, appium:app=C:\Users\shubham.bajad\eclipse-workspace\appiumtest\src\test\java\resources\andoridapk.apk}], desiredCapabilities=Capabilities {appium:app: C:\Users\shubham.bajad\ecli..., appium:appium.appWaitActivity: crc64188153237d53579e.MainA..., appium:automationName: UIAutomator2, appium:deviceName: ShubhamPhone9, platformName: ANDROID}}]
Capabilities {}
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:146)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at io.appium.java_client.remote.AppiumProtocolHandshake.createSession(AppiumProtocolHandshake.java:126)
at io.appium.java_client.remote.AppiumProtocolHandshake.createSession(AppiumProtocolHandshake.java:102)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:155)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:189)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:541)
at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:229)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:157)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:80)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:92)
at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:117)
at appiumtest.appiumtest.RioFirstTest.AppiumTest(RioFirstTest.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
at org.testng.TestNG.run(TestNG.java:1030)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)
Beta Was this translation helpful? Give feedback.
All reactions