No device appears for AndroidStudio run

0

It was all normal until I went to mount an emulator with api 21, during the process gave disk error with no space, my AndroidStudio was in a partition of hd with little space, after the error he started an indexing process, and it stayed in this for almost half an hour until I decided to close it and open it again, from there when I click on "run" nor the emulators appear nor my cell phone connected.

I've already tried:

  • Test with two different phones.
  • Mount a new emulate image with another version of android.
  • Start the emulator through AVD Manager, it starts the created ones but when I click "run" nothing appears.
  • I've reinstalled AndroidStudio.
  • I already installed it in another place and started the new one and even then it does not appear anything and it does not give any error.

It looks just like this:

    
asked by anonymous 16.03.2018 / 03:32

2 answers

0

The problem was in the process of adb.exe that was listened to but doing nothing, to solve it was simple, just open the task manager and finish the process, then go back to Android Studio and try to run again.

    
24.03.2018 / 20:30
0

You can try to get the android studio back to the initial settings.

Go to the user folder

C:\Users\Seu_usuario

On this page, you should have a folder named .AndroidStudio with its version assigned to the folder name.

Make a backup of this folder, then delete it, this will remove your settings.

If you've tried this, try reinstalling the api. Go to Default Settings

In SDK Plataforms, install the versions, reinstall the APIs, and try new ones. Then go to SDK Tools , go to Show Package Details and be sure to mark the Android SDK Build-Tools in the versions you chose earlier.

    
16.03.2018 / 04:10