How to load my app from Eclipse to my Android phone instead of AVD

后端 未结 16 1931
礼貌的吻别
礼貌的吻别 2020-12-07 14:01

I\'m quite new to Android and have been using an AVD to debug my app so far. However, I want to start checking the media options and therfore need to start using my Android

16条回答
  •  爱一瞬间的悲伤
    2020-12-07 14:53

    What I did, by reading all of above answers and it worked as well: 7 deadly steps

    1. Connect your android phone with the pc on which you are running eclipse/your map project.
    2. Let it install all the necessary drivers.. When done, open your smart phone, go to: Settings > Applications > Development > USB debugging and enable it on by clicking on the check button at the right side.
    3. Also, enable Settings > Unknowresoures
    4. Come back to eclipse on your pc. Right click on the project/application, Run As > Run configurations... >Choose Device>Target Select your device Run.
    5. Click on the Target tab from top. By default it is on the first tab Android
    6. Choose the second radio button which says Launch on all compatible deivces/AVDs. Then click Apply at the bottom and afterwards, click Run.
    7. Here you go, it will automatically install your application's .apk file into your smart phone and make it run over it., just like on emulator.

    If you get it running, please help others too.

提交回复
热议问题