How to open avd amulator when windows starts

不打扰是莪最后的温柔 提交于 2020-01-15 11:56:46

问题


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


回答1:


For Windows Users

  1. Make a shortcut of your bat file
  2. Press Ctrl+R
  3. Write shell:startup (it's a command to reach to startup folders) and press enter.
  4. it will open a location in my case it is like "C:\Users\UserName\AppData\Roaming\Microsoft\Windows\StartMenu\Programs\Startup"
  5. Paste your short cut here and on next start up your bat file will run automatically and will open the AVD emulator.


来源:https://stackoverflow.com/questions/54994730/how-to-open-avd-amulator-when-windows-starts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!