Adb doesn't detect device after upgrade to Lollipop (Sony Xperia Z3) - android

Just yesterday my adb was working fine and I was developing my app in peace...
Today I updated my xperia z3 to lollipop (auto update from sony)...
And the adb stopped detecting the device (on mac os yosemite).
What I checked so far:
1) I have the latest version of android sdk installed
2) I tried adb kill-server and adb start-server
3) I double checked developer mode is enabled on device
4) I double checked that USB connection is in Mass Storage Mode
Nothing works! Please help.

Go to Settings -> Xperia Connectivity -> Usb Connectivity -> Usb connection mode -> Check MTP mode.
Click Revoke USB debugging authorization in Developer option.
And try sudo adb devices.

I had the same Problem on my LG G2 mini. I solved the problem through installing the LG software LG PC Suite on my computer.
How I did it:
Open the connectivity settings in the drop-down menu of your device, when your device is connected to your computer. Open the settings in this window (top-right corner). In my case I was able to install the named software on my computer, when choosing the install item.

You need to install the device drivers or re install the drivers. Or I think you should upgrade drivers through internet.

Related

My app won't run on LG G5. USB debugging & OEM driver are OK

I'm struggling to get my stock standard Android application ("hello world") running on my LG G5. My device is just not picked up by Android studio's deployment target window ("No USB devices or running emulators detected").
Can not understand why though because I do not pick up any usb driver issues in computer manager (G5 SE identified under portable devices without shown driver problem), and my phone's development option with USB debugging is enabled as shown by Android instructions.
Some additional guidance would help please.
First of all run adb devices (located in android sdk>platform-tools>) from command line / terminal and check if your phone is listed.
If not restart adb :
adb kill-server
adb start-server
If it doesn't work try changing USB Configuration on your phone: select MTP or PTP. You can change this from top panel when your phone is connected.
If this will show confirmation dialog with MAC address confirm it.
Your phone has to be visible by ADB before it can be visible by Android Studio.

Mobile not listed in adb devices only in my laptop

My Samsung J2 mobile is not getting listed in adb devices only on my Dell laptop.adb devices result
Because of this Enable USB debugging screen Enable USB debugging in not popping up
Things i have tried
Enabled developer options and USB debugging( Tried re enable after disabled also)
Restarted mobile and laptop
Deleted .android
Tried changing MTP to PTP
Factory reset my mobile and then enable Developer options and USB debug
Tried using more than one USB cables
Important Note : This issue is in my laptop only. In other machines its working fine. So i guess , problem is not in mobile
Try
Install Universal ADB installer to your laptop adbdriver.com/downloads
there also having Samsung official Android USB Driver
This error may occur due to ADB driver is not installed on your machine.
Install pdanet+ software for ADB drivers and it will help definitely.
Click here

Eclipse Kepler does not allow debugging on Samsung Galaxy S4

I'm using a Samsung Galaxy S4 I9505 (Jelly Bean 4.3) as my debug target, and I've done the preliminary steps already:
Tapped 7 times on the "Build Number" under "My Device" to enable developer menu
Enabled USB Debugging from the device
Unchecked the "Verify apps via USB" to make sure my app is not blocked
Downloaded the OEM driver for Samsung from Samsung Andorid USB Driver for Windows
Installed the driver successfully.
When I connect my device via USB, Eclipse sees my device but does not allow me to debug on it.
Can someone help me?
If you're developing Android on Windows, then Windows may have allow you to "see" your device. But to connect to your Samsung Galaxy S4 I9505, you may need to install the Samsung USB drivers for mobile devices v1.5.33.0, which can be found here.
After installation, you may need to restart your computer. Once the computer has restarted, start a command prompt and navigate to \android-sdk\platform-tools. Then, type each command below in succession:
adb kill-server
adb start-server
adb devices
The last command will tell you whether you are truly connected to your device and the device is ready for debugging in Eclipse.

Cannot detect Sony Xperia in Eclipse

