Debugging an Android app to the phone

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

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



        
4条回答
  •  隐瞒了意图╮
    2021-02-13 22:30

    I just picked up Android development again, and this is what worked for me using HTC Hero (2.1 update 1) on Eclipse (v. 3.6 (Helios), Service Release 1):

    • Start up Eclipse
    • Connect the phone
    • Ensure USB debugging is enabled
    • Set phone connection type to HTC sync, as opposed to charge only, etc.
      (You don't have to sync, but it need to be in this mode. A message will then be displayed in the task bar saying USB debugging is connected or something similar. Then follow AlexVolovoy's instructions (Right click on the Eclipse project -> Run As -> Run Configuration -> Target - Choose manual) and you should be good to go. Just remember to pick your phone from the list of targets.

提交回复
热议问题