简体   繁体   English

Eclipse ADT无法运行/安装android应用程序

[英]Eclipse ADT won't run/install android application


I am new to android application development. 我是android应用程序开发的新手。 I have the eclipse ADT, JDK 7 and an android device (Nexus 5). 我有Eclipse ADT,JDK 7和一个Android设备(Nexus 5)。 I made a test app and would like to try it out on my Nexus. 我制作了一个测试应用,想在Nexus上试用。 However, when I click the green "run" button, nothing happens. 但是,当我单击绿色的“运行”按钮时,没有任何反应。 My device is connected via USB and also show when i do adb devices and also in the DDMS so my drivers are installed correctly. 我的设备通过USB连接,并且还显示我何时使用adb devices以及DDMS,以便正确安装我的驱动程序。 I can also see the logcat for everything happening on my phone in realtime through the eclipse ADT. 我还可以通过Eclipse ADT实时查看电话上发生的所有事件的logcat。
When I click run, nothing happens. 当我单击运行时,什么都没有发生。

The default Eclipse "Run" behavior is to launch an AVD. Eclipse的默认“运行”行为是启动AVD。 Go to your "Run Configurations" and set it up to prompt you on run rather than assume it should launch an AVD. 转到“运行配置”并将其设置为提示您运行,而不是假设它应该启动AVD。

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

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