문제

I installed the ADT (Android Developer Tools) plugins for eclipse and directed it to the correct Android APK files. I also have Android Virtual Device set up.

Nothing happens when I click "run as android application," but my AVD runs fine and is actually very responsive.

This is all Java in eclipse by the way.

enter image description here

Right click the pic, and open it in a new tab to see the larger version.

EDIT: Fixed, all I had to do was click run dropdown menu on eclipse, then click run again :)

도움이 되었습니까?

해결책

Try installing it manually to see if adb is working. This is time consuming, but is a workaround. See this page on how to do that: How to build an APK file in Eclipse?

How to install an .apk file on the emulator:

Start the console Run (Windows + R) then type cmd, and move to the platform-tools folder of SDK directory. this is located wherever you've placed the adt folder.

Paste the APK file in the platform-tools folder.

Then type the following command: adb install example.apk

Modify example.apk to the name of the apk you've chosen.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top