Android - 在 SDK 2.1 上运行应用程序

发布于 2024-09-24 14:43:14 字数 677 浏览 1 评论 0原文

基本上,我已经购买了 HTC Hero (Android sdk 1.5),但我刚刚收到“系统软件更新”的通知,我同意将 sdk 更新到 2.1-update1

我成功地为 android sdk 1.5 开发了应用程序,但现在我已经为 Android sdk 2.1 创建了一个 Hello world 应用程序,然后当我尝试在更新的手机上运行它时,此时会显示以下屏幕:

alt text

在哪里可以看到 ??????序列号和 Taget 显示为“未知”。

在控制台窗口上,显示错误:“自动目标模式:无法检测设备兼容性。”

(第一个问题):我需要做什么来运行我正在开发的应用程序(sdk 2.1)?请告诉我

,当我尝试使用 USB 数据线连接手机时,它会显示一个有关“选择连接类型:”的警告对话框,显示以下选项:

  1. 仅充电
  2. HTC 同步
  3. 磁盘驱动器
  4. 互联网共享

(2dn 问题):那么我应该选择哪种模式来开发应用程序并在手机上运行它。

Basically, i have purchased HTC Hero (Android sdk 1.5) , but i just got the notification of "System software update" and i agreed to update the sdk to 2.1-update1 .

I was developing application for android sdk 1.5 successfully, but now i have created a Hello world application for the Android sdk 2.1 and then when i am trying to run it on my updated phone, at that time below screen is showing up:

alt text

where you can see ?????? in serial number and Taget is shown as "unknown".

On console window, it is showing up an error: "Automatic Target Mode: Unable to detect device compatibility."

(1st question): What i need to do to run the application(sdk 2.1) which i am developing ? pls let me know

And ya, when i am trying to connect phone using USB cable, it is showing an alert dialog regarding "Choose a connection type:" showing below options:

  1. Charge only
  2. HTC Sync
  3. Disk drive
  4. Internet Sharing

(2dn question): so which mode should i select for the development of application and running it on phone.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゝ偶尔ゞ 2024-10-01 14:43:14

也许你的 udev 规则需要修改。请阅读本指南来修复它们。我不知道为什么 SDK 升级应该修改这个,但我认为这可能是你的问题。

Maybe your udev rules have to be modified. Read this guide to fix them. I don't know why a SDK upgrade should have modified this, but I think this might be your problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文