简体   繁体   English

Android正在运行的模拟器

[英]Android running emulator

When I run my android project it isn't running in emulator but it is showing in the android studio. 当我运行我的android项目时,它不在模拟器中运行,但在android studio中显示。 Moreover, in messages, it is showing a message "Build Project failed", "Can't connect to the ADB Server" and some other errors. 此外,在消息中,它显示消息“构建项目失败”,“无法连接到ADB服务器”和其他一些错误。 Even if I run simple Hello World project I'm getting same errors. 即使我运行简单的Hello World项目,也会遇到相同的错误。 What should I do to run my project in an emulator? 我应该怎么做才能在模拟器中运行项目? I'm running nexus 5 with android 5.1. 我正在使用Android 5.1运行nexus 5。

I had same problem too. 我也有同样的问题。 But we have to look error messages. 但是我们必须查看错误消息。 In general solution; 一般解决方案;

  • You just create the AVD with 768 MB RAM ( It was worked ). 您只创建了具有768 MB RAM的AVD( 这是可行的 )。
  • Just use Genymotion ( more fast and reliable. Now i'm using this ). 只需使用Genymotion更快,更可靠。现在我正在使用 )。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM