solution • Android Studio Emulator for testing Chrome browser - martindubenet/wed-dev-design GitHub Wiki
To emulate an Android device on your macOS or Windows development workstation you will need to first install and set-up the Android Studio solution (see next section below) to use it's Android Device Emulator from which you launch Google Chrome for Android.
- Use
@input
instead ofor@keyup
: This event is a limitation for Chrome-For-Android since this browser does NOT support@keydown
@keyup
or@keydown
. - Use
event.key
instead of: Theevent.code
code
event is always empty on Chrome For Android browser.
- Go back to your macOS's Chrome browser,
- In your Chrome browser (from your macOS) enter this in the browser :
chrome://inspect/#devices
, - From that window, click the « inspect » blue link under the device you want to inspect.
- Download and install Android Studio,
During installation preferably install the new project repository on a remote drive since it will more take many gigabytes of storage.
- Launch VDM (Virtual Device Manager) from the welcome screen
- Choose a device type and size
- Select a system image
- Download the image
- Set AVD default orientation
- Run AVD
- View AVD in a self contained Emulator window
- View AVD fullsize within the Emulator window
- Google Chrome for Android (CHA) browser from within AndroidStudio AVD Emulator
« How to view your website on ANY Android DEVICE on your Mac » video