-
-
Notifications
You must be signed in to change notification settings - Fork 137
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 on Android com.android.chrome not installed on device #1914
Comments
Also should mention that I cannot reproduce the issue locally, only on the using the bitbar service does the issue appear |
Hi @Andrej1198 what Chrome/Chromedriver and Android version do you use? There was a bug in Chromedriver that Chrome could not start on Android 13 https://chromedriver.storage.googleapis.com/110.0.5481.77/notes.txt (I had that problem locally), could it be that? I think when we run Chrome using Chromedriver we do not set the activity, that comes automatically in Chromedriver, so it could be that you need to update the version? We also run tests on BitBar and Chrome works for me there (Chrome 111). However I have the almost the same problem as you but with Firefox on BitBar, it started to happen a week ago or something like that. I've been trying to fix the issue but haven't done that yet (works locally though so I cannot reproduce it) :| |
Thanks for the speedy response! :) |
On BitBar we use Chrome 111.0.5563.57 and Chromedriver 110.0.5481.77 (on Moto G5 and Samsung A51). |
Where do you get your apks out of curiosity? |
BitBar installed Chrome and then we auto update our update through the Play store. |
Okay, good to know! Thanks |
How do you auto-update through the play store? |
Using the GUI. BitBar has configured so Chrome isn't changed between new runs. |
What GUI are you referring to? Is there public documentation for this GUI? |
Sorry using "LiveTesting" in BitBar I think you should ask them for help :) |
Will do thank you for everything! |
Hey @soulgalore I'm closing the issue As it turns out the issue was due to a miscommunication, chrome on our android devices were disabled and we were not aware(we thought it was uninstalled). Chrome being disabled and chrome not being installed give the same error message from chromedriver which we were not aware of, hope this helps you with resolving your similar issue. In our case chrome was being disabled with this command: A way you can check if your app is installed but not enabled is by running the enabling command(which should not fail if the app is already enabled) or by checking that the following command lists your package Hope this helps you resolve your issues! |
Thank you @Andrej1198 for the explanation! |
Have you read the documentation?
URL
What are you trying to accomplish
Hi @soulgalore
I was wondering if you have encountered the following issue before?
I am trying to launch chrome on android using our device farm(run by bitbar)
And I keep getting the following error:
At which point I get a browsertime error message telling me it failed to run, failure stack below
I believe this issue is similar to the one encountered with #1331 and related to an activity change in android chrome
The old default_activity was com.android.chrome/com.google.android.apps.chrome.Main, whereas now the default_activity is com.android.chrome/com.google.android.apps.chrome.IntentDispatcher
It fails in lib/core/seleniumRunner.js
The following baseDir(this.baseDir) was used: /builds/task_167884022773121/workspace/build/blobber_upload_dir/browsertime-results/google
The following options(this.options) is set when running: https://pastebin.com/aAyFUzr3
I'm part of Mozilla the try job can be found here: https://treeherder.mozilla.org/jobs?repo=try&group_state=expanded&tier=1%2C2%2C3&revision=9562520faee78dc534a16cbda37ca5de4cba6b9c and the full log can be found here: https://firefoxci.taskcluster-artifacts.net/L3Jx9fdbSWiYr8m1lvDHYA/0/public/logs/live_backing.log
What browser did you use?
Chrome Android
How to reproduce
Run a browsertime test with the following commands: (https://pastebin.com/Z0pLtQzj) /builds/task_167884022773121/fetches/node/bin/node /builds/task_167884022773121/fetches/browsertime/node_modules/browsertime/bin/browsertime.js --firefox.geckodriverPath /builds/task_167884022773121/fetches/geckodriver --chrome.chromedriverPath /builds/task_167884022773121/fetches/109chromedriver /builds/task_167884022773121/workspace/build/tests/raptor/raptor/browsertime/../../browsertime/browsertime_pageload.js --firefox.noDefaultPrefs --browsertime.page_cycle_delay 1000 --skipHar --pageLoadStrategy none --webdriverPageload true --firefox.disableBrowsertimeExtension true --pageCompleteCheckStartWait 5000 --pageCompleteCheckPollTimeout 1000 --timeouts.pageLoad 60000 --timeouts.script 120000 --browsertime.page_cycles 2 --pageCompleteWaitTime 5000 --browsertime.url https://www.google.com --browsertime.post_startup_delay 1000 --iterations 15 --videoParams.androidVideoWaitTime 20000 --browsertime.chimera true --browsertime.test_bytecode_cache false --firefox.perfStats false --browsertime.commands --viewPort 1366x695 --videoParams.convert false --videoParams.addTimer false --browser chrome --android --chrome.args=--use-mock-keychain --chrome.args=--no-default-browser-check --chrome.args=--no-first-run --chrome.args=--proxy-server=127.0.0.1:60525 --chrome.args=--proxy-bypass-list=localhost;127.0.0.1 --chrome.args=--ignore-certificate-errors --resultDir /builds/task_167884022773121/workspace/build/blobber_upload_dir/browsertime-results/google --firefox.profileTemplate /tmp/tmpkj0o9cse.mozrunner --video true --visualMetrics true --visualMetricsContentful true --visualMetricsPerceptual true --visualMetricsPortable true --videoParams.keepOriginalVideo true --firefox.windowRecorder false --xvfbParams.display 0 --browsertime.testName google --browsertime.liveSite False --browsertime.loginRequired True
Relevant log output
The text was updated successfully, but these errors were encountered: