Skip to content

Conversation

@jonpryor
Copy link
Contributor

Context: #2157

We hope it'll fix many of the emulator issues we're seeing.

atsushieno and others added 3 commits September 11, 2018 07:51
If you are running Android O or above as the Android target to test
`make run-apk-tests`, it will fail because of an `adb` server version
mismatch (39 vs. 40).  This is a common `adb` issue e.g.:

https://sqa.stackexchange.com/questions/20524/how-to-resolve-adb-server-version-32-doesnt-match-this-client-36-killin

Bump to Android platform-tools r28 so that we have an updated `adb`,
which will avoid the version mismatch error.
…et#2119)

Updates the Android emulator to the latest version available,
currently `4969155` a.k.a. v27.3.10, and:

  * Switch its system image to API-28, and
  * Make sure that the emulator is started from the `emulator` subdir
    of the Android SDK root (the binary in `tools` won't work anymore),
  * Attempt to not error out when we uninstall packages that don't
    exist in the AVD.

In addition to those changes, two new properties were added to the
`<CreateAndroidEmulator/>` task:

  * `DataPartitionSizeMB` (defaults to `2048`):
     Sets the emulator's data partition size. The data partition
     created by default has only around 800MB of space available,
     which may not be enough to install and run all our tests.
  * `RamSizeMB` (defaults to `2048`): 
     Sets the emulator's RAM size
@jonpryor
Copy link
Contributor Author

Superseded by PR #2171.

@jonpryor jonpryor closed this Sep 11, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants