简体   繁体   中英

Android - Run application on SDK 2.1

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:

替代文字

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM