Asus zenphone 2 USB debugging - android

So, I have asus zenphone 2 that I want to use for usb debugging.
However android studio does not show my asus device even when its connected through usb.
I downloaded asus usb drivers for windows from here
However there's no exe file in downloaded zip, So i have installed the driver by going to Device manager > add legacy hardware > choose driver directory.
However device manager shows following error
"Asus Android ADB Interface" - This device cannot start. (Code 10)
I have pc link and that works perfectly.
Does any one has idea what can be done. I am on windows 7

Related

Can't usb debug, device doesn't show

I wish to test my android app on my phone, but my device does not show in the list
Have followed all the tips in this thread - Installing the Android USB Driver in Windows 7
And followed this -
https://developer.android.com/studio/run/oem-usb
I have tried locating both the USB debug driver installed via android studio and also the samsung one i downloaded.. neither work
I get the error windows was unable to install your SAMSUNG_Android.
C:\Program Files\SAMSUNG\USB Drivers is the folder I select to install drivers from..
Info:
Windows 7
Galaxy s4 mini
The solution for me was changing the usb connection from MTP to PTP. Which interestingly isn't mentioned on the official android dev site.
Download and install adb driver for your device from here
and now turn usb debuging on and install required driver by selecting your device and click install button at the bottom
Hope it works

Device not recognize in android studio for android debugging

My device Xiaomi Redmi MI A1 is running stock android, don't mistake it to be running MIUI.
Things I did :
(1) Enabled developer options and enabled USB debugging.
(2) Connected to my PC and downloaded Google's USB drivers for Android Studio as well as OEM USB drivers from Xiaomi.
(3) Installed it and also updated the device drivers from device manager by manually selecting the OEM USB driver file (it was showing no updates available afterwards), but Android Studio was still not recognizing my device.
(4) I also downloaded MI PC suite from their website but now it wasn't recognizing my device, I connected my device in PTP with USB debugging enabled.
I am using Windows 10 ( Version 1703; build 15063.632 )
My device config is AMD A6 processor at 1.8 GHz quadcore with 4GB RAM.
try to do this things...
1) change your USB mode to file transfer .
2) enable to install from Unknown sources ....
go to settings->additional settings/Privacy/Unknown Sources
3) also enable install via USB in developer options
4) restart Android Studio.
Try changing the "Select USB Configuration" option to MTP.
It worked for me after installing the Mi PC Suite from here: pcsuite.mi.com
Try changing the USB mode to PTP or any other, in some systems PTP is only recognised in Android studio.
open file explorer
right click on my computer
press on Manage
open the device manager
you can see unknown USB connected
right click and press on update driver
press on browse my computer
press on let me pick
press on USB composite and Next
that it!! you will get a popup that your device is recognized now,
you can see it in the device manager now, your USB is recognized now.
Good luck!

how to connect samsung j7 to eclipse to run apk

I was installing USB drive and Samsung Kies also i enabled the usb debug at Samsung J7 and the model number is SM-J700H.
and at eclipse i was make target for devices and installed USB drivers but not working and i can't install apk at devices.
this is the steps:
1. Download OEM USB Driver
2. Enable USB Debugging
3. Connect device to PC
4. Eclipse -> Android
but nothing happens
also i used this link
Samsung Galaxy J7 USB Drivers for Windows
http://www.teamandroid.com/2015/12/01/samsung-galaxy-j7-usb-drivers-download-now/
no result
make sure your driver installation is succeed
in Eclipse Windows -> Show View -> Other -> Devices, check if your device detect or not

Intellij idea usb device debugging app doesn't load on phone

I have a nexus 4 and all the required drivers installed (the phone is recognized with the "adb devices" command).
When I try to debug my android app with Intellij idea over USB I get this output:
Waiting for device.
Target device: lge-nexus_4-xxxxxxxx
Uploading file
local path: C:\Users\Public\Documents\Java Projects\Test GDX Project\android\build\apk\android-debug-unaligned.apk
remote path: /data/local/tmp/com.testgdx.game.android
But nothing ever loads on my phone?
EDIT: After I manually installed the app once, usb device debugging started to work all of a sudden.
Trying using a different USB cable (i.e. original cable and not a cheap 0.99$ cable). for some devices, some cables are not compatible for debugging purposes.
Windows 7
To install the Android USB driver on Windows 7 for the first time:
Connect your Android-powered device to your computer's USB port.
Right-click on Computer from your desktop or Windows Explorer, and select Manage.
Select Devices in the left pane.
Locate and expand Other device in the right pane.
Right-click the device name (such as Nexus S) and select Update Driver Software. This will launch the Hardware Update Wizard.
Select Browse my computer for driver software and click Next.
Click Browse and locate the USB driver folder. (The Google USB Driver is located in \extras\google\usb_driver.)
Click Next to install the driver.

Unable to run Android application on Motorola XT907

I'm having issues running my Android application on a Motorola XT907 phone. I'm using Eclipse. USB debugging is enabled on the device, and I was able to get my application on two other phones, yet I'm having trouble with this one.
Eclipse is set up so that I have to select the device when I run the application.
In my manifest, minSdkVersion is 14, and targetSdkVersion is 19. The phone I'm using is running 4.4.2.
In the project properties, the Project Build Target is set to Android 4.4.2.
I'm running Windows 8.
Here is what I tried so far:
Rebooted the device.
Ran commands to restart adb. (adb kill-server, adb start-server)
Restarted Eclipse
Restarted my computer
Lastly, I have tried manually installing driver software, but I am unable to do this properly. This was my procedure:
Open Device Manager
Right click on XT907 under Portable Devices and select Update Driver Software...
Select Browse my computer for driver software
Select Let me pick from a list of device drivers on my computer
Select Have Disk...
Browse to adt-bundle-windows-x86_64-20140321/sdk/extras/google/usb_driver/android_winusb.inf and click Open, then OK
This is where I run into an issue. I get a dialog with the title "Select Device" that says "The folder you specified doesn't contain a compatible software driver for your device. If the folder contains a driver, make sure it is designed to work with Windows for x64-based systems."
Does anyone know how to solve this issue?
try this:
on your phone, activate usb debugging (and enable ADB);
connect the phone to the same network of your pc. connect USB too.
in your command prompt go to your adb.exe folder (.../sdk/platform-tools/) and execute adb connect (your mobile IP)
I use this on my Samsung nexus without drivers installed.
Did you try the driver from the motorola site of this phone :
https://motorola-global-portal.custhelp.com/app/answers/prod_answer_detail/a_id/89608/p/30,6720,8577
?

Categories

Resources