which version of adb interface for android "nexus 7" 2013 - android

developing an app for the 2013 nexus 7 with android studio on windows 8.1. i have the app running on a few different devices. when adding a driver, i get a dialog:
with the clockwork mod manufacturer, i get other choices like: google nexus 7 adb interface version 7.0.0.1 or 7.0.0.4.
i assume that i want an adb interface or a composite one, but sometimes there are many choices.
which interface should i use for the 2013 nexus 7?
thanks

Please find the OEM USB Drives from here.
Android Composite interface is higher level interface that includes Android ADB (Android Debug Bridge) interface, Android MTP (Media Transfer Protocol), PTP (Picture Transfer Protocol), Mass Storage Protocol etc.
I think you can go forward with ADB Interfere v8 as it's backward compatible.
Make the choice as per your requirment.

You can use the newest ADB driver fine.
But if you are having problems picking the device up in Android Studio, then make sure you have the device connected using the correct protocol.
Usually you have the choice between Media (MTP) or Camera (PTP).
This can vary between devices but use whichever one works for you, and makes the device appear in Android Studio.

You can use pdanet if you are using mac or windows.
it supports most of the devices for debugging and is really helpful for some country based manufacturers.

You should download and install the driver from Google
https://developer.android.com/sdk/win-usb.html
The CWM ones may work, but the Google drivers are the officially supported drivers for the Nexus 7

Related

Lenovo USB driver

Problem:
My smartphone model (Lenovo Vibe B) doesn't have a official driver listed in the OEM USB Driver List (it has for Vibe C and other, I've tried the one for C, because phones are kind of similar but didn't work), so I can't use it in Android Studio to test my apps.
What I've tried
So my ADB is not recognized or, when I installed an ADB that was found on Device Manager, I got the error Code 10. Updated the drivers, reinstalled all USB drivers, ADB drivers, tried different software like LeTools, LenovoSmartAssistant, MagicPlus, something in chinese, an universal ADB from a developer named Koushik.
Tried different youtube tutorials... also read articles and tried them:android won't connect, installing adb driver - lenovo, how to fix code error 10
Also checked official documentation from Google,switched from MTP to PTP** and back to MTP,tried even MIDI
Still my device isn't visible in Android Studio and in Device Manacer is marked with an exclamation sign, or now it's not visible at all.
I mention that I also accept a solution in which I can install my app created on Android studio on the phone and test it without Android Studio. I need to do that because I'll work on an app that requires to be tested few month's, in order to have a database to predict a future behaviour.
Thank you in advance for your help provided!
For Android Development using the real device you need a tool called Wondershare MobileGo. Its a pcsuit app for Android and ios.
I am using it for 2 years and its the only final solution for all ADB related issues.It contains all type of ADB drivers of android devices currently on market.
You only have to use it once to get the ADB driver installed according to your device model and you can remove it from your pc after that.

Android Studio not showing connected physical device