I am totally new at testing apps on devices, especially the Sony Xperia. I am testing apps using the Android emulator, but I have now a Sony Xperia. First I have connected the device to the laptop via USB. But the laptop couldn't detect my phone. Is a driver necessary for Eclipse to detect the phone?
Download the correct driver for your phone, make sure your phone has enabled USB debugging and then connect it to proceed with the install.
Download drivers from:
http://developer.sonymobile.com/downloads/drivers/
Even though this question was posted long time ago, I didn't find 100% correct answer from previous replies. Most of replies are useful, but here is one final step for debugging apps on Sony Xperia devices.
My Sony Xperia T has not been visible in Eclipse even though I installed PC Companion and in mobile phone, I set developers options debugging mode!
Xperia has very strange option:
Settings > Xperia > USB Connectivity > USB connection mode
and select Mass storage mode (MSC).
Note that the USB cable must be unplugged to change this option.
By default, Media transfer mode (MTP) was selected. If MTP is selected even little bug is shown in notification bar debugging is not possible!
These were my steps to solve the problem:
On SONY XPERIA Z
Enable USB debugging (http://developer.android.com/tools/device.html#setting-up)
Settings > Developer > USB-Debugging = Enabled
Settings > Xperia > USB Connectivity > USB connection mode = MSC
Settings > Xperia > USB Connectivity > Install software = Disabled (!!!)
On Windows7
Google USB drivers were already installed for another device
Download XPERIA drivers from: http://developer.sonymobile.com/downloads/drivers/
Connect XPERIA via USB
Device manager > Unknown device > Install driver from downloaded file
Don't forget to enable usb debugging in the phone setting.
Yes, eclipse needs drivers. You need to install drivers for the phone, and then restart eclipse. You then need to add the xperia through the device manager in eclipse.
Are you running windows??
Start eclipse
open the android SDK manager,it will load the repository.
select the package for sony and download it.
restart eclipse,and you are good to go.
Try to Install PC Companion here:
http://www.sonymobile.com/gb/tools/pc-companion/
I had a problem connecting a Sony Xperia Tipo to Eclipse for android debugging. I went through all the steps already recommended (installing sony drivers, USB debugging on, etc), but was still getting a "driver not found" error when I connected the Tipo to my PC with USB debug switched on.
I fixed the problem starting with the driver install instructions for a Sony Tablet, http://www.kb.sony.com/selfservice/microsites/search.do?cmd=displayKC&externalId=C1024692&fes=true
Then I looked through Windows event viewer to find the find the details of the previous driver install failures, which gave me the correct device ID string for the Tipo. I added that to the end of the [Google.NTx86] section of android_winsub.inf, following the same pattern as for the Sony Tablet. It now contains this:
[Google.NTx86]
;SONY Sony Tipo
%CompositeAdbInterface% = USB_Install, USB\VID_0FCE&PID_5170&MI_01
Finally I reconnected the Tipo to my PC, went for the manual driver search options during driver install, pointed it to the Google USB driver directory, and it installed the Google drivers successfully. Now Eclipse is connecting to the Tipo and I can test and debug my app.
SOLUTION ! : I had that problem with the detection of the SONY XPERIA Z tablet only with Eclipse and did everything in the book to connect it without success :
Checked that the Sony USB driver was updated on the PC,
enabled USB debugging in the developpers options,
tried the Media Transfer Protocol (MTP),
tried the Mass Storage Configuration (MSC),
still the Eclipse command Run responded with a 'No compatible device found" message
until I downloaded the Google USB driver in the SDK manager and the DEVICE WAS AT LAST DETECTED.
This is all the more so strange that the Google Driver is introduced as dedicated to Nexus tablets only !
So if this can help ....
I've just fixed this problem recently. Here's the steps you should try as follows:
enable usb debugging
change to mass storage device
reset DDMS - adb
install driver
Then in eclipse it should show up as an Android device :)
solution for sony Mobile usb driver for Window 7
After googling and more time spend on this we find the solution Sony tipo & Sony M mobile are detecting by eclipse .
Steps are 1.install the latest sony companion
2- go to settings>>xperia>> connectivity>>USB connectivity mode>>MTP
3- restart eclipse and run your project Android Device Chooser show your device
donot forgot to check the usb debugging
This answer is more general to not finding your device. But if you have dead ADB processes running, you might have to kill them (and start a new one) in order to pick your device.
For me, it works when combining Damir's & Michell Bak's answers.
First need to change device form MTP mode to MSC mode as Damir mentioned, then download and install driver to your PC as Michell Bak mentioned.
Most new Sony device default setting USB connection mode to MTP and the setting location is different from other android devices. Besides, driver can not install automatically and need to download form official site.
Steps to debug using Sony Xperia :
Settings > Xperia > USB Connectivity > USB connection mode
and select Mass storage mode (MSC).
The USB cable must be unplugged to change this option.
By default, Media transfer mode (MTP) was selected.
Untick "Install software"
I had same problem with my Xperia Z3+ (android 5.02) with Android studio 1.3.
I installed new drivers and XPeria Companion but it didn't help.
However after I enabled hotspot via USB it started to work. Don't know if all of these was needed of if it was only the last one. Anyway I did
1. Settings->More...->Internetsharing hotspot->USB-sharing to on.
2. In the pop-up accept USB debugging.

