debugging with phone help - Android Software Development

So I've been trying to debugg my app through my phone, I set the debugging on but wheneverI connect my phone, the emulator still the one that starts. According to Google I just need to connect my phone with debugging on but it just not letting me do it. I have drivers installed.
anyone please help?
Sent from my SGH-T959 using XDA App

Are you using Eclipse?

yes. why?
Sent from my SGH-T959 using XDA App

Does your phone appear in the device list on DDMS? If it doesn't then the drivers may not have been installed properly.

I had problems with my Photon after a Windows update botched my drivers. I reinstalled them and the problem was fixed.

I already fixed it. I just installed adb drivers and eclipse detected my phone.

Related

having trouble rooting!

i been rooting phones since i knew how which has been like 3 years! and this epic has been by far the biggest poin in my ass.. i have tried everything in my power ot get it rooted i have read every thread about the one click root and all that but heres my problem ... my phone recognizes my phone when i do not have usb debug on soon as i click it on it puts a up a screen that says need to fine files like me put them manually or windows scans for it .. i have tried everything even going to the drivers and manually updating them and no go !! i have uninstyalling and install tried putting phone back to factory reset ! and still no go .. just keep getting device not found on the run run bat ... please help! i have thread after thread and ive tried it all dont know what to do ..
are you trying to do the one click in recovery?
No I'm doing exactly what is says on page one.. I downloaded the drivers . Then. I put on debug mode then plug in and do the run and it says device not found... am I suppose to do in recovery.. or what.. tried it at my work to and no go
Sent from my SPH-D700 using XDA App
try downloading and installing the android sdk, this fixed this issue for me, just make sure to install the components for android 2.1 etc... PC recognized right away after this:
http://developer.android.com/sdk/index.html
Thanks I will try this !!!
Sent from my SPH-D700 using XDA App
I k ow my computer had probably with certain USB ports don't know if that's your prob but that personally took me a while to figure out and I was pissed like no other
Sent from my SPH-D700 using XDA App
Once you have sdk installed, if you're having trouble connecting your phone to your computer, get "adb wireless" from the market and you can connect that way leaving no need for the usb cable. All you need is your phones wi-fi turned on and a know how of adb.
Sent from my SPH-D700 using XDA App
BThomas22x said:
Once you have sdk installed, if you're having trouble connecting your phone to your computer, get "adb wireless" from the market and you can connect that way leaving no need for the usb cable. All you need is your phones wi-fi turned on and a know how of adb.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
You have to have a router too. A way that both the computer and phone can connect.
Yeah... Thanks
Sent from my SPH-D700 using XDA App

[Q]Computer won't recognize phone?

