Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Increase disk size and memory of Android emulator (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
graduad authored May 12, 2023
1 parent 4136443 commit 41cbaf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/run-mocked-integration-tests-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ avdmanager list avd
echo "Create system image: $system_image"

echo "no" | avdmanager --verbose create avd --force --name $device_name --abi "default/x86" --package "$system_image"
echo "disk.dataPartition.size=3072MB" >> ~/.android/avd/$device_name.avd/config.ini
echo "disk.dataPartition.size=8G" >> ~/.android/avd/$device_name.avd/config.ini
echo "hw.ramSize = 3.072MB" >> ~/.android/avd/$device_name.avd/config.ini
touch ~/.android/emu-update-last-check.ini

ls -la ~/.android/
Expand Down

0 comments on commit 41cbaf3

Please sign in to comment.