how to make my portable device an adb device? - android

I'm working on android studio. I want to run my app but android studio cant find any device.
Moreover my device shows as portable device when plugged with USB instead of other devices. I have already enabled USB debugging on my android .Please help me .

Try to install the drivers of your device... and restart your pc. It's should work if you have developer option on your device and USB Debugging is checked. Anyway which device are you using?

Install pda from here (adb driver)
And enable usb debugging in your phone and try again

Related

No usb devices or running emulators detected

I tried running my first Hello World app in android studio in my samsung phone, but I got this message even though the phone was connected through usb:
no usb devices or running emulators detected
note: usb debugging is enabled in my phone
How can I solve this problem?
Connecting your device for development. (Preferred and Fast developing option)
Open your phone's setting->developer options and turn on USB debugging. Then connect your device.
Download Google Usb Driver from SDK Manager. Install your device's required drivers on your computer. And connect.
Using emulator(slow process)
Create new android virtual device(AVD) and download required sdk versions.
Run your app on AVD.
Hope it helps!!
you can solve this problem by the following:
1-make sure the oem driver for samsung (SAMSUNG_USB_Driver_for_Mobile_Phones) is installed
2-if you have another usb port,try to disconnect your phone,and reconnect in another usb port
the second solution solved this problem well>>>>>
install the Samsung kies3 and it will work
This happened to me after upgrading Android. I am running a Google Pixel phone. When I did the upgrade, the USB Configuration setting on my phone, apparently, changed from MTP (Media Transfer Protocol) to Charging. I changed it back to MTP and it works now. I upgraded from Android 7.1.1 to 7.1.2.

Android USB debugging - computer can not find phone

I was using Android Studio, was debugging on my phone via USB. Now the PC can not find my phone any more. The phone is charging, but the PC can't find it.
I have windows 10. USB debugging is enabled. I tried restarting both the PC and the phone. I tried lots of other things, like USBDeview, PDAnet and so on.
Any ideas what to do or how to find out what's wrong?
Thanks.
Regards,
Serban
In your terminal call "adb kill-server". It should cause a restart of adb.
Just do it that for Xamarin. And did it before for Android Studio.
You need to:
-- Install drivers for your phone and your SO.
-- Install Google USB Drivers (open Android SDK Manager).
-- Connect your phone by USB and wait until your computer recognize it.
When you will try to run or debug your app you can choice the device (virtual or physical) where you can do it.
Note: If you donĀ“t run any app before, maybe you will need to install a few API (by Android SDK Manager), for compiling the app.
This is a hack that worked for me . Once your device is connected to the PC click on the notification in your android device that says
Connected as a media device it will take you to the USB Computer connection screen and select the Connect as option as Camera(PTP).
I hope that it helps.

Android Studio is not showing physical device Lenovo K5a040 (K3 Note) and have tried almost every method?

I have tried
Installing driver
The USB debugging enabled in Developer Options
Switched from MTP to PTP device selection
Check if adb devices command shows the devices
Edit Run Configurations.
But my physical device Lenovo K5a040 is still not shown.
The problem is because of not properly installed Android Debug Bridge (ADB) USB Driver on your system.
You can Check whether it is properly installed.
Connect your Device and enable the USB debugging in device.
Right click on My Computer and open the Manage.
Go to other Devices and check whether your device is showing warning icon.(if it shows warning it is clearly says, ADB is not properly installed)
Reinstall the Android Debug Bridge (ADB) USB Driver.
Please check this link it will be helpful.
https://software.intel.com/en-us/xdk/docs/installing-android-debug-bridge-adb-usb-driver-on-windows
Hope it will help. :-)

How to connect my phone to eclipse

I have a HUAWEI G750 with android 4.2.2
I want to connect my phone to eclipse but i can't.
My USB debugging is on and my USB cable has no problem.
Is there anyway to connect my phone to eclipse and run the projects on my phone instead of the emulator?
try to instal huawei drivers from this link
http://consumer.huawei.com/en/?method=index
and then Update Driver from device menager in control panel
Try to use the Universal USB Driver for Android devices. (f. e. http://adbdriver.com/)
Also make sure to connect your device as camera (PTP).

Eclipse not detecting android device

Eclipse is not able to detect my android device even though it is connected to my computer. I had it working on my computer earlier, but my hard drive crashed so I had to reinstall/setup eclipse, and now it doesn't work. I have enabled USB debugging. I updated my USB drivers/ android devices. I tried connecting my android phone first, and then tried my tablet, but there was no change. I tried restarting the ADB server. The android project runs on the emulator, but the emulator takes so long to load and is laggy. I did a lot of research on how to fix this, but nothing is working. In my eclipse console it says, "Failed to find an AVD compatible with target 'Android 4.4W'."
if you have root, you can try to use Wireless adb via wi-fi. for this you must install from GooglePlay app like "wireless adb" run it and connect from cmd like this:
"e:\androidSDK\sdk\platform-tools\adb.exe connect 192.168.0.68:5555"
Also i recommend you to install free third-party android emulator BlueStacks, it work very fast! faster then real device connected by usb
For virtual device try Genymotion
For hardware
-first check if your device is connected - adb devices //some serial number should list. If empty, you need to install proper drivers manually.
also check in windows Device manager
Try to disable USB debugging then enabled USB debugging.
Relay! Yeah it's work.

Categories

Resources