-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrearEmulador.bat
More file actions
25 lines (20 loc) · 932 Bytes
/
Copy pathcrearEmulador.bat
File metadata and controls
25 lines (20 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
@echo off
SET SDK_DIR=C:\Users\danie\AppData\Local\Android\Sdk
SET AVD_NAME=Flutter_Emu
echo ----- Borrando emulador anterior si existe -----
rmdir /s /q "%USERPROFILE%.android\avd%AVD_NAME%.avd"
del /q "%USERPROFILE%.android\avd%AVD_NAME%.ini"
echo ----- Creando nuevo emulador -----
"%SDK_DIR%\cmdline-tools\latest\bin\avdmanager.bat" create avd -n %AVD_NAME% -k "system-images;android-34;google_apis;x86_64" -d "pixel_7" --force
echo ----- Configurando emulador -----
set CONFIG_FILE=%USERPROFILE%.android\avd%AVD_NAME%.avd\config.ini
rem Cambiamos parámetros de rendimiento y teclado
echo hw.ramSize=4096 >> %CONFIG_FILE%
echo disk.dataPartition.size=8192M >> %CONFIG_FILE%
echo hw.gpu.enabled=yes >> %CONFIG_FILE%
echo hw.gpu.mode=auto >> %CONFIG_FILE%
echo hw.keyboard=yes >> %CONFIG_FILE%
echo vm.heapSize=576 >> %CONFIG_FILE%
echo hw.lcd.density=440 >> %CONFIG_FILE%
echo ----- Emulador creado y optimizado -----
pause