gpt4 book ai didi

android - 我可以将连接的设备设置为默认启动目标吗?

转载 作者:IT老高 更新时间:2023-10-28 23:35:27 26 4
gpt4 key购买 nike

在 Eclipse 中,我正在使用 Google APIs (maps) 开发应用程序。在 Nexus One 上。
当我在设备上启动应用程序进行调试时,我得到:

"Automatic Target Mode: Unable to detect device compatibility. Please select a target device."

然后会弹出“Android 设备选择器”。
我可以选择 Nexus One,一切正常。然而,这让我很恼火,每次我想测试某些东西时都需要选择设备。

将构建目标名称设置为任何标准 android 版本(不使用 Google api)会自动启动我的应用,而不显示 Android 设备选择器。但因为我需要 map ,所以这不是我的选择。

有没有办法强制使用 Google api 的应用程序在连接的设备上启动而不显示 Android 设备选择器?

最佳答案

转到您的项目属性。选择Run/Debug Settings,点击你的运行配置的Edit按钮,在即将出现的对话框中选择Target标签,将选择框切换为“自动”并通过您的设备选中复选框。

关于android - 我可以将连接的设备设置为默认启动目标吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2243651/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com