Android app not running on emulator nor real devic

2019-07-04 20:47发布

问题:

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.