Android SDK and AVD Manager issue - android

I am trying to follow the procedure Downloading the Google USB Driver but see the following error in Android SDK and AVD Manager:
Some packages were found but are not
compatible updates.
I am unable to Download the Google USB Driver without the Google Add-ons.
Specifically, I need Google Usb Driver package revision 4 for the Nexus S.
I ran Eclipse > Help > Check for updates but this did not resolve the issue.
Does the Android SDK and AVD Manager need to be updated another way? If so, how?
Is there some other way to fix this?
Does Google Usb Driver package revision 4 work in Windows XP?

That is ok. Those are shown so since they are probably not meant for your version of adt. When you update your android development tools again and check for updates you will be updated to the latest and then you may update to the tools for the latest version. You may still have that alert message since there will also be updates that are not compatible with your your version of adt.

I guess you need to download your latest version (zip file )of adt then install this new .zip file in eclipse.
Then you would be getting the enabled option to download Google USB driver for nexus S.

Which version of the JRE are you running? I had this problem, updated Java, fixed it immediately. I think I was running OpenJava 1.5, upgraded to 1.6 and it worked.

Have you tried running the sdk manager in admin mode, has seemed to help me in the past with strange errors

After completely uninstalling and re-installing the SDK I was able to see and install the Google USB driver but still have been unable to connect the debugger. Perhaps Android development on an Atom based XP Net-Book is a bad idea. I've not been able to get the emulator working so I thought it might be better debugging directly on the target. The emulator just locks up this PC. I've waited up to 40 minutes before giving up. I've had no trouble with Android development on my work PC (emulator or target) but I have some personal projects I'd rather not do on company equipment. Oh well, I probably just need a real PC if I want to work at home.

Issue - I had a working Android Studio and USB driver would allow me to connect to my Huawei Honor 6X mobile device. One day the Android Studio stopped detecting the mobile device and reinstalling Huawei drivers, uninstalling and reinstalling drivers did not work. I tried changing cables and it did not work either. My Windows 8 would not detect the phone when I connected it with USB and Studio did not detect the device either.
Various solutions posted at the forums did not work for me. Finally this is what I did to solve the issue. My LG mobile also works with the Android Studio and I believe this solution will work for all mobile devices and not just Huawei device
Solution -
1) Open Tools> Android > SDK Manager > SDK Tools tab
2) Select Show package details check box
3) Is Google USB Driver selected? Select it if it is not selected, apply & Ok.
3) If Google USB Driver is selected, unselect it and SDK manager will remove the USB drivers.
4) Close Android Studio and follow the above theps and select the Google USB Driver and let studio update the driver
5)Close Android Studio Again
6) Go to Device Manager and you should see 'Android Composite ADB Interface' if the driver is successfully installed
7) That is it, now open Android Studio & when you run the application you should see your mobile device under Connected Devices

Related

Android Studio doesn't show my device in the "Device Chooser" dialog. I don't want to use the emulator

I searched for the answer before asking. They weren't satisfactory.
Environment and what I did so far:
My device is Xiaomi Redmi 2. I have enabled USB Debugging in my device.
My phone uses a Cyanogen mode with 5.1.1 installed ( Lollipop ) and not 4.4 ( Kit-Kat )
It is also connected as a media device as asked in an answer
I'm running android studio on Windows 8.1.
I don't want to change my OS if that's possible.
Minimum level it is set to be API Level 15 so all the devices with ICS will be supported.
Questions:
Do I need to install a driver and if yes, what driver do I need to install to make it work?
If I need it how do I use it?
Where do I get it from?
I have to mention that I am using this site for the first time so I might not know the best way to search.
Any tips on that?
It may just be that the MTP mode isn't supported. Try changing your usb connection to PTP in your device's usb connection settings.
Taken from the Android Studio User Guide.
If you are developing on Windows and would like to connect a device to test your applications, then you need to install the appropriate USB driver.
Find the appropriate driver for your device from the OEM drivers table.
Once you've downloaded your USB driver, follow the instructions to install or upgrade the driver, and whether you're installing for the first time or upgrading an existing driver.
Update your android studio and your android project :
Android Studio > SDK Manager (top right of the ide) > Launch Standalone SDK Manager > uncheck the 'installed' checkbox > make sure you have all the recommended updates, tools and apis installed to your development machine.
Update your android project manifest file (AndroidManifest.xml) on about line 20 usually to match the target SDK version you want to build for :
You have to install ADB USB driver manually
Try the below link
http://visualgdb.com/KB/usbdebug-manual/

Can't find my Nexus 6 under devices in Android Studio

Installed Android Studio and tried to launch an app. I can choose from different emulator, but I can't find my phone. I have connected it to my computer, enabled debugging in Developer Options, and I have tried to update the drivers from device manager in Windows, but Windows keep saying the best drivers are already installed. Anyone else had this problem? Really appreciate a solution.
Install the phone ADB to your pc from the internet, then from the device manager update the driver using the files you downloaded from the previous step, enjoy!
You can read more from this link USB Drivers
This worked for me:
http://visualgdb.com/KB/usbdebug-manual/
You have to update "android device"-driver manually in the windows device manager.

