New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 821862 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Last visit > 30 days ago
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug



Sign in to add a comment

ChromeDriver Android bot: Unable to install latest Chrome Stable on build91-b1

Project Member Reported by johnchen@chromium.org, Mar 14 2018

Issue description

After the Android device attached to build91-b1 was re-flashed a couple of days ago, I wasn't able to install the latest Chrome Stable on it. I ran the following command from the home directory:

./adb install -r ChromeStable.apk

And received the following error:

Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]

How do I resolve this error?
 
Try uninstalling the app first? Else we can reflash the phone, which should also do the trick.
I wasn't able to uninstall the app, probably because Chrome is a built-in app. Right now the device is flashed with a very old Android, version 4.4.4. I wonder if it would help if it is flashed to a newer version, such as 6.0.
On my devices it is 6.0.1, so it would be nice to have exactly the same version.

adb shell getprop ro.build.version.release 

6.0.1


Comment 4 by pschm...@google.com, Mar 14 2018

Owner: pschmidt@chromium.org
Status: Assigned (was: Untriaged)
I can do this.
$ ./adb -d shell getprop ro.build.fingerprint
google/hammerhead/hammerhead:6.0.1/MOB31V/3693677:userdebug/dev-keys

Effective starting with https://uberchromegw.corp.google.com/i/chromium.fyi/builders/Android%20ChromeDriver%20Tests%20%28dbg%29/builds/39452


So is the device on Android build bot now running Android 6.0.1 ?

Comment 7 by pschm...@google.com, Mar 14 2018

Yes it is.
Great! Thank you!
Status: Verified (was: Assigned)
I have successfully installed the latest Chrome Stable and Chrome Beta on the device. Thanks!
btw, this apk installation problem sounded familiar.    crbug.com/739373 
I'm encountering a new issue with this device. The WebView currently installed on the device is incompatible with ChromeDriver. However, attempt to update it failed:

chrome-bot@build91-b1:(Linux 14.04):~$ ./adb install -r android-B0urB0N%2F65.0.3325.109%2Farm%2FAndroidWebview.apk
android-B0urB0N%2F65.0.3325.109%2Farm%...d. 9.1 MB/s (32704207 bytes in 3.416s)
	pkg: /data/local/tmp/android-B0urB0N%2F65.0.3325.109%2Farm%2FAndroidWebview.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

The same error code was mentioned in  crbug.com/739373 , but it isn't clear how this was fixed. Any idea how to resolve this error?

Sign in to add a comment