14.1 C
New York
Monday, March 10, 2025

internet software – Appium TestNG error : Making an attempt bi-dialect session, assuming Postel’s Legislation holds true on the distant finish


I am making an attempt to launch a easy internet software take a look at utilizing Appium, utilizing AVD. I am utilizing eclipse, and the android studio emulator. I included all of the packages. I wish to ensure that concerning the capabilities I used in regards to the machine identify as a result of within the AVD the machine identify is: ‘Nexus6API24’ however after I sort the command adb gadgets I am getting:

Record of gadgets connected:

emulator-5554 machine 
product:sdk_google_phone_x86 
mannequin:Android_SDK_built_for_x86 
machine:generic_x86

May somebody clarify the supply error?

That is the java code I used:

bundle com.instance;

import java.web.MalformedURLException;
import java.web.URL;

import org.openqa.selenium.By;
import org.openqa.selenium.Platform;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.distant.BrowserType;
import org.openqa.selenium.distant.DesiredCapabilities;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Take a look at;

import io.appium.java_client.AppiumDriver;
import io.appium.java_client.android.AndroidDriver;
import io.appium.java_client.distant.MobileCapabilityType;

public class FirstAppiumTest {


// create occasion for appium driver
    AppiumDriver driver;
    @Take a look at

    public void Setup() throws MalformedURLException
    {
        DesiredCapabilities cap = new DesiredCapabilities();
        cap.setCapability(MobileCapabilityType.BROWSER_NAME,BrowserType.CHROME);
        cap.setCapability(MobileCapabilityType.PLATFORM,Platform.ANDROID);
        cap.setCapability(MobileCapabilityType.PLATFORM_NAME,"Android");
        cap.setCapability(MobileCapabilityType.DEVICE_NAME, "emulator-5554");
        //cap.setCapability("AVD", "emulator-5554");
        driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), cap);
        driver.get("http://www.fb.com");
        System.out.println("Title "+driver.getTitle());
        driver.findElement(By.identify("e-mail")).sendKeys("[email protected]");
        driver.findElement(By.identify("cross")).sendKeys("mukesh_selenium");
        driver.findElement(By.id("u_0_5")).click on();
        driver.stop();

    }


}

And I am getting this error in eclipse ;

[TestNG] Operating:
  C:UsersghabrAppDataLocalTemptestng-eclipse--1101744164testng-customsuite.xml

[TestNG] Operating:
  C:UsersghabrAppDataLocalTemptestng-eclipse--1101744164testng-customsuite.xml

Feb 12, 2017 6:26:49 PM org.openqa.selenium.distant.ProtocolHandshake createSession
INFO: Making an attempt bi-dialect session, assuming Postel's Legislation holds true on the distant finish
Feb 12, 2017 6:26:49 PM org.openqa.selenium.distant.ProtocolHandshake createSession
INFO: Making an attempt bi-dialect session, assuming Postel's Legislation holds true on the distant finish
FAILED: Setup
org.openqa.selenium.SessionNotCreatedException: A brand new session couldn't be created. (Unique error: Requested a brand new session however one was in progress) (WARNING: The server didn't present any stacktrace data)
Command length or timeout: 0 milliseconds
Construct data: model: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System data: host: 'LAPTOP-O6MJ7FC6', ip: '192.168.251.2', os.identify: 'Home windows 10', os.arch: 'amd64', os.model: '10.0', java.model: '1.8.0_121'
Driver data: driver.model: AndroidDriver
    at solar.mirror.NativeConstructorAccessorImpl.newInstance0(Native Technique)
    at solar.mirror.NativeConstructorAccessorImpl.newInstance(Unknown Supply)
    at solar.mirror.DelegatingConstructorAccessorImpl.newInstance(Unknown Supply)
    at java.lang.mirror.Constructor.newInstance(Unknown Supply)
    at org.openqa.selenium.distant.ErrorHandler.createThrowable(ErrorHandler.java:216)
    at org.openqa.selenium.distant.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
    at org.openqa.selenium.distant.ProtocolHandshake.createSession(ProtocolHandshake.java:161)
    at org.openqa.selenium.distant.ProtocolHandshake.createSession(ProtocolHandshake.java:64)
    at org.openqa.selenium.distant.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
    at io.appium.java_client.distant.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
    at org.openqa.selenium.distant.RemoteWebDriver.execute(RemoteWebDriver.java:601)
    at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
    at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
    at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
    at org.openqa.selenium.distant.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
    at org.openqa.selenium.distant.RemoteWebDriver.(RemoteWebDriver.java:128)
    at org.openqa.selenium.distant.RemoteWebDriver.(RemoteWebDriver.java:141)
    at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
    at io.appium.java_client.AppiumDriver.(AppiumDriver.java:90)
    at io.appium.java_client.AppiumDriver.(AppiumDriver.java:128)
    at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:72)
    at com.instance.FirstAppiumTest.Setup(FirstAppiumTest.java:33)
    at solar.mirror.NativeMethodAccessorImpl.invoke0(Native Technique)
    at solar.mirror.NativeMethodAccessorImpl.invoke(Unknown Supply)
    at solar.mirror.DelegatingMethodAccessorImpl.invoke(Unknown Supply)
    at java.lang.mirror.Technique.invoke(Unknown Supply)
    at org.testng.inner.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
    at org.testng.inner.Invoker.invokeMethod(Invoker.java:645)
    at org.testng.inner.Invoker.invokeTestMethod(Invoker.java:851)
    at org.testng.inner.Invoker.invokeTestMethods(Invoker.java:1177)
    at org.testng.inner.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
    at org.testng.inner.TestMethodWorker.run(TestMethodWorker.java:112)
    at org.testng.TestRunner.privateRun(TestRunner.java:756)
    at org.testng.TestRunner.run(TestRunner.java:610)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
    at org.testng.SuiteRunner.run(SuiteRunner.java:289)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
    at org.testng.TestNG.runSuites(TestNG.java:1133)
    at org.testng.TestNG.run(TestNG.java:1104)
    at org.testng.distant.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
    at org.testng.distant.RemoteTestNG.initAndRun(RemoteTestNG.java:236)
    at org.testng.distant.RemoteTestNG.major(RemoteTestNG.java:81)
FAILED: Setup
org.openqa.selenium.SessionNotCreatedException: A brand new session couldn't be created. (Unique error: Requested a brand new session however one was in progress) (WARNING: The server didn't present any stacktrace data)
Command length or timeout: 0 milliseconds
Construct data: model: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700'
System data: host: 'LAPTOP-O6MJ7FC6', ip: '192.168.251.2', os.identify: 'Home windows 10', os.arch: 'amd64', os.model: '10.0', java.model: '1.8.0_121'
Driver data: driver.model: AndroidDriver
    at solar.mirror.NativeConstructorAccessorImpl.newInstance0(Native Technique)
    at solar.mirror.NativeConstructorAccessorImpl.newInstance(Unknown Supply)
    at solar.mirror.DelegatingConstructorAccessorImpl.newInstance(Unknown Supply)
    at java.lang.mirror.Constructor.newInstance(Unknown Supply)
    at org.openqa.selenium.distant.ErrorHandler.createThrowable(ErrorHandler.java:216)
    at org.openqa.selenium.distant.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168)
    at org.openqa.selenium.distant.ProtocolHandshake.createSession(ProtocolHandshake.java:161)
    at org.openqa.selenium.distant.ProtocolHandshake.createSession(ProtocolHandshake.java:64)
    at org.openqa.selenium.distant.HttpCommandExecutor.execute(HttpCommandExecutor.java:141)
    at io.appium.java_client.distant.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69)
    at org.openqa.selenium.distant.RemoteWebDriver.execute(RemoteWebDriver.java:601)
    at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42)
    at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
    at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
    at org.openqa.selenium.distant.RemoteWebDriver.startSession(RemoteWebDriver.java:241)
    at org.openqa.selenium.distant.RemoteWebDriver.(RemoteWebDriver.java:128)
    at org.openqa.selenium.distant.RemoteWebDriver.(RemoteWebDriver.java:141)
    at io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38)
    at io.appium.java_client.AppiumDriver.(AppiumDriver.java:90)
    at io.appium.java_client.AppiumDriver.(AppiumDriver.java:128)
    at io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:72)
    at com.instance.FirstAppiumTest.Setup(FirstAppiumTest.java:33)
    at solar.mirror.NativeMethodAccessorImpl.invoke0(Native Technique)
    at solar.mirror.NativeMethodAccessorImpl.invoke(Unknown Supply)
    at solar.mirror.DelegatingMethodAccessorImpl.invoke(Unknown Supply)
    at java.lang.mirror.Technique.invoke(Unknown Supply)
    at org.testng.inner.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:104)
    at org.testng.inner.Invoker.invokeMethod(Invoker.java:645)
    at org.testng.inner.Invoker.invokeTestMethod(Invoker.java:851)
    at org.testng.inner.Invoker.invokeTestMethods(Invoker.java:1177)
    at org.testng.inner.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)
    at org.testng.inner.TestMethodWorker.run(TestMethodWorker.java:112)
    at org.testng.TestRunner.privateRun(TestRunner.java:756)
    at org.testng.TestRunner.run(TestRunner.java:610)
    at org.testng.SuiteRunner.runTest(SuiteRunner.java:387)
    at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382)
    at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340)
    at org.testng.SuiteRunner.run(SuiteRunner.java:289)
    at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    at org.testng.TestNG.runSuitesSequentially(TestNG.java:1293)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1218)
    at org.testng.TestNG.runSuites(TestNG.java:1133)
    at org.testng.TestNG.run(TestNG.java:1104)
    at org.testng.distant.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132)
    at org.testng.distant.RemoteTestNG.initAndRun(RemoteTestNG.java:236)
    at org.testng.distant.RemoteTestNG.major(RemoteTestNG.java:81)