Samsung Tab: Remote Debugging

I'm working on a web project which is converting the application into a Android/iOS App using a mechanism similar to PhoneGap.
The issues is that, I unable to debug the Android App (HTML/CSS/Javascript) by following the instructions # https://developer.chrome.com/devtools/docs/remote-debugging
Somehow, I'm not able to discover the USB devices in chrome://inspect/#devices. (P.S: While installing the Samsung Driver from http://www.samsung.com/us/support/owners/product/SM-T800NZWAXAR# ) the driver installation failed for CDC_Driver and Samsung_Android)
Device using: Samsung Galaxy Tab S (SM-T800) Android version - 4.2.2
Please advice.
I managed to solve this one. I guess it's 11 months to late for you though #TheNerd.
What is not mentioned in the guide is that you need to download a Android SDK.
It can be downloaded from here: Android SDK
You should also make sure you have JDK on your computer. If you don't the SDK installer will notice and provide you with a link to download it from Oracle.
After installing the driver, the JDK and the SDK my computer was able to detect my device right away.

Android Studio wont recognize Nexus 7 as device

I am having trouble running an app I am developing in Android Studio on my Nexus 7. I have successfully gotten this to work before using the same tablet and computer (running Windows 8), but since having my laptop repaired and everything wiped I'm convinced something with my dev environment is messed up.
When I go to run the project, there are no available devices, so it is not recognizing my Nexus 7 anymore.
Things I have tried
making sure my computer recognizes the device and that I have the Nexus 7 driver installed from ASUS
going to the SDK manager and ensuring I have the Google USB driver installed
closing Android Studio and re opening it, restarting my computer, restarting my Nexus 7
killing adb.exe from the task manager
ensuring I have USB debugging enabled and toggling that on and off
switching from MTP to PTP and back again (currently connected as MTP, not sure if that is correct)
Any help would be greatly appreciated. This is very frustrating and I would like to just get back to developing again.
Update- I just noticed that when I go to developer options, "Wait for debugger" (near where you toggle USB Debugging) is grayed out. I think this has something to do with it but I'm not sure how to enable it.
I got it!
This was at least the issue in my case, I hope maybe this will help someone someday, apparently I had not installed the adb driver properly:
Search for Device Manager from the search bar on the start screen
Open Device manager, click on your Android device
Select"Update Driver Software"
BOOM. Now Android Studio recognizes the device.
I know this may not be the solution for everyone, but its worth a shot if you are having trouble testing apps on your device.
Between upgrading my second-gen Nexus 7 to Android 5.0.x and Android Studio leaving beta I lost the ability to debug on my tablet.
To get this working again I used a combination of the above advice.
I grabbed a copy of the USB Driver from Asus, but updating the Device in Device Manager and pointing to the unzipped files wasn't enough.
The next step was to point Device Manager to the Android Studio sdk directory (on a 64-bit Windows 8 install that was C:\Program Files (x86)\Android\sdk - beta versions of Android Studio - or %localappdata%\Android\sdk - switched to in 1.x) and then things worked just fine again.
Another possible reason that you may not be able to connect is:
Don't forget to enable debugging mode in Android setting.
I have had the same problem, although just getting started with my Nexus 5 and windows 7. I installed google usb driver package using SDK manager first, computer recognized phone but studio could not find it. Went in to manually update driver for phone but update driver couldnt find it, downloaded driver separately and pointed it to directory path, driver installed then studio found it and ran fine.

Google USB Package isn't showing in SDK Mananger

I recently downloaded and installed Eclipse Java EE IDE: Indigo Service Release 2. I made a simple application that runs well on the emulator; now I want to try and run it on my android mobile device. From the Android Developers site, I followed the instructions to do so until I got to the point where I needed to locate the USB driver folder for the Google USB driver found in sdk\extras\google\usb_driver. I do not have that driver, so I went on to download it. I was told it was found in the SDK manager under "Extras". I proceeded in Eclipse to Window > Android SDK Manger. I waited for it get done fetching and then went to "Extras". Making sure "Updates/New" was checked as well as "Installed"; however, the only thing under the "Extras" tab is "Android Support Package" and nothing else.
And so here I am ... stuck on what I need to do.
Any help would be greatly appreciated.
http://developer.android.com/sdk/oem-usb.html
You can get the USB drivers for most devices from the manufacturer's site listed here.
As far as the Google USB drivers, I would ensure you are running the latest version of the Android SDK tools and to try running the program as admin.
I just noticed that bringing up the SDK manager from within Eclipse will not show the Google USB driver... However, opening it up via the Start Menu will. (Also, run it as Administrator).
I was having a similar issue and I traced my root cause to this error. I forgot to install Google USB driver. This can be done via SDK manager, ie Android studio->File->Settings->Appearance and behavior->System Settings->Android SDK in tab "SDK tools" check the option for "Google USB Driver" and Apply.
I was having a similar issue and I traced my root cause to this error message in the log.
XML verification failed for http://dl-ssl.google.com/android/repository.addon.xml
If this is the case, make sure your JDK/JRE version is 1.6 or greater.
If you are using Windows 7 64 bit, make sure you update your x86 JDK/JRE version as well.

Categories

Resources