appium / appium/java-client

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: 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: pkg: /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk

Open
#1,388 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.3k
Forks
752
Avg merge
6d 21h
Merged PRs (30d)
8

Description

Please help, I'm getting error for below code

Code to reproduce:

import java.net.MalformedURLException;
import java.net.URL;

import org.openqa.selenium.WebElement;
import org.openqa.selenium.remote.DesiredCapabilities;

import io.appium.java_client.AppiumDriver;

public class Registration_and_Login {

static AppiumDriver<WebElement> driver;

public static void main(String[] args) {
	try {
		openApp();
	} catch (MalformedURLException e) {
			System.out.println(e.getMessage());
			System.out.println("Failed due to "+ e.getCause());
	}

}

public static void openApp() throws MalformedURLException {
	DesiredCapabilities cap = new DesiredCapabilities();
	cap.setCapability("deviceName","Coolpad 3505I");
	cap.setCapability("udid","##########");
	cap.setCapability("platformName","Android");
	cap.setCapability("platformVersion","6.0");
	
	cap.setCapability("appPackage","com.android.calculator2");
	cap.setCapability("appActivity","com.android.calculator2.Calculator");
	
	
		URL url = new URL("http://127.0.0.1:4723/wd/hub");
	
	driver = new AppiumDriver<WebElement>(url,cap);
	
	System.out.println("Application Started...");
	

}

}
Exception Stacktraces

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: 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: pkg: /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'DIN19000891', ip: '192.168.1.106', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '12'
Driver info: driver.version: AppiumDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: pkg: /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
at getResponseForW3CError (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:392:37)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'DIN19000891', ip: '192.168.1.106', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '12'
Driver info: driver.version: AppiumDriver
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213)
at io.appium.java_client.AppiumDriver.startSession(AppiumDriver.java:336)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:131)
at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:37)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:88)
at io.appium.java_client.AppiumDriver.(AppiumDriver.java:98)
at appiumtests.Registration_and_Login.openApp(Registration_and_Login.java:38)
at appiumtests.Registration_and_Login.main(Registration_and_Login.java:17)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186)
... 13 more
Caused by: org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: pkg: /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'DIN19000891', ip: '192.168.1.106', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '12'
Driver info: driver.version: AppiumDriver
remote stacktrace: UnknownError: An unknown server-side error occurred while processing the command. Original error: pkg: /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
at getResponseForW3CError (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\errors.js:804:9)
at asyncHandler (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-base-driver\lib\protocol\protocol.js:392:37)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.openqa.selenium.remote.W3CHandshakeResponse.lambda$errorHandler$0(W3CHandshakeResponse.java:62)
at org.openqa.selenium.remote.HandshakeResponse.lambda$getResponseFunction$0(HandshakeResponse.java:30)
at org.openqa.selenium.remote.ProtocolHandshake.lambda$createSession$0(ProtocolHandshake.java:126)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Spliterators$ArraySpliterator.tryAdvance(Spliterators.java:958)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(ReferencePipeline.java:127)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(AbstractPipeline.java:502)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:488)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.FindOps$FindOp.evaluateSequential(FindOps.java:150)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.findFirst(ReferencePipeline.java:543)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:128)
... 18 more