===============================================
    Default take a look at
    Checks run: 1, Failures: 1, Skips: 0
===============================================


===============================================
Default suite
Whole assessments run: 1, Failures: 1, Skips: 0
===============================================

[TestNG] Time taken by org.testng.reporters.jq.Primary@82de64a: 38 ms


===============================================
    Default take a look at
    Checks run: 1, Failures: 1, Skips: 0
===============================================


===============================================
Default suite
Whole assessments run: 1, Failures: 1, Skips: 0
===============================================

[TestNG] Time taken by org.testng.reporters.jq.Primary@82de64a: 38 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@47e2e487: 740 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 20 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@1151e434: 6 ms
[TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@47e2e487: 740 ms
[TestNG] Time taken by [FailedReporter passed=0 failed=0 skipped=0]: 20 ms
[TestNG] Time taken by org.testng.reporters.XMLReporter@1151e434: 6 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@4efac082: 480 ms
[TestNG] Time taken by org.testng.reporters.EmailableReporter2@4efac082: 480 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@13fd2ccd: 17 ms
[TestNG] Time taken by org.testng.reporters.JUnitReportReporter@13fd2ccd: 17 ms

And that is the log messages in Appium :

> data: --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"browserName":"chrome","platformName":"Android","deviceName":"emulator-5554","platform":"ANDROID"},"requiredCapabilities":{}},"desiredCapabilities":{"browserName":"chrome","platformName":"Android","deviceName":"emulator-5554","platform":"ANDROID"},"requiredCapabilities":{}}
> error: Failed to start out an Appium session, err was: Error: Requested a brand new session however one was in progress
> data: Shopper Person-Agent string: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
> data: [debug] The next desired capabilities had been offered, however not acknowledged by appium. They are going to be handed on to some other companies working on this server. : platform
> data: Set mode: Proxying straight by to Chromedriver
> data: [debug] Seems like we would like chrome on android
> data: [debug] Creating new appium session 960dfc32-859d-4586-9cc6-6bd96e0e2815
> data: [debug] Checking whether or not adb is current
> data: [debug] Utilizing adb from C:UsersghabrAppDataLocalAndroidsdkplatform-toolsadb.exe
> data: [debug] Utilizing quick reset? false
> data: [debug] Making ready machine for session
> data: [debug] Not checking whether or not app is current since we're assuming it is already on the machine
> data: Retrieving machine
> data: [debug] Looking for a linked android machine
> data: [debug] Getting linked gadgets...
> data: [debug] executing cmd: C:UsersghabrAppDataLocalAndroidsdkplatform-toolsadb.exe gadgets
> data: --> POST /wd/hub/session {"capabilities":{"desiredCapabilities":{"browserName":"chrome","platformName":"Android","deviceName":"emulator-5554","platform":"ANDROID"},"requiredCapabilities":{}},"desiredCapabilities":{"browserName":"chrome","platformName":"Android","deviceName":"emulator-5554","platform":"ANDROID"},"requiredCapabilities":{}}
> data: Shopper Person-Agent string: Apache-HttpClient/4.5.2 (Java/1.8.0_121)
> data: [debug] Error: Requested a brand new session however one was in progress
>     at [object Object].Appium.begin (C:Program Information (x86)Appiumnode_modulesappiumlibappium.js:139:15)
>     at exports.createSession (C:Program Information (x86)Appiumnode_modulesappiumlibservercontroller.js:188:16)
>     at Layer.deal with [as handle_request] (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterlayer.js:82:5)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:110:13)
>     at Route.dispatch (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:91:3)
>     at Layer.deal with [as handle_request] (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterlayer.js:82:5)
>     at C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:267:22
>     at Perform.proto.process_params (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:321:12)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:261:10)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:100:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at C:Program Information (x86)Appiumnode_modulesappiumlibservercontroller.js:39:7
>     at Layer.deal with [as handle_request] (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterlayer.js:82:5)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:110:13)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:104:14)
>     at Route.dispatch (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterroute.js:91:3)
>     at Layer.deal with [as handle_request] (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterlayer.js:82:5)
>     at C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:267:22
>     at Perform.proto.process_params (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:321:12)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:261:10)
>     at methodOverride (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesmethod-overrideindex.js:79:5)
>     at Layer.deal with [as handle_request] (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterlayer.js:82:5)
>     at trim_prefix (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:302:13)
>     at C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:270:7
>     at Perform.proto.process_params (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:321:12)
>     at subsequent (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:261:10)
>     at logger (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesmorganindex.js:136:5)
>     at Layer.deal with [as handle_request] (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterlayer.js:82:5)
>     at trim_prefix (C:Program Information (x86)Appiumnode_modulesappiumnode_modulesexpresslibrouterindex.js:302:13)
> data: [debug] Responding to consumer with error: {"standing":33,"worth":{"message":"A brand new session couldn't be created. (Unique error: Requested a brand new session however one was in progress)","origValue":"Requested a brand new session however one was in progress"},"sessionId":"960dfc32-859d-4586-9cc6-6bd96e0e2815"}
> data: <-- POST /wd/hub/session 500 5841.676 ms - 250 
> data: [debug] 1 machine(s) linked
> data: Discovered machine emulator-5554
> data: [debug] Setting machine id to emulator-5554
> data: [debug] Ready for machine to be prepared and to answer shell instructions (timeout = 5)
> data: [debug] executing cmd: C:UsersghabrAppDataLocalAndroidsdkplatform-toolsadb.exe -s emulator-5554 wait-for-device
> data: [debug] executing cmd: C:UsersghabrAppDataLocalAndroidsdkplatform-toolsadb.exe -s emulator-5554 shell "echo 'prepared'"
> data: [debug] Beginning logcat seize
> data: [debug] Pushing unlock helper app to machine...
> data: [debug] executing cmd: C:UsersghabrAppDataLocalAndroidsdkplatform-toolsadb.exe -s emulator-5554 set up "C:Program Information (x86)Appiumnode_modulesappiumbuildunlock_apkunlock_apk-debug.apk"
> data: [debug] Cleansing up appium session
> error: Failed to start out an Appium session, err was: Error: Command failed: Failed to put in C:Program Information (x86)Appiumnode_modulesappiumbuildunlock_apkunlock_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.unlock without first uninstalling.]
> 
> data: [debug] Error: Command failed: Failed to put in C:Program Information (x86)Appiumnode_modulesappiumbuildunlock_apkunlock_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.unlock without first uninstalling.]
> 
>     at ChildProcess.exithandler (child_process.js:637:15)
>     at ChildProcess.EventEmitter.emit (occasions.js:98:17)
>     at maybeClose (child_process.js:743:16)
>     at Socket. (child_process.js:956:11)
>     at Socket.EventEmitter.emit (occasions.js:95:17)
>     at Pipe.shut (web.js:465:12)
> data: [debug] Responding to consumer with error: {"standing":33,"worth":{"message":"A brand new session couldn't be created. (Unique error: Command failed: Failed to put in C:Program Information (x86)Appiumnode_modulesappiumconstructunlock_apkunlock_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.unlock without first uninstalling.]rn)","killed":false,"code":1,"sign":null,"origValue":"Command failed: Failed to put in C:Program Information (x86)Appiumnode_modulesappiumconstructunlock_apkunlock_apk-debug.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install io.appium.unlock without first uninstalling.]rn"},"sessionId":null}
> data: <-- POST /wd/hub/session 500 26332.143 ms - 642 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles