ADB not detect Sony Xperia Z3 Compact (android 5.0.2) - android

ADB and Android Studio not detect my device in debugging mode. I work on Windows 7 x64 Pro with latest SDK platform tools.
I tried almost all different device configuration - plug in in MTP and MSC mode, revoke authorisation, install sony and modified generic drivers and any other tips - with no success.
Anyone has any idea to solve this problem?

Try installing Sony PC Companion. This should install all of the necessary drivers for communication with adb:
http://support.sonymobile.com/global-en/tools/pc-companion/

After all, without success, the device was found in Devices Manager but with question mark, and the driver was not found.
So I need to download the driver from Sony at
http://developer.sonymobile.com/downloads/drivers/xperia-z3-compact-driver/
and manually update the driver.
So, after that, the device was recognized in Android Studio.
Thanks

After couple of days of fight with drivers I found solution and applied it with success. As I supposed and wrote in one comment above, the problem was not in adb drivers but with drivers (esspecially usb driver) installation. Shortly, to properly install drivers and run adb I need to clean cache drivers and rescan computer to rebuild driver information. I found description of similar problem here:
Windows 7: Unable to install any USB devices
Also I rewrite solution here for anyone who will have this kind of problem:
Here's the solution for the ones who might have this problem:
This worked for me in Windows 7 Ultimate 64bit!
You must have all administrator privileges!
1- Open Windows Explorer
2- Go to C:/Windows/System32/DriverStore
You will have a couple of folders and files.
You will have *.dat files and other file named: infcache.1
3- Right click every file (dont touch the folders!) and choose properties.
4- go to security tab
5- click Edit
6- choose your account and check the box: full control (see ss)
7- Click ok.
8- Repeat to every file
9- Select all the files (*.dat and infcache.1)
10- Press shift+del
11- Press OK.
12- Now, go to C:Windows/System32/Driver Store/File Repository/
13- Search for folder named usbstor.inf
14- Open it (if you have more than one, choose the most recent)
15- Copy "usbstor.inf" and "usbstor.PNF"
16- Paste those two files to C:/Windows/inf
17- Reboot your pc and voilla! :b
If Windows doesnt install them automatically go to device manager, uninstall all unknown devices and the ones with the yellow exclamation mark, then click in "check to see if there is any hardware changes"
Now, Windows will install all your hardware successfully
After making all of this steps computer found automatically Sony Xperia Z3 Compact device, installed all drivers and adb show my device on the list. Finally it works well right now.
I hope it help if somoene will have simmilar problem in the future.

Related

Android device driver for Astro Tab A724

I have searched all over and tried many things to get adb to recognize that my Astro Tab A724 is a connected device. Some of the things I have tried are:Google Android USB Driver and ADB and Android ADB doesn't see device . In the device manager, when I right click on my device and choose "Update Drive Software...", Windows 10 is unable to find the software for my tablet. Anyone, please help me. :)
Also, adb works for another device I have, but I now need to test my app on the Astro Tab. I have also gone to http://astroqueo.com/ in search of a support page that will tell me about drivers I need, but I am unable to find anything on their site.
Since it appears your real goal is to get your A724 working with ADB, I can tell you it does work. I own both the Astro Tab A724 and A924. I use the A724 with Android Studio for testing Android apps and ADB works fine for me.
When I first purchased these devices off Amazon, I was sent some additional instruction from the manufacturer via Amazon. A link was provided with detailed instructions. To get your A724 working on ADB for Android Studio (in Windows 10):
Step 1: Follow manufacturers instructions to update firmware here: https://www.dropbox.com/s/gvwxt2kk7kl72i9/A724%20-%20Instructions%20on%20Updating%20Firmware.docx?dl=0 .
Step 2: Setup your device to enable developer options (go to "Settings->About Tablet", tap "Build number" five times, then go to "Settings->Developer options", and configure per your needs).
When everything is configured correctly:
In Android Studio (currently 2.1.1 for me) when you go to run your app, the device will show up in the "Select Deployment Target" window under the "Connected Devices" section as "Actions AstroTab_A724 (Android 5.0.2, API 21)".
Hope this helps!
It turns out that the Astro Tab does not have any USB drivers in existence.
It worked for my Astro Tab A737
Download and install PdaNet+ from http://pdanet.co/a/ in your syatem. Run and and install it. follow all the steps in the wizard . Once the drivers are installed Android studio should recognize the tablet.
Also, make sure the device is in PTP mode.

Connecting a Device to Android Studio on Windows 10

Previously I have been using Windows 8.1 and Android Studio to develop Android apps and all was well. However I have now just upgraded to Windows 10 and I am having a Slight Issue.
I have a Nexus 7 that I am using to debug, and Android Studio can no longer see this device to use it. As I said all was well in Windows 8.1.
Has anyone else come across this, and have you managed to get round it? Am I missing something obvious?
Thanks again
Steve
Got exactly the same issue. Steps to fix that.
#1 Uninstall driver
#2 Unplug device and restart pc
#3 Plug device and install driver downloaded from the web not from device
A day looking for a solution of the same problem like you.
I use a Sony C4 and Android Studio on Windows 10,
my problem of my phone is not detected in Windows 10.
You can check in MyComputer> Properties> Device Manager.
The first step
I downloaded OEM USB Drivers for my phone, see the list of OEM Drivers url
create a directory "usb_driver" in <.sdk.>\extras\google\
<.sdk.> = C:\Users\Karebet\AppData\Local\Android\SDK\
I extract OEM USB Drivers then copy paste to <.sdk.>\extras\google\usb_driver\
The second step
I not download from the SDK but from Google USB Driver
I extract the Google USB Drivers then copy paste to <.sdk.>\extras\google\usb_driver\
not include directory "amd64" and "i386"
Third step
Right-click MyComputer> Properties> Device Manager
check whether there is a device not in the know in Others Device
if there: right-click> Properties> Tab "Driver"> Update Driver> Browser my computer blabla > select dir usb_driver in <.sdk.>\extras\google\,
and click OK . wait a while Driver has been detected
Hope it helps you
I tried to install a Google USB driver (sdk\extras\google\usb_driver) using Device Manager, but it said "Windows was unable to install your USB Composite Device".
I use this universal ADB driver pack (from Koush.com)
https://github.com/koush/UniversalAdbDriver

Visual Studio doesn't let me debug on android physical device

