Android studio launches emulator with such command line:
/Users/sergey/Library/Android/sdk/tools/emulator -avd Nexus_5_API_22_x86 -netspeed full -netdelay none
How do I add additional options? I need to specify -http-proxy command line parameter
First, run the emulator from the terminal:
/Users/sergey/Library/Android/sdk/tools/emulator -avd Nexus_5_API_22_x86 -"all parameters you need"
Then, clic on the run button in Android Studio. Select your device, that is already running. Your app will deploy there.
The command to run start Nexus_5X_Edited_API_23 emulator with proxy setting (get more params here)
~/Library/Android/sdk/tools/emulator -netdelay none -netspeed full -avd Nexus_5X_Edited_API_23 -http-proxy http://username:password@local_server:8080
also You can list all emulators name from command
emulator -list-avds
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With