I have been trying to connect my Huawei phone to pc but there is some problem. I turned on USB debugging and also turned on Allow ADB debugging in charge-only mode but still, this problem persists. I plugged the USB cable into a different USB port but still, I can't connect my phone to pc.
Try to Enable the following:
Always prompt when connecting to USB.
Allow ADB debugging in charge only mode.
Verify apps over USB.
Increase readability under sunlight.
I will advise you to try with the USB mode (Transferring media files via USB). USB debugging is a feature which allow developer to debug/run application on physical android device. So, this includes file transfer between pc and your device. If the problem still persists, please check the USB cable.
This article is an official documentation from google. I hope it will give you more insights about USB debugging.
Related
Oppo phone does not show allow usb debugging mode rsa authentication popup in windows. I have oppo A5S phone. USB debugging is on. and i tested with MTP/PTP mode. when i connect this phone with mac, it show "allow usb debugging popup, remember this phone with rsa but when i connect same phone in windows, it does not show the popup". Can someone help. I already check so many post as stackoverflow/youtube and many blogs but none solve this problem. Thanks in advance.
I installed google USB driver, OEM drivers. I am able to see the phone name in device manager--opther device option and adb interface as well. One thing i notice adb interface has yellow icon. I have tried enabling/disabling usb debugging option and tried adb kill/start server/devices command. it show list of devices attached output and no device name.
adb devices should show device name. device should be listed in Android Studio.
I find solution to this issue. right click to Adb interface and point to the already installed adb driver in your system. It's working.
Best solution for it just install a oppo pc suite in computer and . goto developer mode turn on usb debugging. There you are it will prompt a rsa ker verification thats all now you are connected. It worked for my oppo realme1.
I have a android mini pc http://www.timingpower.com/android-mini-pc-rk3188
I want to debug my eclipse code. Is it possible? Which cable should ı use to connect my laptop and do ı need to do something more?
Thanks..
I have a very similar device. Like your's mine had a full sized usb port (host) and a micro usb port (OTG). Apparently some builds provide adb over the micro usb port. this was not the case with mine.
Instead I used the builtin wifi to provide adb over tcp.
You can either search the playstore for "adb wifi" or do it manually see this post
I have one tablet, OTG cable and one specific device that reads signals and send them over USB. Now I want to make application that reads data from this device. That device is based on FTDI chip.
In documentation there is stated that emulator does not support USB connections.
So how to test and debug applications in this case? Copying .apk file every time to tablet is not solution.
You can debug on your tablet just as you do with the emulator, unless there is no adb USB driver available for your device.
Guidance can be found here: http://developer.android.com/tools/device.html
i want to install my app on a Android 4.0 mini pc (CHINESE). The problem is when i connect it to my pc over usb the laptop do not find any new devices. so well i can not debug my app
i also checked if usb debugging is enabled and if there are any drivers but i can't find anything useful.
perhaps anyone have had the same issue like me and can help?
I try with this cable (usbMINI-USB) but not working
from the OTG (MINIPC) to USB (pC)
Finally I got the solution
thanks I have the solution, changing the cable that brings by default
by other new ones, and download this drivers
Allwinner A10 Drivers
http://colonelzap.blogspot.com.ar/2012/01/allwinner-a10-adb-drivers.html
Using the OTG device port on the USB port.
thanks
If OTG in your question stands for OnTheGo USB cable - then you are using the wrong cable. OTG cable is used to connect USB peripherals to Android hosts. Use regular USB cable (not the OTG one) to connect your Android device to a PC.
wikipedia article about USB OTG
I'm developing an Android Accessory using a Galaxy Nexus phone and the official Arduino ADK board. I'm using all the standard Arduino libraries available here. I'd like to be able to debug my Android code at runtime so I followed Googles' instructions in their "Debugging Considerations" documentation in order to do remote debugging via WiFi.
When I connect to the phone via USB I'm able to debug just fine (of course it's not talking to the Arduino board though). When I connect to the phone via WiFi I can debug just fine. However when I plug in the board to the phone it no longer auto-launches my application (that's registered with the ADK device). So instead I manually start my application but it cannot find the Arduino accessory. If I switch back to USB debugging and reconnect the ADK board to the phone it auto-launches like normal and everything is fine, but then I'm back to not being able to debug.
There are no changes to the code during all of this. All I did was change how the adb tool reaches the phone. Any guesses why the phone and my application can no longer see the ADK board?
In short:
If the phone is set to debug via USB, it can talk to the Arduino ADK with no problems.
If I invoke "adb tcpip 5555 < enter> adb connect < device-ip-address>:5555" I can remotely debug the phone with no problems.
If I now connect the ADK board to the phone with the USB cable, the phone cannot find the ADK board, but I can still do remote debugging via WiFi. That's how I know that the accessory cannot be found.
Edit:
The phone is running Android 4.1.1 and the Arduino is 1.0.1.
Just bumped into this problem, having returned to USB Accessory work. Yes there is a problem, I've no idea how to fix the problem as later versions of Android simply don't allow you to both run adb over wifi and USB Accessory at the same time. My solution and you probably got there already yourself was to root my phone, luckily a Nexus S, and down grade the Android on it to 2.3.6
It's not a great solution but to debug USB Accessory I have to boot into 2.3.6. Hopefully in the future this might work again.
Debugging USB Accessory through wifi is only possible on Nexus devices. I tried many others (Samsung's, Motorola), they don't detect accessory when USB debugging is enabled in settings. Also tried hardware usb switcher - does not help.