Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio no longer detecting device after update

A few hours ago, my Android studio was working very fine. I could write, build and run on my test device (TECNO K7).

I decided to update my Android Studio to 3.5. The whole process went well except that I cannot find my device among the list of devices any longer. I have also tried with multiple devices, I got the same outcome. When I click on the run-button, the app runs on the Pixel 2 emulator. However, I want it to run on my device.

Here's a screenshot of what my menu looks like. Note that the device (TECNO K7) is currently connected:

enter image description here

Is there something I am doing wrong?



UPDATE:

I tried restarting my ADB server and I go the following error:

Unable to locate ADB.


I have also tried re-installing the following tools multiple times, still the same outcome:

  • Android SDK tools
  • Android SDK Build-Tools
  • Android SDK Platform-Tools


PS: For reference, I use Mac OS and it is also important to remember that my Android studio was working perfectly fine before the update.

like image 223
Taslim Oseni Avatar asked Sep 20 '19 12:09

Taslim Oseni


People also ask

Can not find my device in Android Studio?

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.

How do I get Android Studio to recognize my phone?

To let Android Studio communicate with your Android device, you must enable USB debugging in the Developer options settings of the device. To show developer options and enable USB debugging: On your Android device, tap Settings > About phone. Tap Build number seven times.

Why is ADB not detecting my device?

In most cases, ADB cannot recognize your device because the USB debugging option is turned off on the device. Turning this option on can fix the issue for you and this is pretty easy to do. Enabling USB debugging does not do anything on your device.


1 Answers

Solution:

  • Drivers not installed: If the Android Physical device is not a Google/Nexus product than you have to download the OEM drivers of the particular model.

  • HAXM not installed properly : Hardware Accelerated Execution Manager must have not installed properly on your computer. Try reinstalling it directly from the options available in your SDK.

  • No proper Path : Sometimes though the files are available in the local system, The Android Studio is not guided with the accurate path name to reach the file.

Hope this will be useful to you.

like image 169
Alfaizkhan Avatar answered Nov 03 '22 00:11

Alfaizkhan