Setting up emulator

This commit is contained in:
Diego Mello 2023-02-07 10:08:43 -03:00
parent 9bbb302f13
commit 5697486fd1
2 changed files with 9 additions and 5 deletions

View File

@ -509,17 +509,21 @@ jobs:
command: |
yarn install --cache-folder=/home/circleci/repo/node_modules
- save_cache: *save-npm-cache-linux
# - restore_cache: *restore-gradle-cache
- create-e2e-account-file
- android/create-avd:
avd-name: myavd
avd-name: Pixel_API_32_AOSP
install: true
system-image: system-images;android-32;google_apis;x86_64
- android/start-emulator:
avd-name: myavd
avd-name: Pixel_API_32_AOSP
no-window: true
post-emulator-launch-assemble-command: ''
# - save_cache: *save-gradle-cache
- run:
name: Setup emulator
command: |
echo "hw.lcd.density = 440" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
echo "hw.lcd.height = 2280" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
echo "hw.lcd.width = 1080" >> ~/.android/avd/Pixel_API_31_AOSP.avd/config.ini
- run:
name: Run Detox Tests
command: |

View File

@ -52,7 +52,7 @@ module.exports = {
emulator: {
type: 'android.emulator',
device: {
avdName: 'Pixel_API_31_AOSP'
avdName: 'Pixel_API_32_AOSP'
}
}
},