Problem installing Android USB driver on Galaxy SII

I want to install the Android USB driver for my Galaxy SII on a Windows 7 Enterprise x64 SP1 machine.
My phone is detected and listed in the device manager as "Other devices" and the status is "The drivers for this device are not installed. (Code 28)".
As I want to install the USB driver I choose "Update driver" and browse to the directory containing the driver, and here's the problem. Windows doesn't find anything, it just says
Windows was unable to install your
SAMSUNG_Android
Windows could not find driver software
for your device.
I can't remember ever having such problem with this... I have set the phone to "USB-troubleshooting" (or what the correct term is in English..) and the drivers previously installed for using it as a mass-storage-device are unistalled.
If anyone knows a solution to this problem and could forward it to me I would greatly appreciate it!
Thank you!
Try to install the driver from Kies, maybe...
Sometimes the Kies reinstallation itself does not help (as happened in my case). I was not able to Update drivers via Device Manager either. Following procedure worked for me (WinXP Prof SP3 32-bit):
I disconnected the phone.
I uninstalled Kies and removed all drivers related to phone with use of USBDeview
I installed Kies
I loaded Kies
I selected “Tools > Troubleshoot connection error” to force drivers install and waited, operation took several minutes
I connected phone in MTP mode (USB Debug mode was off). Windows installed some drivers automatically.
I disconnected phone and reconnected it with USB Debug mode on. Windows installed more drivers automatically (including Samsung Android ADB Interface)
I restarted the computer.
It seems it is vital not to plug the phone in before Kies installation is finished.
I've tried both JohnyCash and Phils answers, but still didn't manage to fix the problem. After couple lost hours, here is how I fixed it:
Go to device manager, select GT I9100 from the list, right click > properties, select Update driver, then Browse my computer for software, then Let me pick from a list of device drivers on my computer, select SAMSUNG Electronics Co., Ltd. > SAMSUNG Android ADB Interface, and install it.
adb was able to see the device after this, finally!
1) Enable USB debugging on your device.
2) Connect your device with a USB cable to your computer. Your Windows OS (vista or win7) will automatically install the required drivers.
3) You can check of the device is connected by executing adb devices from your windows command prompt. It should list the serial no. of your device.
Windows 7 for a Moto G and Samsung make sure USB debugging is disabled. Plug phone in USB. Windows will connect and install a driver to access phone.
Disconnect phone from USB. Enable USB debugging in developer options.
Connect USB again. No Windows installs ADB drivers. All shoulld work.
Enable usb debugging in developer options in phone.
Connect the phone to Computer.
Install the driver Samsung USB driver from the following site.
http://developer.samsung.com/technical-doc/view.do?v=T000000117
This will solve the issue.

Categories

Resources