Problems connecting Samsung Galaxy S2 to computer - android

I've got a Samsung Galaxy S2 and am taking an android development class. For the past two months, I've been using the emulator to run the activity.
Recently, I've been trying to get it connected to my device. Now, the drivers are installed on my computer as I can see the device (and view the files) through "My Computer" (Windows 7 Professional). However, using something like
adb devices
does not show the device, nor through the app launcher in eclipse (when choosing between a virtual device or connected one).
Any help on trying to get it recognized by adb?
Some misc. things:
the model is SPH-D710
I've enabled USB debugging from the phone

OP here, through some help on #android (on freenode), I was able to get this fixed.
The steps I took were,
Remove all pre-existing drivers
I installed a universal driver linked by: http://forum.xda-developers.com/showthread.php?t=1514942
And it worked after that.
Thanks davieslacker

Related

Connect Samsung Galaxy S6 Edge on Mac OS to debug in Android Studio

I've made all the steps to become a developer on the cellphone, and also enabled what is necessary.
I also have already used this samsung galaxy to debug on another computer, and worked just fine.
However my Mac (10.7 El Capitan) does not even recognize my cellphone when I plug on the USB.
So, I've looked for in a lot of sites to install the necessary drivers for the usb port. However, all of them recommend to install SmartSwitch or Kies3, which I've also downloaded.
But, both need the cellphone connected on the computer to install all the drivers I need. But, I can't even make my Mac recognize my samsung S6 edge.
Does anyone had also the same problem? What should I do to make this work? Debugging using the emulator does not solve my problem! I need to debug on the real device.
Do not to use the fast charge cord for this purpose. Buy another android cord to debug

Windows 7 can recognize only one Nexus 7 tablet. It can't see a new one

I hope someone can help me.I could connect my windows 7 machine and Eclipse successfully to my nexus 7. I lost my tablet and I bought the new one but now my windows machine can't even recognize it as external device neither my Eclipse works with it anymore. Does windows 7 keeps USB ID somewhere? Should I re install something?I appreciate your help.
Be sure that you have USB Debugging enabled.
Open up Device Manager. Do you see a tab for ADB Devices? Do you see your N7 anywhere on the list?
If not, on your tablet, go in and change the PC Connection mode to whichever one it is not on. And then try again.
I have had problems with my N7 as well where it will only connect when set to a certain connection type.
I have found that if Eclipse is not installed on the computer, the computer is able to see multiple Nexus 7 tablets as MTP devices. However, for computers that have Eclipse installed on them they can only see the first Nexus 7 tablet connected to them as an MTP device. All other tablets connected to the computer are seen as an unspecified device. It seems like Eclipse is storing a unique identifier from the first tablet associated with it. The only way I can get apps built in Eclipse onto my other Nexus 7 tablets is to change the usb connection to PTP (not MTP) and then my windows 7 computer sees my tablet as a camera and I can move the .apk file over to the tablet. Is this how it's suppose to work?

Hardware debugging using Samsung Galaxy S3 in Windows

Picked up my S3 on launch and want to get started learning to develop for android using Eclipse. So far I'm having fun!
However, I want to be able to debug my application on the phone hardware itself and not just in an AVD. My problem is that I cannot find appropriate USB device drivers. The Samsung support site is garbage and windows update told me 'where to go'.
Has anyone got this working yet? If so, how?
For those still looking, you don't need to install the bloat. Go to:
http://www.samsung.com/us/support/owners/product/SCH-I535RWBVZW
Click on or scroll to "Manuals & Downloads" and then USB (Driver) is available under "Downloads".
Direct download link: Samsung USB Driver - 1.5.45.00
Turns out you have to install Samsung Kies to get the USB driver. Similar to the iPhone. I wanted to avoid this unnecessary bloat (i plugged my phone in and it threw a WPF exception...) and thankfully you can uninstall Kies without uninstalling the driver. Result.
After that, ADB is able to see the phone with no problem at all and I can debug on the device perfectly.
you need the usb driver for it. Once you have that installed simply connect the phone via usb to your machine, start eclipse and adb will pick up the device given that the drivers installed properly. try this link, one of these will probably have the driver. Samsung Galaxy S3 downloads
Can be downloaded on the following link
http://www.samsung.com/uk/support/usefulsoftware/ASPS/JSP
There's no need for KIES or other bloat!!
There's a very useful toolkit that does much more then kies, and it's available here:
http://forum.xda-developers.com/showthread.php?t=1703488
Direct link from Samsung's Downloads section:
http://org.downloadcenter.samsung.com/downloadfile/ContentsFile.aspx?CDSite=US&CttFileID=5301407&CDCttType=SW&ModelType=C&ModelName=SCH-I535RWBVZW&VPath=SW/201211/20121110030255344/Samsung_USB_Driver_for_Mobile_Phones_v1.5.14.0.exe

Problems faced trying to get device connected to Eclipse

I'm currently facing problems trying to get my android device to connect to Eclipse in order for me to push files into the folders as well as push apk files into my device. I've recently just downloaded Samsung Kies and have tried until now i still cant see my device in the ddms page under the devices view. All i can see right now is only my emulator. Any Suggestions? the device i'm using is samsung galaxy s2 i1900G. Hope u guys can help me out.
The main problems I face when I try to connect a new phone with USB debugging connection is that :
* USB debugging isn't activated.
* The OS on any phones except the Nexus phones are Android with modifications. Samsung and a lot of other brands modify android to get in their own bloatware and own system updates.
I had a sony xperia z1 that did not connect with USB debugging untill I went from android 4 to android 5.1.1
There is a question where someone had a similar problem and solved it: https://stackoverflow.com/a/38171690/6296561

Android Development on Samsung Galaxy S

I am trying to test my Android apps in my Samsung Galaxy S i9000 but I dont know why, I cant. It doesn't appear in the Devices tab on Eclipse.
I've downloaded the Google Drivers via SDK Manager, I've got the Samsung Drivers for Windows x64, I've put it in debugging mode, and still nothing.
This is weird, because some time ago, but in another computer, I was able to do this with my old Xperia X8 and Nexus S, with no problem.
This phone is rooted and has a MIUI Rom on it, but my old phones were rooted and had cooked rooms too, and worked perfectly.
Am I missing something?
Thanks a lot!
On your computer, go to the start menu and type devmgmt.msc (it runs Device Management. There should then be a yellow exclamation-point box thing and a name of a driver (for the one that's missing). If there exists that issue, please comment with the exact name of the missing driver. If that does not appear there, then that means it's an issue with the MIUI rom, not so much the drivers.
I personally had some custom roms that I could not get to support ADB.
Though, if I installed "Remote ADB" from the Android Market, that would work via Wi-Fi even without USB drivers, so that is another recommendation.
Go settings on phone, manage applications, development, usb debug is off by default.

Categories

Resources