[英]Android app not running on emulator nor real device
I've installed eclipse (JUNO version), SDK, ADT (20.0.3) and configured them through the Developer.android.com. 我已经安装了eclipse (JUNO版本),SDK,ADT(20.0.3)并通过Developer.android.com配置它们。 After that I made a virtual device on eclipse (Android 4.1 API level 16) as well, but when I run the "Hello World" application in eclipse, the emulator is running with out error but the app is not running on the emulator.
之后我在eclipse (Android 4.1 API级别16)上创建了一个虚拟设备,但是当我在eclipse中运行“Hello World”应用程序时,模拟器运行时出现错误,但应用程序未在模拟器上运行。 There is also the problem with real device.
真实设备也存在问题。 I use Windows 7/64 bit and HTC incredible S phone.
我使用Windows 7/64位和HTC令人难以置信的S手机。 When I connect the device to my pc, windows detect it, but eclipse does not detect it.
当我将设备连接到我的电脑时,Windows会检测到它,但是eclipse没有检测到它。 (The USB Debugging is enable on device and USB driver is updated on windows).
(USB调试在设备上启用,USB驱动程序在Windows上更新)。 I tried different solutions like reinstalling eclpise, SDK and ADT, removing ADV and creating the new one,... but the problem did not solve.
我尝试了不同的解决方案,如重新安装eclpise,SDK和ADT,删除ADV并创建新的,...但问题没有解决。
Did u located your android sdk? 你找到了你的android sdk吗? If not,locate the sdk as follows:
如果没有,请按如下方式找到sdk:
open Eclipse->Windows->preferences->Android->Select your android sdk folder.
then please try to run you program. 那么请尝试运行程序。 Tell me the status after that.
告诉我之后的状态。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.