Error connecting LG nexus 4 to Eclipse - android

I am new to Android programming and have been unable to connected my phone to eclipse for debugging and running applications on the go since many days. I have enabled the USB debug mode etc, installed the Google USB drivers and followed all the steps mentioned on the official Google site
http://developer.android.com/tools/device.html
As extra debugging steps for this problem, I tried the Android Debug Monitor tool (monitor.bat) but my phone didnt get recognised in that as well. Also I ensured the my project build SDK version was 19, which i believe is suitable for Android 4.4.4. I used a Moto G(4.4.2) and again I couldnt run apps on it from Eclipse.
But in five minutes by following the same steps I could get the debugging working with Samsung Galaxy duos(android 4.2.2, API 17)
Am I doing something wrong?
OS on PC - Windows 8

Download pda software from pdaorg.co this will surely help you. I was also running with same problem but after installing pda my problem has been sort out.

Try switching your phone's USB computer connection to Camera(PTP) mode. Worked on my side. Hope that helped.

Related

Android Studio 3.0.1 does not find device

After I updted Android Studio to 3.0.1 my device was not found anymore (it worked perfectly before).
What I already tryed:
switching usb port and cable (should not be the problem anyway since it worked before)
turn my phone to PTP and back
checking if google usb drivers are installed in sdk
I dont know how I can get it back to work and I dont know if it might be a bug of Android Studio becuase everything worked before.
My Device - OnePlus 3T
My OS on desktop - Windows 10
I hope somebody can help me here.
Thanks!
install Universal ADB Driver
and configure your device with this tool first and then your device will be found by android studio

No USB devices or running emulator detected

I am very new to Android development. I am trying to create and run an app from tutorial - https://developer.android.com/training/basics/firstapp/creating-project.html
But while running app it is showing me "No USB devices or running emulator detected" in Select deployment target dialog.
Background and what I tried:
I am using Lenovo K4 note Vibe.
Android version 5.1
I have enabled USB Debugging from my phone also checked "Enable OEM unlock"
I have selected USB "MTP" as connection mode when I connected my phone to machine.
I am using windows 7 and Android studio version 2.3.2
My device appears in "Device Manager" of my system i.e. It is installed properly.
When I connect my phone to my system it shows AutoPlay dialog, asking to run "Run Lenovo_suite.exe", I tried to see if my deice appears in Studio when I allow to run that app, but still no luck
I also tried by checking and unchecking "Enable ADB Integration" from Android studio, still no luck
I have already installed Android SDK for verion 5.1
I have also tried installing "Google USB driver".
I also tried connecting my device to all of my machine port
I am tried using Emulator, but it is really very slow on my machine, it takes around 2-3 hours just to boot. So, I am using my phone.
Your assistance in this matter is greatly appreciated
this problem just happen when your USB connection mode is not work in debug mode, Like:
File Transfer Or MIDI device
The Charging Only is Work in android 5 and above
GoodLuck
a addition to above answer i think if you try to debug it , you will get better result since android if had problem throw a error that says restart adb.exe ,
another thing whats your hardware config ?
and have you tried genymotion , i prefer it over android virtual device , working with a real device is better , but i prefer when to concentrate on monitor have device on it ;)
As per My experience many device not connect
So you need to try this Windows Software to detected your android phone
Install it on your windows system PDANET+
Thanks for your support guys. After 2 hours of struggle I found below:
When I connect my device to the machine, it shows me a AutoRun dialog to Run Lenovo_suite.exe(Which I mentioned in my question), but instead of auto running, I explored that newly created lenovo drive, which had 2-3 setup exe's(usb drivers and magicPlus), I installed both and restarted my machine. When I run MagicPlus software, it helped me to Authorize USB debugging with some kind of fingerprints. And now my device appeared in studio.

Android Studio wont recognize Nexus 7 as device

I am having trouble running an app I am developing in Android Studio on my Nexus 7. I have successfully gotten this to work before using the same tablet and computer (running Windows 8), but since having my laptop repaired and everything wiped I'm convinced something with my dev environment is messed up.
When I go to run the project, there are no available devices, so it is not recognizing my Nexus 7 anymore.
Things I have tried
making sure my computer recognizes the device and that I have the Nexus 7 driver installed from ASUS
going to the SDK manager and ensuring I have the Google USB driver installed
closing Android Studio and re opening it, restarting my computer, restarting my Nexus 7
killing adb.exe from the task manager
ensuring I have USB debugging enabled and toggling that on and off
switching from MTP to PTP and back again (currently connected as MTP, not sure if that is correct)
Any help would be greatly appreciated. This is very frustrating and I would like to just get back to developing again.
Update- I just noticed that when I go to developer options, "Wait for debugger" (near where you toggle USB Debugging) is grayed out. I think this has something to do with it but I'm not sure how to enable it.
I got it!
This was at least the issue in my case, I hope maybe this will help someone someday, apparently I had not installed the adb driver properly:
Search for Device Manager from the search bar on the start screen
Open Device manager, click on your Android device
Select"Update Driver Software"
BOOM. Now Android Studio recognizes the device.
I know this may not be the solution for everyone, but its worth a shot if you are having trouble testing apps on your device.
Between upgrading my second-gen Nexus 7 to Android 5.0.x and Android Studio leaving beta I lost the ability to debug on my tablet.
To get this working again I used a combination of the above advice.
I grabbed a copy of the USB Driver from Asus, but updating the Device in Device Manager and pointing to the unzipped files wasn't enough.
The next step was to point Device Manager to the Android Studio sdk directory (on a 64-bit Windows 8 install that was C:\Program Files (x86)\Android\sdk - beta versions of Android Studio - or %localappdata%\Android\sdk - switched to in 1.x) and then things worked just fine again.
Another possible reason that you may not be able to connect is:
Don't forget to enable debugging mode in Android setting.
I have had the same problem, although just getting started with my Nexus 5 and windows 7. I installed google usb driver package using SDK manager first, computer recognized phone but studio could not find it. Went in to manually update driver for phone but update driver couldnt find it, downloaded driver separately and pointed it to directory path, driver installed then studio found it and ran fine.

How do I get Eclipse with Android SDK running on Windows 8 to debug my app on my phone?

I can't imagine I'm the first person to have had this problem, yet stackoverflow did not recommend relevant questions. Sorry if it has been posted before.
I'm currently developing an android app, and I (laboriously) was able to get it working on Windows 8. I can run and debug my apps using the emulator, but I can't run them on my phone. My phone's version is 2.3.5 (api 10), I've installed the google usb drivers using the SDK manager, and I have the USB debugging setting checked off on my phone. I have been able to run my apps before when I loaded them from Windows 7. Any help would be much appreciated.
Edit: Phone is a Sprint HTC model number PC36100
I have a Samsung phone and the Google USB Driver didn't work so I had to download and install Kies software (which has the driver for my Samsung phone) restarted windows and everything worked fine. I suggest you go to your phone manufacturer's site and download a proper driver. Good luck

Android device on windows 8

I'm having a serious problem, i am trying for 2 days to simply add a device to ADB Android Debug Bridge.(from android sdk) and i can't do that, i've tried many "solutions" but none worked.
I have a project application working fine, on my Eclipse. My Operational System is Windows 8 Pro 64 bits. When i simple connect a Mobile Phone (SAMSUNG Android GT-S5301B with Android 4.0.3) to my computer, eclipse cannot find it, adb devices cannot find it too, no one can find it.
I've tried to intall the drivers from android-sdk/extras/google/usb-drivers but it told me that was already installed.
I cant understand why my OS cant recognize the phone, i tried enabling the USB Debugging in phone configurations, tried disabling it too, tried with MTB mode and MTC mode too.
I dont know what to do, i did spent 2 days triying all the things that i found, i really need a help, a rescue.
What i do?
Download adb driver from samsung website or install samsung kies it will work.

Categories

Resources