0

Project run perfectly by creating build. Whenever I am going to run the any project its first showing initializing ADB and after 1-2 sec it's totally blank without any output.enter image description here

Taps
  • 27
  • 6

1 Answers1

0

First, check that the device is connected properly and USB Debugging is enabled. You can enable debugging in developer options in your android device. Second, open terminal and type the following commands:

  1. adb devices: This should list the devices connected to the computer. If you see an error saying adb command not found, you'll have to add Android SDK to your path. You can find the instructions here: https://9to5google.com/2014/12/02/how-to-install-adb-tools-windows-mac-linux/
  2. adb kill-server: This will kill the ADB Server
  3. adb start-server: This will start the server.

After you have restarted the adb server, try the 1st command again and you should see your device. After you see the device, restart Android Studio and same will appear in the window.

Nikhil Bansal
  • 187
  • 2
  • 11
  • I have tried this way too but unable to fix it. After cleared the cache from Android Studio & got this problem. – Taps Jul 22 '19 at 11:30
  • Solved!! First Update the Android Studio then change the adb. \AppData\Local\Android\sdk\platform-tools\adb.exe – Taps Jul 24 '19 at 07:10