在没有 android studio 的情况下运行模拟器
我在 Visual Studio 代码上使用 Flutter,但我的 Android Studio 模拟器无法工作。 有没有一种方法可以在没有 android studio 帮助的情况下在 Visual Studio 代码上运行模拟器?
I'm using flutter on visual studio code and my android studio emulator doesn't work.
Is there a way I can run an emulator on visual studio code without android studio's help?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我建议您在 VS Code 终端中运行“flutter doctor”来确定 Android Studio 和/或模拟器的任何问题。然后用发生的任何错误更新您的问题,或者简单地写出您在尝试启动模拟器时从 Android Studio 收到的错误。
但是,如果您只需在个人 Android 设备上打开开发者模式/选项,然后打开“USB 调试”,则不必使用 Android Studio 上的模拟器,这将允许您在应用程序上运行某个版本只要您通过 USB 数据线将手机连接至计算机即可。
I recommend that you run "flutter doctor" in your VS Code Terminal to determine any issues with your Android Studio and/or emulator. Then update your question with any errors that occur or simply write out the error you are getting from Android Studio when trying to start your emulator.
However, you won't have to use an emulator that is on Android Studio if you simply turn on Developer Mode/Options on your personal Android Device, then turn on "USB Debugging", this will allow you to run a version on your app on your phone as long as you have your phone connected to your computer through a USB cable.