Windows启动时如何打开AVD模拟器 [英] How to open avd amulator when windows starts
本文介绍了Windows启动时如何打开AVD模拟器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我与AVD模拟器一起使用,由于某些更新,我不得不一次又一次地重新启动PC.因此,每次启动PC时,我都必须运行自定义的bat文件来再次启动模拟器,这对我来说是一个整洁的过程.
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.
这是我的制作bat文件的方式打开模拟器
Here is my way to make bat file to open emulator
我已经在stackoverflow和其他地方进行了搜索,但是找不到确切的解决方案.
I have searched on stackoverflow and on other places but couldn't find the exact solution.
以下是一些相关链接
https://developer.android.com/studio/run/emulator-commandline
推荐答案
对于Windows用户
- 为您的bat文件创建快捷方式
- 按Ctrl + R
- 编写
shell:startup
(这是到达启动文件夹的命令),然后按Enter. - 在我的情况下,它将打开一个类似于"
C:\Users\UserName\AppData\Roaming\Microsoft\Windows\StartMenu\Programs\Startup
"的位置 - 在此处粘贴您的快捷方式,然后在下次启动时,您的bat文件将自动运行并打开AVD模拟器.
- 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.
这篇关于Windows启动时如何打开AVD模拟器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文