I'm developing an android app with Xamarin and Visual Studio 2013. I have connected my android applet to the computer. Sansung Kies recognizes the device. Adb recognizes it also because when I type "adb devices" the device appears in the list. But when I debug the app Visual Studio doesn't let me choose my device, it only proposes to me to use the android virtual emulator. In my device the "USB debug" option is enabled. So what am I doing wrong?
EDIT
Just got a new machine and ran into the same problem.
Following these steps:
http://visualgdb.com/KB/usbdebug-manual/
as suggested by Veverke in the comment below fixed the issue for me.
just had the same issue and fixed it with a combination of these two links. Obviously our issue isn't the exact same issue that's listed in the first link but that's why I had to use both to kind of synthesize a solution.
https://web.archive.org/web/20140410204811/http://krumelur.me/2014/01/30/xamarins-visual-studio-plugin-missing-android-devices-genymotion-and-parallels-desktop-dont-panic/
http://developer.android.com/tools/extras/oem-usb.html
Basically, in Visual Studio 2013 start the Android SDK Manager. Scroll all the way down to the 'Extras' folder, where you will find the 'Google USB Driver'. Mine was already installed, so I deleted the package, confirmed I wanted it deleted, then reinstalled it.
Then, I opened Windows Explorer and right clicked 'Computer', then clicked 'Manage' (need Admin priviledges). In the newly opened Computer Management window I clicked 'Device Manager' under Computer Management > System Tools in the hierarchy on the left.
In the main window, I expanded 'Other Devices' and saw the device I was looking for. I right-clicked it and chose 'Update Driver Software', then 'Browse my computer for driver software'.
Now you need to hit Browse... and find where you installed the packages.. for myself it was under
C:\Users\zumberge\AppData\Local\Android\android-sdk\extras\google\usb_driver.
Click next, the you need to choose to accept Google, Inc. as a trusted source.
Then the process should be finished and you'll be good to go.
Don't know if you need to restart VS2013, but I did for good measure.
Hope this helps and it's not too late.
For VS 2015, LG Nexus 4 and Windows 7, following solution works for me.
Debugging On and Off during the running instance of Visual Studio, your physical device appears in the device list.
Restart of Visual Studio 2013 has resolved the issue for me.
Details:
Visual Studio was open while I was trying to make the device visible to the system.
After installing the device driver, I have restarted the "adb" and saw that the device is added to the list "adb devices".
However the name of the device at the Visual Studio was not changed, some numbers.
After restarting the Visual Studio, real name of the device is shown "NVIDIA Shield Android TV.."
Then I did not get this error anymore.
I just ran adb command prompt and hit 'adb devices' and it showed daemon was not running. It installed itself and now i can able to see android devices there.
C:\...\...\source\repos\ABC\ABC\Ex.Android>adb devices
List of devices attached
* daemon not running; starting now at tcp:5037
* daemon started successfully
ZF22Q3T unauthorized
After enabling debug mode on my android device, I found I had to change the 'USB PC Connection' option. It was set to 'Charge Device'. When I switched it to 'Media Sync (MTP)' and reconnected to my PC it then showed up in Device Manager, but the drivers did not appear to be working with VS. I reinstalled the 'Google USB Driver' in SDK Manager. I removed my device in Device Manager and added it back using the Google USB Driver. When I disconnected/reconnected the device to my PC, Windows asked what I'd like to do with the device. I realized the first time it had asked me, I quickly clicked 'Do Nothing'. This time I noticed the first option was to run an exe on the device to install the driver. After the install completed I disconnected/reconnected the device and the device prompted me to allow my PC to debug. After selecting 'Allow', the device showed up in VS while VS was already open.
Also make sure you have the correct configuration selected for your device. (eg. ARM for most smartphones)
If its set to one that your device doesn't support, then the device won't show up even if adb can see it. Simply switching the configuration solved the problem for me.
Try restarting adb server using:
select "Tools" from top bar then
select "Android". In the list there will be an option to restart adb server as "Restart Adb Server".
After clicking it everything works fine.
It worked for me.
I followed most of the steps mentioned, but still couldn't get it to work. Some things I did were:
download and install google driver from android sdk manager
locate the device in windows device manager and update driver (pointed to the google usb driver)
switch usb connection from mtp to ptp
restarted visual studio
restarted computer
Finally, what worked for me was googling the drivers for my particular android device (lg g4) and landing on this site . Once I installed the drivers I was immediately able to debug in visual studio using my device. it works whether the usb connection is mtp or ptp.
http://www.andromods.com
In case you are using Samsung and have MyKnox installed, you cannot enable USB-Debugging until you uninstall MyKnox as stated in This Link

Can't update Nexus 5 driver on Windows 7

I'm trying to connect my Nexus 5 to my Windows 7 (64 bits even though I don't think it makes any difference) in order to deploy and test some apps.
I updated the USB driver from "SDK Manager -> Extras".
I downloaded the latest usb driver from android development web page.
The solution I found seaarching on google and on stack overflow was:
- Go to Windows device manager
Select Nexus 5 under "Other devices"
(- Uninstall driver) - I tried inserting this step after the next ones failed
Update driver
Browse from computer
Select the downloaded usb driver (tried selecting the one downloaded from the web page and the one from sdk manager)
Windows still tells me it can't find the driver.
Yes, I checked the "include sub-folders" option.
Yes, the USB debugging mode is on.
Yes, I've tried this with MTP and PTP enabled and disabled (the four possible combinations).
Nothing seems to work.
Can anyone help me? Thanks in advance.
Just in case anyone is wondering I wasn't able to solve this and used another device.
Some time ago (after the release of Android 5) I followed the tutorial again and it worked just fined.

