Android app not launching on emulator

前端 未结 2 1655
失恋的感觉
失恋的感觉 2021-01-27 02:14

I just set up eclipse to start android development according to this http://developer.android.com/sdk/installing.html. My problem seems similar to this one: Android app not laun

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-27 02:48

    Try adding

    
    

    Eclipse by default launches the DEFAULT activity. If that does not work, right click on the project, and check the run configurations. You have an option to set which activity to launch.

    Also, you should be able to see the icon for your app in the applications drawer on the emulator launcher. Click on that icon and see if the app launches. If it does not, then the problem is in your activity somehow (although I did not see anything wrong in it).

    If those two do not work, try restarting adb from the command prompt:

    >adb kill-server
    >adb start-server
    

提交回复
热议问题