in the last week, I've been trying to connect my Meizu m2 phone to my computer for debugging purposes (running an app from the android studio) without any success.
I've enabled my USB debugging mode on my device, I've connected it to be on MTP rather than PTP, and I've also taken a look at my computer's device manager, and seen that the device wasn't listed under other devices category, and honestly I couldn't tell where was he listed.
In addition, I've opened an android studio and pressed the run-app button, but my phone wasn't recognized by the android studio.
Please help me fix this issue.
Follow these steps:
Try installing PdaNet+ Windows app
http://pdanet.co/a/
Install PdaNet+ Android app on your device. Download from Play Store https://play.google.com/store/apps/details?id=com.pdanet&hl=en
Now connect your phone to PC/Laptop
Open Android Studio and check device connected or not
Hope this will be helpful...
There is many reasons and some instructions :
1- disable driver signature enforcement and connect again
2- install Universal Driver
3- install another ADB Driver
Related
Android Studio is not recognizing any external emulators (phones) connected to it.
I have tried the following mentioned things without any success:
Installed the device driver. (It is working fine. The device recognizes my
phone.)
Turned on USB Debugging.
Kill-server and then start-server commands.
I am using Android Studio for Windows.
Probably you haven't installed the driver for your phone (if you use Windows). For instance, if you use Nexus or Pixel phones, you should install this. If you use Samsung phones, try this link.
It worked for me. If you still cannot see any of the devices, try calling 'Invalidate Caches / Restart' in the File menu in the Android Studio and restarting the system.
Hope it helps!
I had the same problem, my problem was I was using a cable that cam with the phone that acsually would not transfer any data from\to the phone, the moment I changed the cable it worked like magic.
Just try changing a cable 1st, the PC has to recognize the device even if You have no drivers, if Your phone doesnt ask You to give permission to access from PC than the cable is just a charging cable!
Hope it helps.
Set up a device for development (android documentation) :
On the device, open the Settings app, select Developer options, and
then enable USB debugging.
Set up your system to detect your device.
For Windows: Install a USB driver for Android Debug Bridge (adb). For an installation guide and links to OEM drivers, see the
Install OEM USB Drivers document.
When you connect a device running Android 4.2.2 (API level 17) or
higher to your computer, the system shows a dialog asking whether to
accept an RSA key that allows debugging through this computer. This
security mechanism protects user devices because it ensures that USB
debugging and other adb commands cannot be executed unless you're able
to unlock the device and acknowledge the dialog.
I have Android Studio on Windows 8.1 and I want to run my android app on my Samsung Galaxy S7 phone.
Here are the details:
USB debugging in my phone is ON
adb version is 1.0.36
Under Device Manger -> Portable Devices -> My Phone, the status is 'The device is working properly'
I also installed Google USB driver in SDK Tools
My desktop can detect my phone since I can read and write files using Windows Explorer
I tried the following but still, adb devices still does not recognize my phone.
Tried USB Configuration MTP
Tried USB Configuration PTP
Tried using different USB cables
Tried restarting Android Studio before and after I plug my device to my desktop
Did I miss any configuration? Any help is appreciated!
Thanks!
I too had the same problem.
I tried the following and it worked.
Make sure Developer options and USB debugging is enabled on your device
Then on your Windows system.
Open device manager and locate your device's ADB Interface Driver
Right click and choose properties
Check in the general tab if your device is working properly
If it is not enabled then go to Driver tab and select enable
You may have to try enabling your device a few times(7-8)
If this works then you may see the below message on the General tab
This device is working properly.
You need to restart your computer before the changes you made to this device will take effect.
And that's how I made it work.
install drivers for your device and enable developer mode for your device
While the simple answer here is enable debug mode and install drivers, I think the answer should mention that if nothing works , do install google drivers. I stumbled on a video explaining the same, so adding the link here.
https://www.youtube.com/watch?v=asbkkV-IIZc
It helped fix my issue with oneplus device. Also, I could get the google usb drivers from android studio > sdk manager > sdk tools section.
Hoping to save someone else's time.
If you entered command adb devices in cmd and don't see your device ID, you can to open Windows Task Manager and close adb.exe task. Then you need to open again cmd and enter adb start-server and check devices again.
If you don't see your device ID after all then maybe problem in phone or drivers.
I found the answer here
I just need to install Samsung USB driver and it worked fine. I guess the Google USB driver did not work for me.
Also, I didn't know that I need to install a USB driver even if I can already read/ write files to my phone when I connect it to my desktop.
In Device Manager, I was looking at the wrong device (Portable Devices). I should have been looking at Other devices and there I can see that the Samsung phone has no drivers installed.
Thanks!
I had the same problem. Just try another USB port on your computer.
rebooting of the android device worked for me. Also, try to use the port USB 2.0
I was also facing the same issue on my MAC-OS. Restarting the MAC fixed the issue.
I also installed Android File Transfer to check if this was only a debugging issue or if it was an issue with the connected devices. Even AFT wasn't working so it was definitely not a debugging issue.
I also got this message on launching Studio after restarting the MAC.
sometimes windows firewall prohibit the adb.exe in platform-tolls folder
first check your phone and be sure about "usb debugging" is "on"
check that Default USB configuration is on "transferring files"
if you checked 1,2 but the problem is not solved you should reinstall platform-tools from "SDK manager" then "SDK tools" uncheck "Android SDK platform-tools" click apply then reinstall it by check "Android SDK platform-tools"
I am trying to test my android app (android 2.3.3) via my karboon A1+ phone. However, I cannot get Eclipse to recognize my device on the debug config menu. My phone is recognized by my computer when I connect via the usb cable. I can access my phone via windows but not Eclipse. Also, the karboon A1+ driver has been recently updated when I updated to android 2.3.4.
The reason I am using my phone to debug is b.c the emulator keeps crashing/failing to install my app. I am running Windows Vista 32bit. Any help would be appreciated. Thanks in advance.
Are you in developer mode on your phone?
This might help - Android devices
You would possible need to install the android drivers called ADB
This is also how to install the android driver from your SDK - Installing Drivers
Don't forget to enable apps from 'unknown sources' and enable ADB debugging.
Without both of those you can't install and get the console output from your app, which is pretty essential.
Those devices from small manufacturers are really tricky to get the drivers to work.
Apparently this guy got it working, it's a very hacky way, but I'll put his text:
I downloaded Zte n721 USB driver for my mobile. ( It
requires speecific driver for your device. Google usb drivers works
for very few mobiles. ) Then I put vender ID for Zte 0x19d2 to my
adb_usb.inf. ( You can not save in edit but you have to use : echo
0x19d2 >> adb_usb.inf ( use your vendor id you can get it from net I
got it from mypcdrivers.com) When you allow debugging on the mobile,
it works.
Apart from that the best thing is try to contact directly with your device manufacturer via this link http://www.karbonnmobiles.com/contact_us.php and demand an ADB Driver.
I'm running Windows 7, trying to connect my Android phone by USB so I can start developing in Eclipse. The phone is a Huawei Prism running Android version 2.3.6, and I've set it to USB debug mode. The phone's driver failed to install and I got the following error message:
Device driver software was not successfully installed
Android Adapter No driver found
I Googled around but couldn't find anything on this error. The Device Manager shows a yellow exclamation point.
I'm not sure if this is a device usage question or a development question. My goal is to get my phone to be available under Run As... in Eclipse.
Download and install Hi Suite. It's used for syncing Huawei devices, it'll have the driver you need.
http://www.huaweidevice.com/resource/mini/201105239635/hi_suite_en/
You must always install your specific phone USB Driver before being able to debug by USB.
So generally a " USB driver" search on Google does work.
I did it for you and found this page : http://www.huaweidevice.com/worldwide/downloadCenter.do?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Is it the driver you tried ?
A more flexible way is to install the Adb Driver Installer: http://adbdriver.com/downloads/
Once you download it, enable USB debugging on your phone and plug it to your computer. Then, use the Adb Driver Installer to install the required driver. It works for any Android device! Hope this was helpful. :)
I recently found the right way to address this USB issue with Huawei.
Go to http://consumer.huawei.com/en/?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Search: USB Driver
It will be the option HUAWEI Android Phones USB Driver
Make sure it is version v1[1].0 and file size 7.76 MB
Download zip, extract, proceed with usb download
Note: Make sure you debug and keep "stay awake" on before hooking up your device.
I am new to Android. I can't get the application to run on real device. I'm using Eclipse.
I followed as is said in the android developer forum but eclipse AVD is not finding any usb connected device. I enabled usb debuging in my mobile and set android:debuggable="true" in manifest file but Eclipse is not getting the device connected.
Did your PC recognize you phone device?In other words,did you install driver correctly?
Probably there is only one point you're missing. According to http://developer.android.com/tools/device.html you have to install usb driver for adb (if you are developing on windows) or you need to add a udev rules file that contains a USB configuration for each type of device you want to use for development (if you are developing on Ubuntu Linux)
Before testing your application on real device please check your device is visible in Running Devices or not.If it is not visible simply do one thing install PdaNet on your desktop computer it will detect driver for the respective phone and install it.You can get it here
see this url: http://creandroid.blogspot.com/2013/10/del-eclipse-un-dispositivo-android.html
OR
http://developer.android.com/tools/device.html
IN thoses link is how to run aplications direct in real device