Created By  dmarkovtsev Monday, August 14, 2017

Appium requires certain version of Chrome to work with. Even Android 7.0 is shipped with Chrome 51 and this is too old version. From this article you will learn how to upgrade Chrome on your Android emulator.

First start your emulator in writable mode. Put your virtual device name after -avd parameter.

$ANDROID_HOME/emulator/emulator -avd Samsung_Galaxy_S7_API_24 -writable-system

Uninstall old version of Chrome.

adb root
adb remount
adb shell
cd /system/app
rm Chrome -f -rR
cd /data/data
rm -r com.android.chrome

Restart the emulator.

Download Chrome version that you want to install.

http://www.apkmirror.com/apk/google-inc/chrome/chrome-59-0-3071-125-release/chrome-browser-59-0-3071-125-7-android-apk-download/download/

Then install it.

adb -s emulator-5554 install ~/Downloads/com.android.chrome_59.0.3071.125-307112512_minAPI24\(x86\)\(nodpi\)_apkmirror.com.apk 

If you have just one device connected to adb you may skip -s switch. To get names of connected devices you may use

adb devices -l

 

Article Info
  • Last Updated: 8/14/2017
  • Article ID: KB276
  • Views: 542