When I plug my wife's phone into my computer it doesn't recognize it as a media device. It does recognize it as an adb device though so I was able to unlock the bootloader and root it. She wants me transfer music and can't, any ideas? Also when I plug in my nexus 4 it appears as a media device.
Sent from my Nexus 4 using xda app-developers app
Bump. Can anyone help me?
Sent from my Nexus 4 using xda app-developers app
Anyone?
Sent from my Nexus 4 using xda app-developers app
mark8503 said:
Anyone?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
when you first put it in, did it download any drivers? if it didnt then go to lgs website and download them.
I got the same effing problem and haven't been able to figure out how to fix it. Every time I uninstall the phones drivers stupid windows will install it right back as adb device...
Sent from my Nexus 4 using xda premium
I have a similar problem with my wife's N4. Hers does not recognize as a MTP device nor as an ADB device. In device manager it shows it, but adb devices never lists it and it never shows up in Computer when I disable USB debugging. My N4 has no problems with either. I've uninstalled and reinstalled the drivers and can't figure it out!
Weird thing though, it detects it in fastboot mode.
I just got off the phone with Google Play Devices support and explained the issue. They are assisting in getting an exchange.
tutech said:
I have a similar problem with my wife's N4. Hers does not recognize as a MTP device nor as an ADB device. In device manager it shows it, but adb devices never lists it and it never shows up in Computer when I disable USB debugging. My N4 has no problems with either. I've uninstalled and reinstalled the drivers and can't figure it out!
Weird thing though, it detects it in fastboot mode.
Click to expand...
Click to collapse
I had this same problem, and it was the lack of drivers. Uninstall in device manager what you have, restart, then install the 4.2 Google SDK drivers. This works in Windows 8 without any extra procedures. I have the SDK installed, and directed the 'have disk' driver search to the SDK directory/extras/google. There were three adb drivers, and I installed them all. I really don't know what I'm doing, but that solved the problem.
Nexus4, Tapatalk
tutech said:
I just got off the phone with Google Play Devices support and explained the issue. They are assisting in getting an exchange.
Click to expand...
Click to collapse
Dude it's not the phone lol. It's the computer. When I plug my phone into my dad's computer it detects it fine. It happened on mine because I installed those adb drivers
Sent from my Nexus 4 using xda premium
What worked for me was uninstalling my old Motorola drivers and then using http://forum.xda-developers.com/showthread.php?t=1995688 to uninstall the SDK drivers for the Nexus 4 that I had originally installed when I got the phone. Then I installed the drivers provided with the Nexus 4 Toolkit and everything works great. MTP, ADB, Fastboot, and the phone is recognized within CWM/TWRP.
tyea said:
I had this same problem, and it was the lack of drivers. Uninstall in device manager what you have, restart, then install the 4.2 Google SDK drivers. This works in Windows 8 without any extra procedures. I have the SDK installed, and directed the 'have disk' driver search to the SDK directory/extras/google. There were three adb drivers, and I installed them all. I really don't know what I'm doing, but that solved the problem.
Nexus4, Tapatalk
Click to expand...
Click to collapse
I can uninstall the drivers just fine but when I plug in the nexus it automatically installs the adb drivers again..
Sent from my Nexus 4 using xda premium
have kind of a similar problem, but a bit different
my computer was able to detect the phone in mtp, adb and fastboot mode, installed the drivers, unlocked bootloader, and everything was fine
this morning the computer no longer able to detect the phone, but it still charges when i plug in the usb cable to the computer; cant transfer files, adb and fastboot list no devices, even device manager doesnt show the phone being plugged in
UPDATE: just tried on another computer, nothing... not even asking for drivers, and the phone doesnt even show it is connected in MTP mode like before... im screwed
I have a similar problem too..
My Nexus 4 works fine when I plug it into the computer, it shows the device just fine. But, when I plug my brother's Nexus 4 into my computer, it does not recognize it, it installed the drivers but I can't see the device in My Computer. In device manager, it shows up. With my brother's phone, I can mount it as Camera (PTP) and I can go into it, but it cannot detect it as a Media device (MTP)
Girn said:
I can uninstall the drivers just fine but when I plug in the nexus it automatically installs the adb drivers again..
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Perhaps, in device manager, select the adb driver, right click to update, direct the update to have disk....SDK Google extras location?
Nexus4, Tapatalk
Think I tried that before and windows said the drivers are already up to date
Sent from my Nexus 4 using xda premium
Girn said:
Dude it's not the phone lol. It's the computer. When I plug my phone into my dad's computer it detects it fine. It happened on mine because I installed those adb drivers
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
In my case anyway, its definitely not the computer. I have two identical, brand new Nexus 4 16GB phones. One is recognized with the appropriate drivers on my computer and the other is as well, however the second one does not show in My Computer nor get listed with ADB devices - unlike the first. The only difference between the two scenarios is the physical phone that is plugged into the computer.
Same with me, my phone works fine but when I plug my wife's in.. Nothing.
Sent from my Nexus 4 using xda app-developers app
I haven't been able to fix it by the suggested methods.. When it's on the other mode for camera pics it works fine and in device manager I get under " portable device" nexus 4 showing up.. But when I switch it to MTP all I get is android adb interface in device manager and no nexus 4
Sent from my Nexus 4 using xda premium
Bump
Sent from my Nexus 4 using xda premium
Girn said:
I haven't been able to fix it by the suggested methods.. When it's on the other mode for camera pics it works fine and in device manager I get under " portable device" nexus 4 showing up.. But when I switch it to MTP all I get is android adb interface in device manager and no nexus 4
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Same for me. I did get it to read my wife's phone though by using the nexus 4 toolkit to uninstall then reinstall the drivers. Funny thing, now it reads her phone and not mine. D'oh!
Sent from my Nexus 4 using xda app-developers app

