Debugging an Android app to the phone

前端 未结 4 1978
鱼传尺愫
鱼传尺愫 2021-02-13 21:58

I\'ve gone through the page Using Hardware Devices. My manifest has



        
4条回答
  •  温柔的废话
    2021-02-13 22:27

    2 steps to follow

    1. Enable USB debugging mode in your android phone. settings > Applications > development > enable the "USB debugging" check box

    2. Enable manual deployment target on eclipse. Right Click on project > Run As > run configurations > select the "Target" tab > select the "Deployment Target Selection Mode" as ""manual""

    Now run your application normally and you will be asked to choose the device you wanna run.

    Then you can simply select the device you wish to run (Using serial number of the phone, if there are many devices running at the same time).

提交回复
热议问题