add scritp
This commit is contained in:
commit
df5cca3183
6 changed files with 90 additions and 0 deletions
19
emulator_first_boot.sh
Normal file
19
emulator_first_boot.sh
Normal file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
# For some reason, the emulator will only boot in debug mode. Why? no fucking clue, ask google.
|
||||
# Anyway, once booted a snapshot is created that will be used for the next times that will work
|
||||
# without debug-init.
|
||||
BASENAME='root34'
|
||||
MAX_EMU=10
|
||||
|
||||
sdkmanager "${IMG}"
|
||||
|
||||
# kill all emulators:
|
||||
# for e in $(adb devices | grep emulator | sed 's/\t.*//'); do adb -s $e emu kill; done
|
||||
|
||||
for i in $(seq 1 "${MAX_EMU}"); do
|
||||
emulator -avd "${BASENAME}-${i}" -no-window -no-metrics -debug-init -logcat '*:v' &
|
||||
done
|
||||
#for i in $(seq 17 32); do
|
||||
# emulator -avd "${BASENAME}-${i}" -no-window -no-metrics -debug-init -logcat '*:v' &
|
||||
#done
|
Loading…
Add table
Add a link
Reference in a new issue