Android应用程序不能在模拟器也不真实设备运行 [英] Android app not running on emulator nor real device

查看:241
本文介绍了Android应用程序不能在模拟器也不真实设备运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Eclipse的(JUNO版),SDK,ADT(20.0.3)并通过Developer.android.com配置它们。从那以后,我在Eclipse上做了一个虚拟设备的(Android的4.1 API 16级)为好,但是当我运行在的Hello World在Eclipse应用程序,模拟器运行与出错误,但该应用程序未在模拟器中运行。
也有与实际设备的问题。我使用的是Windows 7/64位和HTC Incredible S的电话。当我将设备连接到我的电脑,Windows检测到它,但日食不会检测它。 (该USB调试启用设备和USB驱动程序更新在Windows上)。
我尝试了不同的解决方案,如重新安装eclpise,SDK和ADT,消除ADV和创造新的,......但问题并没有解决。

I've installed eclipse (JUNO version), SDK, ADT (20.0.3) and configured them through the 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. There is also the problem with real device. I use Windows 7/64 bit and HTC incredible S phone. When I connect the device to my pc, windows detect it, but eclipse does not detect it. (The USB Debugging is enable on device and USB driver is updated on windows). I tried different solutions like reinstalling eclpise, SDK and ADT, removing ADV and creating the new one,... but the problem did not solve.

推荐答案

难道ü位于您的Andr​​oid SDK中?如果没有,找到SDK如下:

Did u located your android sdk? If not,locate the sdk as follows:

open Eclipse->Windows->preferences->Android->Select your android sdk folder.

那么请尝试运行您的程序。告诉我的情况后。

then please try to run you program. Tell me the status after that.

这篇关于Android应用程序不能在模拟器也不真实设备运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