Need some help installing drivers

So I got my n4 last week and I've been trying to unlock and root it to no avail. I've tried using the toolkit as well as using the method indicated in another thread on xda. I keep getting errors when trying to install the drivers.
I've been able to get the adb driver installed on win 7, but not the fastboot driver (using the toolkit).
I've even tried installing the drivers using the toolkit on a VM running xp without any luck.
Could someone please help me out with this? I remember having similar issues when rouoting my captivate, but I was able to use my work laptop to install the drivers (I don't have admin rights anymore).
Sent from my Nexus 4 using xda app-developers app
A) Proofread.
B) Reboot into recovery and plug the phone into the computer. Go to device manager on your computer, look for the USB device with the yellow exclamation point, update the driver. Reboot your computer.
estallings15 said:
A) Proofread.
B) Reboot into recovery and plug the phone into the computer. Go to device manager on your computer, look for the USB device with the yellow exclamation point, update the driver. Reboot your computer.
Click to expand...
Click to collapse
A) Wow that was bad, corrected
B) No devices were displayed in device manager when I booted to recovery. By the way, when I tried to update the drivers in fastboot mode, I kept getting errors.
Perhaps an earlier driver needs uninstalled? Check this thread: http://forum.xda-developers.com/showthread.php?t=1992345
I tried that driver, that is the driver I referenced in the OP, sorry for boy linking.
Sent from my Nexus 4 using xda app-developers app
Austin Ag06 said:
I tried that driver, that is the driver I referenced in the OP, sorry for boy linking.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I was actually referring to the comments in the thread. A ton of people had issues installing. I thought you might try some of their methods.

Rogers Galaxy S4 PC Connection Problem

I was trying to transfer some music file to my phone, but my Kies (Win 7 64bit and Win 7 32bit) could not detect my phone I tried to re install the drivers several time without any luck, phone still charging by PC and when ever I uninstall driver from PC and connect my phone PC start installing all the driver and install driver without any error but still my phone doesn't show up in kies or in windows and connected devise.
It would be appreciated if some one guide me to resolve this issue.
Thanks,
clean the registry when you uninstall drivers using ccleaner
polish_pat said:
clean the registry when you uninstall drivers using ccleaner
Click to expand...
Click to collapse
Still no luck, Kies still not showing my phone
I restore stock firmware by ODIN and still my phone does not show up in my PC
Any suggestions?
Bump
Sent from my SGH-I337M using xda app-developers app
nomi640 said:
Bump
Sent from my SGH-I337M using xda app-developers app
Click to expand...
Click to collapse
Do you have android debugging checked?
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
I tried both with usb debugging and without but no results
Sent from my SGH-I337M using xda app-developers app
Bump
Sent from my SGH-I337M using xda app-developers app
Any help
Sent from my SGH-I337M using xda app-developers app
nomi640 said:
Any help
Sent from my SGH-I337M using xda app-developers app
Click to expand...
Click to collapse
I've never installed Kies in my life, so I can't comment on it's functionality. nor am I stock...but before I rooted and started flashing, my Rogers S4 was stock.
I used the AT&T drivers to get it to connect in debug or MTP mode. Maybe they will help. You can find them HERE. click downloads or see all downloads and then EXE on the right for the USB Drivers...
still no luck
nomi640 said:
still no luck
Click to expand...
Click to collapse
well I know those drivers work for fact. My Rogers S4 was running VLUAMDJ software...my computer installed some drivers but it didn't work...it never showed up. just like your symptoms. I uninstalled my existing Samsung drivers (which I downloaded when I got my Note 2)...reboot...install those drivers I linked you to, connected phone...detected right away and MTP started working as expected.
so you either have issues with your system (software wise), or it's a faulty cable. I'm going to lean towards the latter first. It's not the first time I've seen that. feel free to try another cable...also if you want...plug your phone in and take a shot of dev mgr and paste it so I can review...or PM me the pic if you prefer....
I thought kies had a troubleshooting mode. Have you tried that? It is referenced I the noob rooting video.
Here is pic for my dev mngr, I tried 3 usb cable, kies troubleshooting but still not showing up, when I plug my phone kies start-up but does phone does not show up in computer or kies.
Thanks for all reply, I can't send phone to Samsung for repair either because I bought from kijiji and Samsung warranty is not transferable
xtechx said:
well I know those drivers work for fact. My Rogers S4 was running VLUAMDJ software...my computer installed some drivers but it didn't work...it never showed up. just like your symptoms. I uninstalled my existing Samsung drivers (which I downloaded when I got my Note 2)...reboot...install those drivers I linked you to, connected phone...detected right away and MTP started working as expected.
so you either have issues with your system (software wise), or it's a faulty cable. I'm going to lean towards the latter first. It's not the first time I've seen that. feel free to try another cable...also if you want...plug your phone in and take a shot of dev mgr and paste it so I can review...or PM me the pic if you prefer....
Click to expand...
Click to collapse
Any idea?
nomi640 said:
Any idea?
Click to expand...
Click to collapse
sorry forgot about the thread, my apologies. I haven't been using tapatalk as much recently, and that's where I used to check my participated threads.
I don't have those devices under ports if I have usb debugging on or off...weird. I'm on win8 x64...the only thing I didn't expand was Portable devices...I only have the two references in my dev mgr....
can you try uninstalling all the detected devices in dev mgr, and delete the driver from the system when doing so? then disconnect the phone, reboot, install those at&t drivers, then plug the phone in and test?
I want to recommend removing Kies before all of that, but not sure if you used it in the past, where it store the backed up data, etc..if you've never used it then please do uninstall Kies before what I mention above...
let me know.
Tried everything but no luck
Sent from my SGH-I337M using xda app-developers app
nomi640 said:
Tried everything but no luck
Sent from my SGH-I337M using xda app-developers app
Click to expand...
Click to collapse
I've installed those drivers on 3 different windows 7 systems this week and not one has failed to recognize MTP on the device first try...I even soft bricked my device a couple days ago, odin'ed back to VLUAMDJ stock, installed drivers on a win8 system that had never had an Android device plugged into it and wasn't connected to the internet (just installed those at&t drivers from a usb drive)...guess what...worked again..
It shouldn't work so easily for soo many people then not at all for you. I'm baffled at how easily it works for me even, and I've been trying to make it not work. I"m a technician I enjoy trying to break things to see if I can duplicate an issue, and fix it....and I can't duplicate your issue.
either something to with your USB port(s), or drivers (either mobo chipset or usb), or windows installation. if you have usb that are controller by a chipset like Intel then other USB that are another chipset, try on the other "bank" so to speak...you'd have ot know how to look for that if you had it though...or try it on someone elses computer with those at&t drivers. don't connect the phone until you install the drivers.
if it's not usb port(s), drivers, or the windows installation you either have 3 bad micro USB or you have a faulty USB port on your phone. or pocket lint preventing a proper connection (although I've assumed you've looked for that already)...those are the only things left.
Still no luck
Sent from my SGH-I337M using xda app-developers app

Cannot get drivers or usb debugging working

Just got my phone today and for some reason cannot install the drivers in order to root my phone. I've enabled developer mode also and usb debugging is also not recognized oh the device as showing up on screen although its checked as active. Could my drivers for the nexus 5, nexus 7 our old nook he be coming into conflict with the drivers from this device somehow? I've routed several phones and this is strange and unusual behavior to me. Any help would be appreciated.
Sent from my LG-D800 using xda app-developers app
reignlight said:
Just got my phone today and for some reason cannot install the drivers in order to root my phone. I've enabled developer mode also and usb debugging is also not recognized oh the device as showing up on screen although its checked as active. Could my drivers for the nexus 5, nexus 7 our old nook he be coming into conflict with the drivers from this device somehow? I've routed several phones and this is strange and unusual behavior to me. Any help would be appreciated.
Sent from my LG-D800 using xda app-developers app
Click to expand...
Click to collapse
It would help to know morea about what OS your using to root it. What have you tried so far? What cable are you using? Have you tried it on more then one machine? There is pertinent information missing that makes it hard to help. The old drivers might be causing a confict but I doubt it. However, if you think they are just uninstall them.
Switch to camera mode
Sent from my LG-D802 using Tapatalk

Categories

Resources