How to connect my phone to eclipse - android

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).

Related

My phone doesn't connect to PC

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

how to make my portable device an adb device?

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

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.

Can't find Android device to test

I'm trying to test an Android application and have a device connected via USB. The device detects (and charges off) the USB connection but I can't seem to find any record on the computer (running Windows 7) that the device is connected. I looked in Device Manager and did not see an "Android Devices" category, nor did I see an "Other Devices" category. I looked on the device manufacturer's website to see if they had drivers; I could not find any. Does anyone have any idea as to how I could get the device to show on the computer? Thanks!
Most probably windows and especially android adb will see your android device after installing the Google USB Driver
I had the same problem for many of my android devices and most of them are running fine with the driver from google. Only for some sony devices I had to install special drivers.
In Android Studio go to Tools -> Android -> Android Device Monitor. Once it opens close it, this will reset your adb and you should be able to see your device
Your problem sounds related with drivers
the Google USB Driver works only for some android models, some other drivers are installed as plug and play but some others you have to install manually.
http://developer.android.com/intl/es/tools/extras/oem-usb.html
Also sometimes it happened to me that the adb didn't recognize the device while the screen was locked so you could also check that out.
It turned out that the USB cable I was using was a charge-only cable. After switching the cable out, the device showed on ADB.

Why won't Eclipse recognize my Android phone?

I have the Galaxy Nexus. I turned on debugging mode and when I tried to update driver software, I got a message saying that my driver was up to date.
I'm trying to run a simple "hello world" but Eclipse doesn't recognize that my phone is connected when I try to run it...
Try these three things in your devices Settings...
Unknown sources: Allow installation of non-market apps. (On my Galaxy sIII it is found under "Security")
Turn on USB debugging (under Developer options. Do this before you plug your device into your computer.
Turn on USB tethering (on my phone it is found under "Wireless and Network" settings
USB debugging mode should be on in your phone and if using Windows install all drivers required whereas in Mac and linux you just need to check your USB Debugging in Setting->Developer options

Categories

Resources