Eclipse AVD Not Seeing Connected Devices - Win 8 - android

When I connect an external device through USB it does not appear in the ADVM
I was previously using Eclipse on a 32bit Win 7 build and had no problems, when a device was connected it appeared in the ADVM.
I have since clean installed the machine with 64bit Win 8 and installed Eclipse and the SDKs from scratch.
When I connect a device LogCat records a load of information about the device and what it is doing. but when I open ADVM the device is not present so I can't use it as the run target.
Any ideas?
(I am a dabbler writing silly apps for my kids devices not a fully fledged coder)

What is happening to me is that the name of the device is not being shown, but it will still be the first device when it asks me to choose. Try clicking on the first list item in the "running devices" when you have to pick which one to launch from. If you can pick it (it'll be a blank item), and Run, it should/might work.Try it out, it's exactly what's happening to me. I suspect this could be it just because your LogCat seems to be working.

Related

Android Studio no longer recognizes LG G Stylo

I need to know how to make Windows 7 forget it ever connected to my LG G Stylo phone. I have three devices that I use in Android Studio development. For some reason, this one is no longer being detected by the ADB. Something has happened to make it no longer show up, because it did a couple of weeks ago.
AS's ADB will detect my other two devices, and this device shows up in the in the ADB on another computer. I have tediously gone through the registry and removed everything referencing the Stylo, but it still will not show up in AS's ADB.
Thanks for the help!
John
To start, I have just purchased the LG Stylo 3 plus and ran right into this situation. TO repeat the basics you need
With Android Studio shut down...
Turn on Developer options (tap 7 times on build number in settings
(Settings>System>About Phone>Build Number
Turn on USB Debugging in Developer Options
(optionally) check on the type of USB connection, MTP or PTP should
work
(Optionally) Because I did it, also do a revoke USB tap.
Here was the key for me. I needed to install the LG USB Windows Drivers for my Windows 7 (I'll try 10 tonight and update). Go to this page
LG Drivers and firmware
and either type in model number or browse to find device. LG has a nice interface to install the Windows Drivers. I recommend the Support tool to verify the device as the up to date drivers as well. Start Android Studio and to test I just started the app in debug mode and went through the process of setting up ADB for using the new;y connected device.
Developer options" has to be ON in order to make AS see the device
If even though device manager you can't saw the device, Windows couldn't find drivers.Maybe the drivers are hidden on the device otherwise download it and install it.
If that doesn't work:
Shut down
Hit F8 (or whatever gets to startup options screen on your computer)
Disable Driver Signature Enforcement.
Run driver

ADB doesn't see my device

Unable to install the drivers for the usb debugging mode on android-system.
The device — Sony Xperia V with Android 4.3, on the PC — Windows 7 Home Premium.
Phone Information in Device Manager. There he defined as "portable device". Sorry for language. It is russian :(
I downloaded the latest ADB drivers from the sit Google, set them manually, and the picture is as follows:
ADB does not see the phone.
Update the Windows driver does not, on the grounds that the best of everything is already.
If remove them when you reconnect a Windows device starts again instantly put all the same his driver.
Disable automatic driver installation failed. In the Home version of Widnows is only possible to disable autostart them with auto-update service, which I did. Set gpedit.msc, where he was to be an item on the prohibition of automatic installation of the device, but it was not there.
You can connect your phone is turned off debug mode and then turn it on. In the Device Manager list is updated, but nothing new in it does not appear.
I faced with this problem for a long time ago when I try to install a custom recovery . Then the phone just was not detected, probably due to lack of drivers. Tried in vain to fix anything, but it was easier to use someone else's car, where the driver got up at once as it should. Now, the problem still want to overcome, for debugging applications on android-emulator inconvenient, it would be nice to do it several times on a real device.
Now I don't know what to do :( Help me please.
You have to install the PC Companion from Sony.

Eclipse does not detect Android device

Eclipse is not detecting my phone. It's a Samsung Galaxy S2 HD LTE, Android version 4.0.4. Working in Windows 7. I have enabled USB debugging and updated the driver for it, but when I go into Eclipse Run --> Run Configurations --> Target it is not listed.
Not sure if this is relevant but I heard in another thread that the build target for your project has to be <= to the version of your device. If this is the case, all the options here are higher and there doesn't seem to be a way to add another so I'm not sure what to do. Also checked the manifest file to see what the min SDK is. It's 8 (which corresponds to android version 2.2) so that is fine.
I'm wondering if it has to do with "Android" being listed under Other Devices in the Device Manager (as per image below). I'm not even sure what this is. The phone itself says it's already updated, but when I try to update Android it can't find the driver software.
Another issue could be that when I connect the phone to my PC, it lists it as a camera instead of a mobile device, and displays the message "Connected as a camera" on the phone itself. The first time I connected, it also showed some error message about how device was not installed properly, but I haven't seen this message again and so not sure what to do about that, or that stupid Autoplay window that pops up every time I connect.
If you have any ideas please let me know!
Check if your Android Composite ADB Interface is correctly installed.
You can refer OEM USB Drivers and Debugging on real device for more details.

New Nexus 7 not appearing on Eclipse/AVD Manager

I am having trouble connecting a Nexus 7 to Eclipse... and really lost about what to do to get it running. OS of my Computer is Windows 7 64 Bit.
Another Nexus 7, exactly same android-version, but with less memory, was successfully connecting previously; I have no idea if that could be the cause of the problem? Somehow, none of the million topics about this solve my troubles.
What I already did:
Nexus 7 is in Developer Mode
USB Debugging is Active
I am connecting as PTP-device
It does show up when I run adb devices on commandline. It sucessfully DISappears from adb devices when I unplug it, kill the adb server, and reboot
Despite all this, if refuses to appear as a device in AVD Manager!
Strangely, an emulator I deleted weeks ago still appears in adb devices, but at least it is offline...
Any ideas about what I missed?
Google hasn't taken the "developer" out of its Nexus line, and it's not going to anytime soon. But the settings have been hidden from casual view in the settings menu. Here's how to get them back:
Go to the settings menu, and scroll down to "About phone." Tap it.
Scroll down to the bottom again, where you see "Build number." (Your build number may vary from ours here.)
Tap it seven (7) times. After the third tap, you'll see a playful dialog that says you're four taps away from being a developer. (If only it were that simple, eh?) Keep on tapping, and poof, you've got the developer settings back.
Here are the links
Restore the Developer Options menu in Android 4.2
How to enable developer settings on Android 4.2
Update Drivers for your device
http://developer.android.com/tools/extras/oem-usb.html
Open Windows Device Manager (Right click my computer and select manage)
Uninstall the Android Composite ADB Interface (delete driver) so the Nexus 7 will be displayed as Other Devices when you re-connect it. Select it and choose to update driver software with a driver you select yourself like android/extra/google/usb_driver or a downloaded driver from ASUS http://support.asus.com/download/ModelList.aspx?SLanguage=en&keyword=nexus%207&type=1
worked for me...

Unable to run my app from Android Gingerbread 2.3.9 Phone

I am using Android 10 Gingerbread 2.3.9 version . I have tested my app on Emulator using Eclipse it works fine . Now I want to test my app on real device. For that I have googled a lot and found that we need to Download the Google USB Driver package from SDK Manager.
I have downloaded and Update my driver from Device manager then it says Your driver is Updated Successfully. When I plug my Phone to PC in device manager I got 2 options like Spreadtrum Phone and a Android Phone I have updated the driver for Android Phone and for the Spreadtrum Phone it shows a Yellow bar near left bottom corner. I dono what it was and googled to find a driver to update it also but could not figured out. I left that part and tried in another way.
I have connected my Phone to my PC and then copy the .apk file into my SD Card and then unplug the cable from my pc. then I click on my .apk file. I was able to run. but the problem is with when
I try to debug the app from eclipse when phone is connected. I have chosen the option as "Allow me to Pick a device every time" from Run Configurations". But I am unable to see my device in my Devices list also I tried from Command prompt "adb devices" it is not listed my phone which I connected. I have Checked 'Unknown Resources" and also Checked " Use Debugging" in Developement menu option. but nothing solves my problem.
I have tried a lot of code samples and every one is doing in the same way but I could not figure out the problem.
Please friends tell me what is the problem as I am not able to debug from my eclipse I can't figure out the problem from LogCat also.
Thanks
Ganesh

Categories

Resources