Phone doesnt show up in eclipse eventhough adb is working - android

ive got a slight problem with Eclipse. For some reason i cant find my device in the run configurations. USB Debugging is enabled on the phone and even the logcat output when the phone is attached in eclipse works, however i cant find the phone. If i select manual in the run configurations everything gets disabled in the menu like this:
Any ideas why? Phone is a HTC Desire HD running android 2.2.1 and i have the Froyo sdk installed.
Thanks in advance

That window allows you to choose your preferred Android Virtual Device.
If you chose "Manual", when launching the application from Eclipse, Eclipse should display a dialog, asking you on which device the application should run -- your real phone should be present, in that dialog.
As an example, here's how this dialog looks like for me, after I've choosen Manual in the one your posted :
(source: pascal-martin.fr)
The 192.168.0.10:5555 phone is my HTC Desire, connected over wifi (I would get the same result with USB -- except I would have the model's name of my phone, and not it's IP address)

Maybe your platform target is sdk version 10. Your Desire only has 8. Does your manifest maybe include the line:
<uses-sdk android:minSdkVersion="10" />

Related

Android Studio does not show my device while running the project

When i tried to run my project in android studio it does not show any device
But i had correctly installed the adb interface driver and it also show in my device manager(Android Device -> Android Composite ADB Interface ).
My device is LAVA iris X1 (kitkat 4.4.2)
Usb debugging was on
usb connection was switched to PTP (Camera)
I had also tried certain posts but non of them works
Please provide a helpful solution.
Thanks in advance.
launch 2 devices at the same time, sometimes the firts device launched is not showing probably for some bug but the second is recognized
Did you download the proper drivers for your device? I also find it useful to have the device dialog come up. If you go to Run Configurations you can select an option which will show the device chooser every time. Sometimes I have to plug and unplug my phone once or twice for it to be recognized. This screens help me debug this potential issue. Other then that check the drivers for the device if on Windows.

Samsung phone not getting detected by adt for a specific Android project

I have used my Samsung phone for running an android app(very basic app) once. I was trying to work on another app, but now, when I turn on the usb debugging in my phone and try running the new one, my phone doesn't show up in the CHOOSE A RUNNING ANDROID DEVICE list. I tried to run the previous app again, just to see if it works now, and surprisingly, it does ! I don't remember doing anything else other than turning on the usb debugging thing in my phone.
Any help would be appreciated :)
Thank you in advance.
be sure you have enabled usb debugging from your phone .....if yes follow this ..
First Install This Software on your pc then install apk on your phone
get it from here
http://www.mobogenie.com/product/mobogenie-pc.html
Try to enable ADB through command line tool .
For reference you can follow this link :See the link here
And if there is any further issues please comment below.
You need to install device driver for your Samsung devices After that you can restart your Eclipse & attach phone with usb.Now you can see the devices in devices list.
Connect phone by USB cable to your computer.Remember to set
android:debuggable="true"
in your AndroidManifest file
You'll also need "unknown sources" ticked under
Settings -> Application.
Try this link: http://developer.android.com/guide/developing/device.html
Connecting Your Own Device On Eclipse safely to run Application

Eclipse does not detect Android device

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.

Android Device Chooser shows my device but my app will not start on my phone! :(

My Device shows up on the Android Device Chooser as:
Serial Number -- Ige-vm670-A0000028F1773B
AVD NAME -- N/A
Target -- 2.2.1 (with a green check mark next to it!)
State -- Online
Everything seems fine..So, I press the "OK" button on the bottom right hand corner of the Device Chooser screen. When I do this the Device Chooser closes and the Launching bar in eclipse eventually finishes, but then the application never starts on my phone!! :(. Am I missing something? I tried using different USB cables, switching from USB 3.0, and checking if there is enough memory on my phone but nothing seems to work :(. PLease help this newbie!! I'd much appriciate it!! ALso, i'm running eclipse in windows 8.
following steps may help you
1)Restart your Device
2)Go to application settings and enable the USB debugging.
3)also enable other application to run on your device.
4)make sure that device status is online on android device chooser.
5)make sure that your device appear in device list in android Eclipse.
If above steps wont help you then try to run your project on emualator.And if emulator fails to launch your project then you need to see the android console
Enabling SD-Card access may result failure of connecting to the device.
Please try to switch MTP on instead of either PTP or SD-Card

Unable to run my app from Android Gingerbread 2.3.9 Phone

I am using Android 10 Gingerbread 2.3.9 version . I have tested my app on Emulator using Eclipse it works fine . Now I want to test my app on real device. For that I have googled a lot and found that we need to Download the Google USB Driver package from SDK Manager.
I have downloaded and Update my driver from Device manager then it says Your driver is Updated Successfully. When I plug my Phone to PC in device manager I got 2 options like Spreadtrum Phone and a Android Phone I have updated the driver for Android Phone and for the Spreadtrum Phone it shows a Yellow bar near left bottom corner. I dono what it was and googled to find a driver to update it also but could not figured out. I left that part and tried in another way.
I have connected my Phone to my PC and then copy the .apk file into my SD Card and then unplug the cable from my pc. then I click on my .apk file. I was able to run. but the problem is with when
I try to debug the app from eclipse when phone is connected. I have chosen the option as "Allow me to Pick a device every time" from Run Configurations". But I am unable to see my device in my Devices list also I tried from Command prompt "adb devices" it is not listed my phone which I connected. I have Checked 'Unknown Resources" and also Checked " Use Debugging" in Developement menu option. but nothing solves my problem.
I have tried a lot of code samples and every one is doing in the same way but I could not figure out the problem.
Please friends tell me what is the problem as I am not able to debug from my eclipse I can't figure out the problem from LogCat also.
Thanks
Ganesh

Categories

Resources