Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome keeps crashing when latest version is installed #358

Open
user19958 opened this issue Jun 1, 2023 · 0 comments
Open

Chrome keeps crashing when latest version is installed #358

user19958 opened this issue Jun 1, 2023 · 0 comments
Labels

Comments

@user19958
Copy link

Operating System

Ubuntu 22.04

Docker Image

budtmo/docker-android:emulator_13.0

Expected behaviour

I was trying to open chrome and navigate to google com by this simple code:
obrazek
but every time its show this exception:
Exception has occurred: CLR/OpenQA.Selenium.WebDriverException An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll: 'An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to start com.android.chrome on device emulator-5554: Starting: Intent { dat=data: cmp=com.android.chrome/com.google.android.apps.chrome.Main } Error type 3 Error: Activity class {com.android.chrome/com.google.android.apps.chrome.Main} does not exist.'

On appium forum is information that this exception is related with chromedriver version. So i decide to update chrome by installing bundle via apkmirror installer.
But now every time chrome is opened app crash with this exception:
obrazek

Can anyone help me with proper way to install latest chrome in emulator ?

Actual behaviour

Cannot open chrome it keeps crashing.

Logs

Chromedriver exception:
Exception has occurred: CLR/OpenQA.Selenium.WebDriverException An unhandled exception of type 'OpenQA.Selenium.WebDriverException' occurred in WebDriver.dll: 'An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command. Original error: unknown error: Failed to start com.android.chrome on device emulator-5554: Starting: Intent { dat=data: cmp=com.android.chrome/com.google.android.apps.chrome.Main } Error type 3 Error: Activity class {com.android.chrome/com.google.android.apps.chrome.Main} does not exist.' at OpenQA.Selenium.WebDriver.UnpackAndThrowOnError(Response errorResponse, String commandToExecute) at OpenQA.Selenium.WebDriver.Execute(String driverCommandToExecute, Dictionary2 parameters)
at OpenQA.Selenium.WebDriver.StartSession(ICapabilities desiredCapabilities)
at OpenQA.Selenium.WebDriver..ctor(ICommandExecutor executor, ICapabilities capabilities)
at OpenQA.Selenium.Appium.AppiumDriver..ctor(Uri remoteAddress, ICapabilities appiumOptions)
at Program.Main(String[] args) in /home/martin/appium/Program.cs:line 22`

Chrome app crash log (adb logcat -b crash)
Process: com.android.chrome, PID: 9038 06-01 07:53:08.973 9038 9063 E AndroidRuntime: ml2: errorCode=2 06-01 07:53:08.973 9038 9063 E AndroidRuntime: at org.chromium.base.library_loader.b.e(chromium-TrichromeChromeGoogle.aab-stable-573505836:142) 06-01 07:53:08.973 9038 9063 E AndroidRuntime: at org.chromium.base.library_loader.b.a(chromium-TrichromeChromeGoogle.aab-stable-573505836:18) 06-01 07:53:08.973 9038 9063 E AndroidRuntime: at pH.run(chromium-TrichromeChromeGoogle.aab-stable-573505836:5) 06-01 07:53:08.973 9038 9063 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012) 06-01 07:53:08.973 9038 9063 E AndroidRuntime: Caused by: java.lang.UnsatisfiedLinkError: Failed at System.loadLibrary() 06-01 07:53:08.973 9038 9063 E AndroidRuntime: at org.chromium.base.library_loader.d.b(chromium-TrichromeChromeGoogle.aab-stable-573505836:254) 06-01 07:53:08.973 9038 9063 E AndroidRuntime: at org.chromium.base.library_loader.b.f(chromium-TrichromeChromeGoogle.aab-stable-573505836:48) 06-01 07:53:08.973 9038 9063 E AndroidRuntime: at org.chromium.base.library_loader.b.e(chromium-TrichromeChromeGoogle.aab-stable-573505836:37) 06-01 07:53:08.973 9038 9063 E AndroidRuntime: ... 3 more

@user19958 user19958 added the bug label Jun 1, 2023
@user19958 user19958 changed the title [🐛 Bug ]: Chrome keeps crashing when latest version is installed Chrome keeps crashing when latest version is installed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant