Genymotion devices not working in Eclipse on OS X Yosemite - android

I updated from Mavericks to Yosemite and now I can't use any Genymotion device anymore.
You can see the devices in Eclipse, but when you want to run an application you can't select one of these devices.
I've already re-installed Eclipse, Genymotion and Virtualbox...
The Genymotion Virtual Devices Manager shows a Nexus 5 which is stated 'On'
When I want to run my application, there is no Nexus 5..

This is a bug in eclipse - OSX yosemite, what you need to do is in the Android Device Chooser Window, try to RESIZE THE SERIAL NUMBER TAB and you will see the genymotion emulator that is running
If you don't see it, or the Android Device Chooser Window doesn't appear, check three things before running again:
Developer Options is enabled from settings (by repeated touching 7
times the build number in about phone), even though developer
options is available in the list of apps in genymotion emulator
In Settings>Security, make sure "Unknown Sources" is enabled
Go to Run Configuration (for Android app), select the Target Tab, Enable Always prompt to pick device and hit apply.
Additionally I downloaded the jar files from Genymotion Download Page manually and replaced it in the plugin folder of eclipse.
EDIT
FYI, a bug has been opened in AOSP's issue tracker.
Issue 78436: [ADT/Eclipse] Cannot see my device in the Android Device Chooser dialog even though it is there in the Devices view
At bottom of this page, there is a link to 'Vote for this issue' ...

I can resolve this problem by connect a real device one time.

Please scroll down and see list of devices which is connected to ADB.

I had a similar issue, but my problem was that the emulated device was running Android 4.3 (SDK version 18), but the app had android:minSdkVersion="19" so since no compatible device was found the list was empty.
Double check your emulated device version, and the minSdkVersion number, to make sure it's compatible.

Related

Android phone is not detected in visual studio 2015

I am developing Xamarin forms app. I am not able to deploy app in nexus 6p( phone is not listed in device list ). Tried below steps, still phone is not detected.
I have installed Google USB Driver using Android SDK manager.
I have downloaded usb driver for nexus 6p and done 'Update driver software'
option in device manager under 'Portable devices' section. Device
gets displayed as 'Nexus 6p' within Portable devices section in
device manager and also seen as local drive( next to C: drive ).
Selected droid project as startup project.
But phone is not listed in visual studio device list. Any help?
Make sure the 'USB DEBUGGING' option in DEVELOPER OPTIONS remains checked on your connected Android Device.
I've lost lots of time because this item would uncheck itself for some reason between reboots/restarts and Enabling/Disabling the DEVELOPER OPTIONS.
If anyone else is still struggling with this in 2017, and your USB debugging is definitely on and it's still not appearing - I managed to fix this by turning developer options OFF then ON again from the device's settings. Also ensure that the USB option is set to:
Charging - Just charge this phone
I couldn't get any other method other than this to work. The device was then immediately detected by Visual Studio 2017 for me.
You ABD interface is not installed on your system, so first install the ABD driver from your local machine using (C:\Program Files (x86)\Android\android-sdk\extras\google\usb_driver). 
And check your device is in developer mode.
If all the setting will be good then your visual studio automatically detect your device and you can start to debug your app on your device.
If you have installed VS2017 in parallel to VS2015, you also may have a look here Android devices not showed anymore in VS2015 after installing VS2017

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.

Tablet not connecting to Eclipse

I have a D2-721 Android 4.1.1 Tablet. I have installed all the drivers for it. I have connected the tablet to my pc and everything is normal except eclipse. I can even Export my APK from Eclipse to my tablet but I cant run as android app from eclipse. My phone works fine. Eclipse sees the phone but not the Tablet. Is the problem my SDK? IS there something special I need to connect that kind of tablet to Eclipse? i have version 17 of Android SDK by the way
Make sure you have enabled USB-Debugging on your device. It's step 2 as described here:
http://developer.android.com/tools/device.html#setting-up
You need to do some magic to get it all enabled.
On Android 4.0 and newer, it's in Settings > Developer options.
Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.
Did you install the OEM Drivers? and you need to install the appropriate USB driver.
If already installed then need to update OEM driver
Had similar problem with Nexus 7. Try this, connect the device, then swipe down your notifications on the status bar (left side), tap on Connected as a media device and change that to Camera (PTP).

Eclipse Android SDK cannot see new Samsung Galaxy S4 device via a USB connection

Using Eclipse (Juno SR2) with all the latest updates for Android (ADT plugin v21.1.0) cannot see the new Galaxy S4 as an available device via the USB connection.
Per the Samsung website the correct driver software is "Samsung_USB_Driver_for_Mobile_Phones_v1.5.14.0.ext" (which happens to be the same driver that I have been successfully using with a Samsung Note for the past 18 months).
Even when I go to a command prompt and type "adb.exe devices" to list the connected devices the list is empty.
From within the GS4 I have enabled the allow "unknown sources" for installation of applications, though the "allow debug" checkbox doesn't seem to be included anymore.
Interestingly enough, Windows Explorer does show the handset just fine and I am able to surf the device from Windows.
Any suggestions on how to make Eclipse/Android ADB see the device?
From within the GS4 I have enabled the allow "unknown sources" for installation of applications, though the "allow debug" checkbox doesn't seem to be included anymore.
It should be in Developer Options. If your device is running Android 4.2, Developer Options is hidden by default. To enable it:
Go into Settings > About
Tap on the Build Number entry seven times (Toasts will appear to help you keep count)
Press BACK, and Developer Options should be in the Settings list
You may use an old version of adb.exe. Update platform-tools.
You may have to set a new path to adb.exe as well.
This answer may be outdated. But adding it for the benefit of other users. If you are using say S5, you may need to download the specific driver from samsungs website - http://www.samsung.com/us/support/owners/product/SM-G900AZWAATT
After a lot of search/stackoverflow, found the thing that worked for me.

How to debug Android apps on Samsung gts5360 device via Windows 7

I want to debug Android app on Samsung gts5360 device via Windows 7. USB debugging on Android side is enabled, but device is not showing in Eclipse when connected. I had no such problems in Ubuntu.
So please suggest me how to debug apps on Android device via Window 7?
Try resetting the adb. I usually run Dalvik Debug Monitor in the background when using connected devices, so I can verify that the AVD and/or devices really are registered. You'll find this tool in C:\Program Files (x86)\android-sdk\tools or wherever you have your Android SDK installed. It's called ddms.exe.
If you don't see your device there, go to the menu Actions --> Reset asb. Now, all AVDs and devices should popup, and it will be available in Eclipse. At least, this works for me.

Categories

Resources