Skip to content

Conversation

@grendello
Copy link
Contributor

This commit updates the Android emulator to the latest version
available (4969155 a.k.a. v27.3.10), switches its system image to API 28,
makes sure that the emulator is started from the emulator subdir of the
Android SDK root (the binary in tools won't work anymore) and makes sure we
don't error out when we attempt to uninstall packages that don't exist in the
AVD.

@grendello grendello requested a review from jonpryor as a code owner August 29, 2018 19:15
@grendello grendello force-pushed the emulator-update branch 2 times, most recently from 2642123 to 5d311e7 Compare August 30, 2018 13:25
This commit updates the Android emulator to the latest version
available (`4969155` a.k.a. v27.3.10), switches its system image to API 28,
makes sure that the emulator is started from the `emulator` subdir of the
Android SDK root (the binary in `tools` won't work anymore) and makes sure we
don't error out when we attempt to uninstall packages that don't exist in the
AVD.

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

    * `RamSizeMB` (defaults to `2048`)
       Allows to set the emulator's RAM size
    * `DataPartitionSizeMB` (defaults to `2048`)
       Allows to set the emulator's data partition size. The data partition
       cretaed by default has only around 800MB of space available which may not
       be enough to install and run all our tests.
@jonpryor jonpryor merged commit 7c51a91 into dotnet:master Aug 30, 2018
@grendello grendello deleted the emulator-update branch August 30, 2018 21:04
jonathanpeppers pushed a commit to jonathanpeppers/xamarin-android that referenced this pull request Sep 11, 2018
…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 pushed a commit to jonpryor/xamarin-android that referenced this pull request Sep 11, 2018
…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 added a commit that referenced this pull request Sep 11, 2018
Context: #2157

Merge commit; cherry-picks the following commits from master:

  * d01e4ce (PR #2087):
    Revert "[mono-sdks] Use for android toolchain"
  * 7c51a91 (PR #2119):
    [tests] Update emulator to the latest version, switch to API 28

We're hoping that the emulator update will make unit test execution
more reliable; see also PR #2157, which often has a crash when
running some unit tests.
@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.

3 participants