Monday, November 18, 2019

app-debug.apk test using emulator avd command prompt

START EMULATOR

C:\Users\home>emulator -list-avds
Pixel_XL_API_22

C:\Users\home>emulator -avd Pixel_XL_API_22
emulator: WARNING: encryption is off
Warning: Quick Boot / Snapshots not supported on this machine. A CPU with EPT +
UG features is currently needed. We will address this in a future release.
emulator: WARNING: Not all modern X86 virtualization features supported, which i
ntroduces problems with slowdown when running Android on multicore vCPUs. Settin
g AVD to run with 1 vCPU core only.
emulator: WARNING: Your GPU drivers may have a bug. Switching to software render
ing.
HAX is working and emulator runs in fast virt mode.


RUN APK on EMULATOR

C:\Users\home>adb devices
List of devices attached
emulator-5554   device


C:\Users\home>adb -e install -r D:\app-debug.apk
Performing Push Install
D:\app-debug.apk: 1 file pushed. 35.9 MB/s (19761823 bytes in 0.525s)
        pkg: /data/local/tmp/app-debug.apk
Success

C:\Users\home>

No comments: