Unable to run any Android Emulator Chrome Tests
See original GitHub issueThe problem
Unable to get any Emulator Test working, regardless of how simple the setup. Regardless of the Appium version/chrome version/android emulator version. Tried everything I can find, still cannot get it working.
Most common error is
[W3C] Encountered internal error running command: Error: Failed to start Chromedriver session: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to forward ports to device emulator-5554: . unknown error: The adb command failed. Extra response: <>.
[W3C] (Driver info: chromedriver=2.46.628402 (536cd7adbad73a3783fdc2cab92ab2ba7ec361e1),platform=Windows NT 10.0.17134 x86_64)
[W3C] at Object.wrappedLogger.errorAndThrow (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-support\lib\logging.js:78:13)
[W3C] at Chromedriver.errorAndThrow [as start] (C:\Program Files\Appium\resources\app\node_modules\appium\node_modules\appium-chromedriver\lib\chromedriver.js:441:11)
[HTTP] <-- POST /wd/hub/session 500 57894 ms - 1372
Environment
- Appium version (or git revision) that exhibits the issue: 1.8.0, 1.9.0, 1.10.0, 1.13.0
- Last Appium version that did not exhibit the issue (if applicable): Not sure
- Desktop OS/version used to run Appium: Windows 10
- Node.js version (unless using Appium.app|exe): 6.9.0
- Npm or Yarn package manager: NPM
- Mobile platform/version under test: Android
- Real device or emulator/simulator: Emulator
- Appium CLI or Appium.app|exe: Appium CLI and/or Appium.exe
Details
Appium: 1.13.0 Android Debug Bridge version 1.0.41 Version 29.0.3-5806383 Android: tried 10, 9, 8 & 7 all same issue ChromeDrivers: 2.44, 2.45, 2.46
Link to Appium logs
https://gist.github.com/Priestime/8cd75d7a29b2c36d749b5a834dd26847
Code To Reproduce Issue [ Good To Have ]
I’ve copied the code from https://github.com/appium-boneyard/sample-code/blob/master/sample-code/examples/java/generic/src/test/java/AndoridBrowserLocalTest.java and run within Intelij. constantly getting the error in the log
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >Unable to run test on Android emulator Chrome browser
I am facing a blocking issue where Katalon Studio hitting the below error while I chose to run test in my emulator /...
Read more >Unable to open chrome browser in virtual agent's emulator
I want to open chrome browser in virtual agent's emulator say; Google Pixel 3 GoogleAPI Emulator. I tried by uploading chrome.apk but still ......
Read more >Android Emulator app test failing with the error ... - Sauce Labs
Android Emulator app test failing with the error "The Sauce VMs failed to start the browser or device". Follow Not yet followed by...
Read more >Unable to open the Chrome browser in android emulator by ...
Its because of using snapshot option while creating AVD devices. I didn't check that box now. Which seems to be resolved this issue....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve faced with this issue after update of platform-tools (29.0.2 => 29.0.3) After update to the latest version (29.0.4) the issue has gone
Is this new update causing any errors ?