Can I set an attached device as default launch target?

前端 未结 5 1657
误落风尘
误落风尘 2021-02-07 08:19

In Eclipse I am developing an application using Google APIs (maps) on a Nexus One.
When I launch the application for debugging on the device i get:

相关标签:
5条回答
  • 2021-02-07 08:32

    This may be useful to you.

    First Find the Your device OS Version & API Level.

    IN Eclipse, Then Right click on Your project select Property, In Property's window select Android, In it select Project Build Target as per your device OS API Level.

    For example i have Samsung Galaxy Fit - Android 2.2 os API Level - 8 so i,selected the Google APIs, Google Inc, 2.2, 8 .

    Let me know this is useful for you or not ?

    0 讨论(0)
  • 2021-02-07 08:39

    Once the popup comes up to choose a device, select your device and then check the Use same device for future uses at the button of the Dialog.

    0 讨论(0)
  • 2021-02-07 08:41

    This is an irritating acknowledged defect (Issue 11373) reported on the Android Issue tracker.

    The Issue has status Assigned and presumably will be fixed.

    0 讨论(0)
  • 2021-02-07 08:48

    I was just having this problem and traced it to my USB connection. I had started using a 2.0 hub, which I would think to be sufficient. It's powered. When I plugged the USB cable into the laptop itself, problem solved.

    Good luck.

    Mark

    0 讨论(0)
  • 2021-02-07 08:55

    Go to your project properties. Select Run/Debug Settings, click the Edit button of your run configuration, select the Target tab in the upcoming dialog, switch the selectboxes to "Automatic" and check the checkbox by your device.

    0 讨论(0)
提交回复
热议问题