Skip to content

Commit

Permalink
Update Android test instructions.
Browse files Browse the repository at this point in the history
- Update emulator API level to 23 to match build/common.gypi.
- Remind readers to build for x86 when using the x86 emulator.

Review URL: https://codereview.chromium.org/1433213002

Cr-Commit-Position: refs/heads/master@{#359114}
  • Loading branch information
leizleiz authored and Commit bot committed Nov 11, 2015
1 parent 7df6706 commit f51ad75
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/android_test_instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ behavior._ This can interfere with the test runner. To disable this dialog, run:
Use an emulator (i.e. Android Virtual Device, AVD): Enabling Intel's
Virtualizaton support provides the fastest, most reliable emulator configuration
available (i.e. x86 emulator with GPU acceleration and KVM support).
Remember to build with `target_arch=ia32` for x86. Otherwise installing the APKs
will fail with `INSTALL_FAILED_NO_MATCHING_ABIS`.

1. Enable Intel Virtualization support in the BIOS.

Expand All @@ -63,7 +65,7 @@ available (i.e. x86 emulator with GPU acceleration and KVM support).
3. Install emulator deps:

```shell
build/android/install_emulator_deps.py --api-level=19
build/android/install_emulator_deps.py --api-level=23
```

This script will download Android SDK and place it a directory called
Expand All @@ -76,7 +78,7 @@ available (i.e. x86 emulator with GPU acceleration and KVM support).
--abi.

```shell
build/android/avd.py --api-level=19
build/android/avd.py --api-level=23
```

This script will attempt to use GPU emulation, so you must be running the
Expand Down Expand Up @@ -138,11 +140,11 @@ with the following commands:

```shell
# Resize userdata partition to be 1G
resize2fs android_emulator_sdk/sdk/system-images/android-19/x86/userdata.img 1G
resize2fs android_emulator_sdk/sdk/system-images/android-23/x86/userdata.img 1G
# Set filesystem parameter to continue on errors; Android doesn't like some
# things e2fsprogs does.
tune2fs -e continue android_emulator_sdk/sdk/system-images/android-19/x86/userdata.img
tune2fs -e continue android_emulator_sdk/sdk/system-images/android-23/x86/userdata.img
```

## Symbolizing Crashes
Expand Down

0 comments on commit f51ad75

Please sign in to comment.