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:
Charge only
HTC Sync
Disk drive
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.
Related
I am stuck with Android Wear Testing in Emualtor and my Phone.
I have installed Android 6(API 23) Android Wear Intelx86 Atom System Image in SDK Manager.
Create Android Wear Round AVD with required configurations. Now my Android Wear AVD is started properly.
Now i installed Android Wear app in my Phone and followed below video and steps to pair my Android Wear with my Nexus 5 phone.
https://support.google.com/androidwear/answer/6056630?hl=en
I got an acknowledgement saying "Paired" in my phone after enabling Bluetooth and sharing the pair Token. Soon after that the phone hangs at below screen and i am not able to proceed further.
Can someone help me how to proceed further.
For reference please see the following blog, might help you resolve the problem for real device.
http://engineering.naukri.com/2016/04/android-wearsmartwatch-app-got-automated-naukri/
Trying to get my phone connected so I can use it to test things I am trying to develop. My phone is LG G3. I verified that it is in developer mode. When I connect it to my computer I see the phone in the device manager.When I right click on it and choose update driver, and search online for update I get a message that I already have the latest version installed. When I open Android Studio and connect my phone it doesn't show up in available devices. Does anybody have an idea what I am missing?
After much searching and advice I finally managed to find the driver that I needed.
In the interests of helping anyone else who runs into this problem, here is what I found:
Go to the LG UK site: http://www.lg.com/uk/support/software-firmware
Select your model number
On the page that opens there are a few options for updating. I chose option 2 (USB Driver), and downloaded the installer.
Eclipse is not detecting my phone. It's a Samsung Galaxy S2 HD LTE, Android version 4.0.4. Working in Windows 7. I have enabled USB debugging and updated the driver for it, but when I go into Eclipse Run --> Run Configurations --> Target it is not listed.
Not sure if this is relevant but I heard in another thread that the build target for your project has to be <= to the version of your device. If this is the case, all the options here are higher and there doesn't seem to be a way to add another so I'm not sure what to do. Also checked the manifest file to see what the min SDK is. It's 8 (which corresponds to android version 2.2) so that is fine.
I'm wondering if it has to do with "Android" being listed under Other Devices in the Device Manager (as per image below). I'm not even sure what this is. The phone itself says it's already updated, but when I try to update Android it can't find the driver software.
Another issue could be that when I connect the phone to my PC, it lists it as a camera instead of a mobile device, and displays the message "Connected as a camera" on the phone itself. The first time I connected, it also showed some error message about how device was not installed properly, but I haven't seen this message again and so not sure what to do about that, or that stupid Autoplay window that pops up every time I connect.
If you have any ideas please let me know!
Check if your Android Composite ADB Interface is correctly installed.
You can refer OEM USB Drivers and Debugging on real device for more details.
I am working on Mac system, in my Eclipse when I right click on project and run it, it used to run on the device but now suddenly its not showing the device in the Android Device Chooser
I have checked in USB debugging enabled on phone it enabled, I am using Nexus One.
I have also checked with few links :
Why is Eclipse's Android Device Chooser not showing my Android device?
Android Device Chooser -- device not showing up
But I am unable to solve the issue.
(Answered by the OP in a question edit. Moved here as a community wiki answer, even though it is mainly a web link. See Question with no answers, but issue solved in the comments (or extended in chat) )
The OP wrote:
Thanks to this link here;
http://forum.xda-developers.com/showthread.php?t=649663
ok i solved it by myself i tried to kill the adb driver and started again and also my Nexus one is 2.3.3 which is api level 10 but my app was api level 11.
The link contains instructions on setting up and running adb on a Mac.
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:
"Automatic Target Mode: Unable to detect device compatibility. Please
select a target device."
and the "Android Device Chooser" pops up.
I can select the Nexus One and everything is ok. It annoys me, however, that i need to select the device every time i want to test something.
Setting a build target name to any standard android version (not using Google apis) automatically launches my app without showing the Android Device Chooser. But since i need the maps, that is not an option for me.
Is there a way to force an application using Google apis, to be launched on the attached device without showing the Android Device Chooser?
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.
This is an irritating acknowledged defect (Issue 11373) reported on the Android Issue tracker.
The Issue has status Assigned and presumably will be fixed.
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
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 ?
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.