Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: no running Device

I want to run my Android Project iwrote with emulators on my Android Device. The Device is Connected on an USB-Port. When I start the "Android Device Chooser" nothing happens. No running device in the "Choose a running Android Device"-Table is displayed. I tried to reboot the system(PC and Smartphone) while connecting. I tried every USB mode. I tried another Device( G1 and HTC Desire). Unknown Source is always true. I tried another Eclipse-Version(64 and 32 bit), tried another SDK(64 and 32 bit) and reinstalled the android sdk. I still can't see any device. Everything worked fine on my old 32 bit system. Now i have to work with my 64 bit lenovo. (both windows 7) somebody got another idea? Thank you. Fabian

like image 583
fabian Avatar asked May 07 '11 23:05

fabian


People also ask

Why is it showing no device in Android Studio?

Install the USB driver for your Android device. Enable USB debugging on your Android device. If necessary, install the Android development tools (JDK/SDK/NDK).

How do I get Android Studio to recognize my phone?

If your device is not correctly detected in RAD Studio or in the system Device Manager, check the following: Ensure that your Android device is unlocked and not sleeping while connected via USB. Set the appropriate option in Settings or Developer Options. Make sure your Android device is enabled for USB debugging.

Why is my Android Emulator not working?

If the Android Emulator does not start properly, this problem is often caused by problems with HAXM. HAXM issues are often the result of conflicts with other virtualization technologies, incorrect settings, or an out-of-date HAXM driver. Try reinstalling the HAXM driver, using the steps detailed in Installing HAXM.


2 Answers

See this link for detailed info: http://developer.android.com/guide/developing/device.html#setting-up

In short, you have to:

  1. Mark your app as debuggable (in Manifest)
  2. Allow USB debug on your device (Settings->Application)
  3. And, if developing in Windows, download drivers.
like image 131
Corkscreewe Avatar answered Oct 20 '22 06:10

Corkscreewe


Try command line "adb devices" to see if your phone is detected ok. Except limited number of phones supported by Android by default, manufacturer-supplied setup needs to be used to start usb mode. In my case, Vodafone 845, setup was contained in phone storage. So after phone was detected as normal usb storage, I located that utility and simply ran it. Then it started to be detected as android phone.

like image 31
bob Avatar answered Oct 20 '22 05:10

bob