I know this is a rather common question, but I tried all the solutions I found on other post and they didn't do the trick for me.
Basically, I have a Samsung Galaxy S, that worked fine with eclipse, so I was able to debug applications directly on my smartphone.
I tried 2 days ago since a lot of time, and the device is not recognized by the system, even lsusb can't find it.
I tried with a friend's smartphone, from a different brand, and it worked fine, so i guess it's something related to my smartphone, but I can't figure it out.
Debug is enabled on the phone, any other idea? My OS is Ubuntu.
You have to deleate the data where the debugs and the runs are stored
I don't know where it was because i had this problem last year.
But whene i deleted the data it works fine again
Edit :
Found it
C:\Users\UserName\.android
delete
debug.keystore
I guess Samsung Galaxy S drivers are not installed properly. Install pdanet software in your workstation while installing it will ask connect your mobile with usb then it will install drivers automatically. I think it will work for you. try this..From this link you can find the software
Related
My problem is that my OnePlus One phone is not found in Eclipse on my Mac even after trying things like activating USB debugging of course and even Menu>Storage>menu on the upper right corner>USB computer connection>check box MTP/PTP.
When i try adb devices it tells me that there is no device found.
I have tried two different cables (including stock cable).
It seems that with mac there are no drivers to install needed.
Thanks a lot for any help.
Sebastien
Thanks a lot for your answer Jiang YD.
Finally, i have tried again with the same conditions few days later and Android file transfer recognized my OPO.
My OPO activated the Debug Mode automatically.
And the best is that Eclipse recognize my OPO for debugging.
So everything works well but i don't really undestand why it didn't worked the first time.
It works with the stock cable.
First of all I must say that I have been working around this issue for two whole days and I can not solve it. I googled it, I read this article from Donandroid, this thread from SO and many other reviews.
I have installed Samsung Kies3, Android sdk for windows, google_usb_driver on my windows 7 64-bit system. I also check the USB Debugging option in my Galaxy S5 and restart my phone. I also have restarted the ADT
Now when I check the attached devices in adb, I get:
$adb devices
$List of devices attached
4d0005444cc34139 unauthorized
I have tried to run my application on this device, but I have got this in ADT:
I have no idea what to do now. I am totally frustrated. Any help would be greatly appreciated guys.
Ok, solve the problem. I have unplugged/plunged the usb cable for 3 times and suddenly the popup authorization message showed up on my phone. I allowed that and now everything is fine. I can not believe I spent two days in this issue. Hope this thread will help someone.
Has anyone tried developing application using Lenovo K900, I am writing application for my phone (Android 4.2.2) but its not getting detected by eclipse.
Please help
I found a couple of drivers and the combination seems to do the trick.
I installed the drivers from this post to see the device as a CloverViewPlus device
https://forum.lowyat.net/topic/2918390/+940# (Post #943)
The IntelAndroidDrvSetup1.2.0.exe and iSocUSB-Driver-Setup-1.0.2.exe were needed.
Then I installed the drivers from this post to get Eclipse to recognize the device:
http://singledrivers.blogspot.com/2013/12/lenovo-k900-usb-driver-for-windows.html
It seems that you do not need the MTK driver.
You do seem to need the PDANet Driver.
The ADB driver did not seem to hurt either.
Now Eclipse can see my K900 and download code to it.
Only enabling USB Debugging will not help solve your issue.
You need to install certain drivers in order to make your cell phone visible while running the application.
For now, even I am searching the perfect drivers to install in my system. Will get back to you once I have them. Also, I request you to search as well and revert in case you find success in the same.
I have a problem debugging apps on my Samsung Galaxy S3, (GTI9300, I believe this is also known as the international version) from Eclipse.
The thing is, debugging actually worked for a time and then it just stopped working. I've tried quite a few things to make it work again. I'll describe my whole experience briefly, to keep you from suggesting things I've already tried, and save us all some time.
When I first got my phone, debugging didn't work. When I plugged in my phone, the system detected it, and I could use it almost like a storage drive (using Media Transfer Protocol or some such thing) But when I started Eclipse and tried to debug, the debugger didn't see the phone.
I googled some, learned that I had to install some specific driver. I honestly don't remember which driver it was, but I believe it was an official one (from Samsung's website). Once I installed this driver, Windows would no longer detect my phone as a storage device. But the debugger did see it, and I was able to debug a few simple apps that I'd made. I could easily live with this tradeoff.
Then I got busy with other stuff and set Android development aside. I came back to it this weekend - after 2 or 3 months - only to find that it no longer works. No matter what I do, the debugger does not detect my phone (Windows still won't detect it either).
I tried all the first aid solutions like restarting Eclipse, rebooting my computer and rebooting the phone. Just for the sake of completeness, I do have usb debugging enabled on my phone.
The only major change of the whole setup that I can think of is that my phone's OS has recently updated. I don't know the exact version it was before, right now it's Android version 4.1.2 (Kernel version 3.0.31-1160235, if this is useful to anyone). I tried plugging the phone into other computers, it gets recognized as a media/storage phone. I can't install the Android development tools and try debugging on any of these computers - I'm stuck with the one I've got.
I've tried reinstalling the usb drivers for my phone. It didn't help. In desperation (and against my better judgement) I tried installing Samsung's software, first AllShare Control, and eventually Kies. None of it helped. When I run Kies, it gives me the option of connecting through USB or via WiFi. However it won't detect my phone when I plug it in. When I click "Troubleshoot connection" (or some such thing, unfortunately Kies decided to use my native language instead of English) it starts reinstalling the USB driver. This process takes quite a while, and fixes nothing.
I'm basically out of ideas, I don't know what to try next. Any help would be appreciated.
We have followed the way(android: debuggable= true in AndoirdManifest.xml and enabled usb debugging on phone) to run the android app on debug mode on the phone, but the phone is not being detected when the app is run as android application.
Here are the specifications of the phone:
http://www.gsmarena.com/samsung_galaxy_y_s5360-4117.php
What is the issue? What is really required?
try to install Samsung Kies tool.
in case you wont be able to fix it there's another solution. I also have the same problem as yours and the same phone as yours. My phone is not detected by eclipse. But my PC can detect the phone through usb drive and through Kies(sort of like itunes for android). The altenative solution to test your program on your phone is to locate the .apk file from your projects folder in eclipse. its in the \bin folder. then copy it into your sd card. Then on your phone, locate where you placed it and click, the phone would prompt if you want to install it. install it and it should work now.(delete if you want afterwards). IF you happen to solve the issue with our phone not being detected by eclipse, pls do email me: kobe.ed6#gmail.com . Thanks and i hope i was able to help,atleast. :D
Samsung Galaxy Y problem solved! What i did was, i plugged in the phone through USB before the first instance of eclipse on my PC. Then i hit "CTRL+F11" to run the hello world test program. And IT WORKED straight to my PHONE. I did nothing from the time i got the problem. Not even updates or anything becaus i didnt do any android development bec i was busy with something else. I just tried it just a moment ago, wishing that it work. AND IT DID WORK NOW! If the problem would still be there, try restarting your PC and plug your phone before the FIRST instance of eclipse. I dont know if the instance has to do with this problem but it is what i did and it worked! happy Android developing guys! =)