Android app not running on emulator nor real device

六眼飞鱼酱① 提交于 2019-12-23 20:14:58

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/12613250/android-app-not-running-on-emulator-nor-real-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!