Eclipse does not see my device from one day to another (samsung galaxy s3 mini)

Okay so the facts:
I have been developing for Android device (Samsung Galaxy S3 Mini GT-I8190) in my PC for the last half year.
When i installed the developing tools, android SDK, eclipse, etc, all was like "plug and play"
It was easy and worked verry well.
So some days ago i just realised Eclipse shows my device NO MORE, here is how i tried to solve this issue in chronologic sorting:
Tried to replug my device
Tried to restart eclipse
Tried to restart device
Tried to restart PC
Tried to uninstall USB drivers and reinstall via Kies (I have tried
the old Kies, it has installed a driver which was not worked.)
I tried to update my Kies to a newer version and install the usb
driver again, not helped.
I tried with the new Kies 3, and it says that this version does
not recognise my device.
I tried to uninstall Kies, uninstall the the usb driver and download
a simple SAMSUNG driver file, so basicly i tried to install it
without Kies, not helped.
I tried to reinstall Windows 8.1 (yes, i made a whole system reinstall for this, which is not helped)
I tried to download Google usb drivers from SDK manager, not helped
I tried some commands to adb like "kill server" "starts server"
I tried to manually update driver from MyComputer's manage menu, not
helped.
I have made a factory reset on my device.
My computer sees my device so i can trasfer files. Developer mode is on.
Running adb devices output is empty, so i cannot see my device in list.
So here i am at a projects deadline with a mystery and i cant get it work.
Whoever solves this gets 500 reputation from me. Im not kidding, this is all i can offer.
E D I T:
Tried everything mentioned below. Is it possible that my phone or my PC's hardware makes this mess?
Try this :
Right click on My Computer --> Properties --> Device Manager --> Right Click on your device --> Update driver software --> Click on " Browse my computer for driver software --> Give path of your android sdk like "D:\Android_Sdk\sdk\extras\google\usb_driver" and tick "Include subfolders" --> Click next
Now repeat the steps till "Browse my computer for driver software".
Then click on "Let me pick form list of device drivers on my computer -> Click on the first option and click next and then click yes.
Drivers will be installed for your device.
This works for me.Hope this helps.
Try this process :-
1.Uninstall previously installed drivers and close eclipse
2.Connect your device with USB storage & USB debugging in Developers options on
3.Go to find new hardware wizard in you computer
4.Install Drivers including adb from there by selecting your device
5.After that restart eclipse , your device might be detected
These steps worked for me when i faced the same problem but my device was different , hope this works for you
As you hav tried every method now try Universal Naked Driver 0.72 removing previously installed drivers.
Universal Naked Driver works for most of the devices.
another alternative UniversalAdbDriver
Also check your supply USB port too, if u pass on a hub usb disconnect of this and link to pc directly.
follow this:
1 . find in SDK Manager --> Extra --> Google USB Driver -->install.
2 . please install samsung kies3 in your system . and connect your device with it then try ..it will work 100% . also tell me which target version you r using in your project if it 19 API level and your mobile is 17-18 API level then it ADT will not give u permission to run (not show you your device in android device choose dialog )
The answer is mindf. itself.
Today i asked my friend to test this problem with his device, (he's got a very same galaxy s3 mini device) and what i found was really blown my mind.
Eclipse does see his device, but not mine.
**
Yes, two identical, very same product and mine is invisible for Eclipse.
**
I just cant find words...
(It happened to me today after the updating from 22.3 to 22.6)
Verify " AndroidManifest.xml > Manifest Extras > Uses sdk > Min SDK Version " suits your device.
I was using my Samsung Galaxy S3 Mini GT-I8190L and I forgot that the minimum SDK for mine is API 16 (for Android v4.1.2). I fixed the number and now everything it's ok.
Try installing UniversalAdbDriver. It worked perfectly for me (GT-I8190).

Categories

Resources