Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

my mobile is not showing in android studio

My mobile is not showing in android studio inside available devices when i connect it with usb cable to run the app in my physical device. I have pdanet+ app in my mobile and I already ON the developer option and usb debugging. It's working fine some days before but suddenly its not working.

i am using : Android Studio 3.6.1 Build #AI-192.7142.36.36.6241897, built on February 27, 2020 Runtime version: 1.8.0_212-release-1586-b04 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 GC: ParNew, ConcurrentMarkSweep Memory: 1246M Cores: 4 Registry: ide.new.welcome.screen.force=true Non-Bundled Plugins: de.mprengemann.intellij.plugin.androidicons

Please help me to fix it. Thanks in advance.

like image 594
Bilal Avatar asked Sep 18 '25 07:09

Bilal


2 Answers

  1. Go to your phone's Developer Options:

Settings > Additional Settings > Developer Options

  1. Scroll down to "DEBUGGING" section.

  2. Activate "USB debugging" option.

  3. IMPORTANT STEP:

Within "Developer options", scroll down to the "NETWORKING" section and open "Default USB configuration".

Set it to "USB tethering".

  1. If Android Studio is running on your PC, a popup should appear on your phone saying "Enable debugging" or something like that. Enable it and your device should now be detected in android studio.
like image 158
Hemiacetal Avatar answered Sep 19 '25 22:09

Hemiacetal


Follow these steps for your query:

Step 1: Make sure your device is enabled for development. If yes, go to Step 2, otherwise, go to Settings > About phone and tap Build number seven times which is magic number :-). Now Developer Options is available in the Settings.

Step 2: Before you plug your device to PC, Go to Settings > Developer Options and select the USB Connection method.

Step 3: Plug the phone to the PC, you are given options for the USB Connection method, and please select Internet connection. Make sure you have connected to the Internet. By the way, I have changed MTP to PTP, it did not work for me. Therefore, I tried Internet connection mode, then it worked.

Step 4: Run the app in the Android Studio, it will ask you to authorize the device for development, and select YES!.

Step 5: Run the application via Android Studio and choose the device, not emulator, and BINGO! Welcome to the Android development board.

Another option is:- There are many reasons why Android Studio doesn't see a mobile phone.

One of them is a problem with the ADB Interface driver. You can check it in your Device Manager:

like image 37
Apps Maven Avatar answered Sep 19 '25 23:09

Apps Maven