Appium Logs
a1c60546911a
[UiAutomator2] Starting 'com.android.calculator2' directly on the device
[ADB] Using 'adb.exe' from 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe'
[AndroidDriver] Retrieving device list
[ADB] Trying to find a connected android device
[ADB] Getting connected devices...
[ADB] Connected devices: [{"udid":"Y9TKJ7HE89CEVKY5","state":"device"}]
[AndroidDriver] Using device: Y9TKJ7HE89CEVKY5
[ADB] Using 'adb.exe' from 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe'
[ADB] Setting device id to Y9TKJ7HE89CEVKY5
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell getprop ro.build.version.sdk'
[ADB] Current device property 'ro.build.version.sdk': 23
[ADB] Device API level: 23
[AndroidDriver] No app sent in, not parsing package/activity
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 wait-for-device'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell echo ping'
[AndroidDriver] Pushing settings apk to device...
[ADB] Getting install status for io.appium.settings
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell dumpsys package io.appium.settings'
[ADB] 'io.appium.settings' is not installed
[ADB] App 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' is not installed
[ADB] Installing 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 features'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell 'ls -t -1 /data/local/tmp/appium_cache 2>&1 || echo ERROR''
[ADB] The current Android API does not support extended ls options. Defaulting to no-options call
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell 'ls /data/local/tmp/appium_cache 2>&1 || echo ERROR''
[ADB] The count of applications in the cache: 3
[ADB] The application at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\io.appium.settings\apks\settings_apk-debug.apk' is already cached to '/data/local/tmp/appium_cache/80ec2879fe799604adab3aec0e2993e4eef38525.apk'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell touch -am /data/local/tmp/appium_cache/80ec2879fe799604adab3aec0e2993e4eef38525.apk'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell pm install -g /data/local/tmp/appium_cache/80ec2879fe799604adab3aec0e2993e4eef38525.apk'
[ADB] The installation of 'settings_apk-debug.apk' took 5936ms
[ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/80ec2879fe799604adab3aec0e2993e4eef38525.apk
[ADB] Success
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell 'pgrep --help; echo $?''
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell pgrep -f io\.appium\.settings'
[AndroidDriver] Granting permissions SET_ANIMATION_SCALE,CHANGE_CONFIGURATION,ACCESS_FINE_LOCATION to 'io.appium.settings'
[ADB] Granting permissions ["android.permission.SET_ANIMATION_SCALE","android.permission.CHANGE_CONFIGURATION","android.permission.ACCESS_FINE_LOCATION"] to 'io.appium.settings'
[ADB] Got the following command chunks to execute: [["pm","grant","io.appium.settings","android.permission.SET_ANIMATION_SCALE",";","pm","grant","io.appium.settings","android.permission.CHANGE_CONFIGURATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";"]]
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell pm grant io.appium.settings android.permission.SET_ANIMATION_SCALE ; pm grant io.appium.settings android.permission.CHANGE_CONFIGURATION ; pm grant io.appium.settings android.permission.ACCESS_FINE_LOCATION ;'
[ADB] Getting IDs of all 'io.appium.settings' processes
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell pgrep -f io\.appium\.settings'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell appops set io.appium.settings android:mock_location allow'
[Logcat] Starting logcat capture
[UiAutomator2] Forwarding UiAutomator2 Server port 6790 to 8200
[ADB] Forwarding system: 8200 to device: 6790
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 forward tcp:8200 tcp:6790'
[UiAutomator2] Server package at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is not writeable. Will copy it into the temporary location at 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487' as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
[UiAutomator2] Server package at 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v4.5.5.apk' is not writeable. Will copy it into the temporary location at 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487' as a workaround. Consider making this file writeable manually in order to improve the performance of session startup.
[ADB] Getting install status for io.appium.uiautomator2.server
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell dumpsys package io.appium.uiautomator2.server'
[ADB] 'io.appium.uiautomator2.server' is installed
[ADB] Getting package info for 'io.appium.uiautomator2.server'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell dumpsys package io.appium.uiautomator2.server'
[ADB] The version name of the installed 'io.appium.uiautomator2.server' is greater or equal to the application version name ('4.5.5' >= '4.5.5')
[UiAutomator2] io.appium.uiautomator2.server installation state: sameVersionInstalled
[ADB] Checking app cert for C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-v4.5.5.apk
[ADB] Cannot use apksigner tool for signature verification. Original error: Could not find 'apksigner.jar' in ["C:\Users\asing451\Desktop\android-sdk\platform-tools\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\emulator\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\tools\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\tools\bin\apksigner.jar"]. Do you have Android Build Tools installed at 'C:\Users\asing451\Desktop\android-sdk'?
[ADB] Defaulting to verify.jar
[ADB] 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-v4.5.5.apk' is signed with the default certificate
[ADB] Getting install status for io.appium.uiautomator2.server.test
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell dumpsys package io.appium.uiautomator2.server.test'
[ADB] 'io.appium.uiautomator2.server.test' is not installed
[ADB] Checking app cert for C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-debug-androidTest.apk
[ADB] Cannot use apksigner tool for signature verification. Original error: Could not find 'apksigner.jar' in ["C:\Users\asing451\Desktop\android-sdk\platform-tools\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\emulator\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\tools\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\tools\bin\apksigner.jar"]. Do you have Android Build Tools installed at 'C:\Users\asing451\Desktop\android-sdk'?
[ADB] Defaulting to verify.jar
[ADB] 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-debug-androidTest.apk' is not signed with the default certificate
[ADB] Exception in thread "main" java.lang.Exception: Invalid cert.
[ADB] at v.Verify.verify(Verify.java:57)
[ADB] at v.Verify.main(Verify.java:72)
[ADB]
[ADB] Signing 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-debug-androidTest.apk' with default cert
[ADB] Cannot use apksigner tool for signing. Defaulting to sign.jar. Original error: Could not find 'apksigner.jar' in ["C:\Users\asing451\Desktop\android-sdk\platform-tools\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\emulator\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\tools\apksigner.jar","C:\Users\asing451\Desktop\android-sdk\tools\bin\apksigner.jar"]. Do you have Android Build Tools installed at 'C:\Users\asing451\Desktop\android-sdk'?
[ADB] Starting sign.jar: 'C:\Program Files\Java\jdk1.8.0_261\bin\java.exe' -jar 'C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-adb\jars\sign.jar' C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-debug-androidTest.apk --override
[ADB] Using 'zipalign.exe' from 'C:\Users\asing451\Desktop\android-sdk\platform-tools\zipalign.exe'
[ADB] 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-debug-androidTest.apk' is not zip-aligned. Aligning
[UiAutomator2] Server packages are going to be (re)installed
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell 'ls /data/local/tmp/appium_cache 2>&1 || echo ERROR''
[ADB] The count of applications in the cache: 3
[ADB] The application at 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-v4.5.5.apk' is already cached to '/data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell touch -am /data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell pm install -r /data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk'
[ADB] The installation of 'appium-uiautomator2-server-v4.5.5.apk' took 8845ms
[ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/75e2638551246b73c8e1fef0017fc2163110ac3c.apk
[ADB] Success
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell 'ls /data/local/tmp/appium_cache 2>&1 || echo ERROR''
[ADB] The count of applications in the cache: 3
[ADB] The application at 'C:\Users\asing451\AppData\Local\Temp\202086-14236-1qc9hgp.w487\appium-uiautomator2-server-debug-androidTest.apk' is already cached to '/data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell touch -am /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk'
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell pm install -r /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk'
[ADB] The installation of 'appium-uiautomator2-server-debug-androidTest.apk' took 2099ms
[ADB] Install command stdout: pkg: /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk
[ADB] Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[UiAutomator2] Deleting UiAutomator2 session
[UiAutomator2] Deleting UiAutomator2 server session
[WD Proxy] Matched '/' to command name 'deleteSession'
[UiAutomator2] Did not get confirmation UiAutomator2 deleteSession worked; Error was: UnknownError: An unknown server-side error occurred while processing the command. Original error: Trying to proxy a session command without session id
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 shell am force-stop com.android.calculator2'
[Logcat] Stopping logcat capture
[ADB] Removing forwarded port socket connection: 8200
[ADB] Running 'C:\Users\asing451\Desktop\android-sdk\platform-tools\adb.exe -P 5037 -s Y9TKJ7HE89CEVKY5 forward --remove tcp:8200'
[BaseDriver] Event 'newSessionStarted' logged at 1599386713417 (15:35:13 GMT+0530 (India Standard Time))
[W3C] Encountered internal error running command: Error: pkg: /data/local/tmp/appium_cache/fe8bd862cc4e7d6821b7a3bae1652dfdb700f8ed.apk
[W3C] Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[W3C] at ADB.install (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-adb\lib\tools\apk-utils.js:582:13)
[W3C] at UiAutomator2Server.installServerApk (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\uiautomator2.js:121:11)
[W3C] at AndroidUiautomator2Driver.initUiAutomator2Server (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:440:7)
[W3C] at AndroidUiautomator2Driver.startUiAutomator2Session (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:338:5)
[W3C] at AndroidUiautomator2Driver.createSession (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-uiautomator2-driver\lib\driver.js:212:7)
[W3C] at AppiumDriver.createSession (C:\Program Files\Appium\resources\app\node_modules\appium\lib\appium.js:358:35)
[W3C] Destroying socket connection
[HTTP] <-- POST /wd/hub/session 500 30470 ms - 825
[HTTP]

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Registration_and_Login.openApp at line 38 and reproduce the session creation using the shown capabilities. Inspect the Appium logs around the cached APK installation and compare the reported failure with the device and client details; done requires a confirmed cause and a documented resolution or narrowly scoped repository change.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, testing-qa
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.