I am using the latest version of Android Studio(2.1.2) at the time of writing this post . The problem that I am experiencing is that the ADB instance used by Android Studio doesn't seem to be able to find my Galaxy Core Prime device (SM-G361F, stock Android version - 5.1.1). It can connect to an emulator just fine.
What I had tried (most of these multiple times):
enabling/disabling developer options
enabling/disabling USB debugging
revoking USB debugging authorization
changing MTP to PTP and vice versa (my device doesn't allow deselecting both options, one must be chosen)
reinstalling the drivers
powering on and off both the phone and the PC
installing Samsung's Smart Switch software
using different USB ports
trying out different Android Studio versions (x86 and x64 with the latest respective JDKs)
This is what it looks like in Android Studio:
I had installed the official Samsung's USB drivers from here.
This is what the Device Manager is showing (Windows 7 64-bit SP1):
Afterwards, I've also tried installing the Universal USB drivers from here.
This is what firing up its installation of ADB looks like:
It has obviously successfully found the device.
My device also politely prompted me to allow the PC to connect to it using a generated RSA key which never happened with Android Studio.
The only thing I've not tried is installing Samsung's Kies software.
I really don't know what is the problem here.
Maybe I should just give up and instead use the emulator but it is a damn shame not to be able to debug on an actual physical device, if you ask me.
Thank you in advance.
Android in general does not support all phones for a debug connection. I have a samsung s6 and for me that works. I don't know about the Core Prime though. However, in most cases(in my experience):
The phone does not support the connection
You did not install all the required files in terms of the android SDK you might have not gotten the latest update that supports more phones
The OS is not supported - Mainly caused because Samsung and a lot of other brands insist on having their own updates. And some times they - on purpose or by accident - forget to support USB debugging for developers.
My tablet did not support the USB debugging connection untill it reached android 6.
The cable is a charge-only cable (yes, those exist for some reason). Try with a different cable
You don't have the necessary drivers. Make sure they're installed
It might be circumstantial that your phone model does not support the connection for some reason, but it is really hard to tell. The only way to get proper help is to contact Samsung customer support, but in my experience it is just a waste of time. They don't know their own products. If you try with another device it might work.
After some continued tinkering I managed to get Android Studio to recognize my device. All I did was adding the path to the ClockworkMod's ADB .exe to the PATH environment variable. That seems to have done the trick as Android Studio now allows me to run the application on my device even though it is still running its own instance of ADB (located in the platform-tools folder).
It might be completely unrelated but I'm not considering undoing the modification made to the environment variable.
Here is the proof:

Android Studio or ADB.exe won't detect device

I have recently bought a HTC Nexus 9 tablet for the purpose of USB debugging in Android Studio. This process works on other computers at university but I cannot get it to work properly from my home system,which is what I require. I have tried every single suggestion I have came across online but none have actually worked.
Steps Tried:
Downloading the latest google USB Driver
Installing it through Android Studio and Manually in device manager
Tried ADB Interface Driver and ADB Composite Interface Driver
Configuring driver inf file by adding hardware ID's
Ensuring usb debugging is enabled on the device
Using different USB ports,3 different cables
Tried connecting in PTP mode,MTP mode,charging only mode
Rebooted device and computer
Re installed android studio
No matter what I do,the device wont be shown in android studio or ADB.exe(under list all devices in terminal,also tried start and kill server). I am officially out of ideas,if anyone could figure this out I would be forever grateful!
I have attached some images of some of the things I have tried without success. Once driver has been installed it is listed as "Android Composite ADB Interface" or "Android ADB Interface". Operating system is Windows 7 64-bit
Device on first plug in
Picking a driver
Download HTC PC suite from following link ,install and give a try
http://pc2.software112.com/getfreesw/231109-1805719/htc-pc-suite-07.html
I personally have had many issues with setting things up for Android. Things you should ensure you do include;
Ensure you obtain the appropriate packages in the SDK manager - for example, I wasn't able to make logcat work when debugging with my phone until I downloaded the files for my specific version of Android (so the API files for a Nexus 9).
I believe you may also have to download drivers for your actual phone to allow connection - you should be able to download this from the HTC website. This might be what you need, although I haven't checked it out, and I cant find where I downloaded my drivers from;
http://forum.xda-developers.com/showthread.php?t=2217396
In general, you want to download lots of things from the SDK manager as you'll need them anyway, so don't hold back on just downloading them.
For those (like me) who is still concerned with this issue. You need to go to win+pause break ->Device Manager->Find "AdbInterface" with exclamation sign->Update driver->Search manually->Specify USB driver downloaded from SDK and enjoy: C:\Users\username\AppData\Local\Android\Sdk\extras\google\usb_driver

Android device not showing up in eclipse

I've just bought a new Android phone to develop with - its a Vodafone 785 (Smart mini).
I have followed all the instructions, i.e. allow usb debugging/ non market apks etc, however the device is not showing up in eclipse, nor is it showing up if I use the 'adb device' command.
I'm guessing it may be the drivers. Are the drivers needed specific to each phone? If so does anybody know where I may be able to find them, if they have had problems like this before/used this phone for development. Thanks a lot!
First of all, according to the Google Android device documentation, we need to have a Windows USB driver for ADB (Android Debug Bridge). ADB is a method for communicating with Android devices at a level in which development and debugging is possible.
Try this tutorial:-
http://developandroid.blogopogo.com/tag/adb-driver-tutorial/
Download All MTK USB Driver, See if that works and Install the universal android driver.
Ok for anyone else who has this problem with this phone, you need the alcatel usb driver, found here: http://hexamob.com/driversen/driversen-driversen/download-android-usb-drivers-for-alcatel/

can't install windows usb driver - vodafone 845

My environment is: windows xp sp3, eclipse, all available software installed using SDK Manager.
Following Android developer site's guide, I could write and run hello world app on Android 2.3 emulator. Then I wanted to see if I could run my app on a real device - vodafone 845 (huawei U8120?) in my case. Here I stuck for two days now trying to install windows usb driver for my device. When I connect my device through usb with Debug setting On, windows keeps to ackowledge it as usb mass storage. On Device Manager, I tried Update Driver, selected C:\Program Files\Android\android-sdk-windows\google-usb_driver\android_winusb.inf file. it complained like:
"The specified location does not contain information about your hardware"
It's probably because of missing manufacturer/product information (VID_12D1&PID_1031) in inf file, right?
http://developer.android.com/sdk/win-usb.html site lists supported devices and says that any additional devices will require Windows drivers provided by the hardware manufacturer but so far I couldn't any information.
I guess many developers are facing this issue with their own devices that is not supported by Android SDK and I wonder how they overcome this issue - especially for vodafone 845 device.
Thanks in advance
Bob
This thread states that the USB drivers are included on the phone. Once the phone is connected as a USB mass storage device, browse the contents and look for the driver installer. If you have deleted it or are using a custom ROM you may need to search for the drivers on google.
PS This isn't really a hardware support site.
Yes this works like charm. Everything is located on the sd card. There are some weird things though:
- You can't to choose, if you want to mount the your phone as storage, on other phones you can.
- For us the install did not work at first, only the second time.

Categories

Resources