Issue
I work with AVD emulator and I have to restart my PC again and again because of some updates. so each time I start the pc, I have to run the custom bat file to start the emulator again and that becomes a tidy process to me.
Here is my way to make bat file to open emulator
I have searched on stackoverflow and on other places but couldn't find the exact solution.
Here are some relevant links
Run AVD Emulator without Android Studio
https://developer.android.com/studio/run/emulator-commandline
Solution
For Windows Users
- Make a shortcut of your bat file
- Press Ctrl+R
- Write
shell:startup
(it's a command to reach to startup folders) and press enter. - it will open a location in my case it is like "
C:\Users\UserName\AppData\Roaming\Microsoft\Windows\StartMenu\Programs\Startup
" - Paste your short cut here and on next start up your bat file will run automatically and will open the AVD emulator.
Answered By - Irshad Babar
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.