Перейти к содержимому

No target device found android studio что делать

  • автор:

Error running No target device found

Error running ‘app’: No target device found.

Error running app No target device found

Данная ошибка означает, что отсутствует устройство для отладки (можно подключить устройство по USB или скачать виртуальное устройство). Скачаем виртуальное устройство (перед этим не забудьте поставить в BIOS Virtualization Technology), для этого заходим Tools далее AVD Manager

AVD Manager

И создаем виртуальное устройство Create Virtual Device

Create Virtual Device Android Studio

Virtual Device Configuration выбираем устройство по вкусу, далее Next

Virtual Device Configuration

Выбираем API Level и далее Next

Virtual Device Configuration Android Studio

Настраиваем и жмем Finish

Verify Configuration

Мы создали виртуальное устройство (Virtual Devices)

Your Virtual Devices

2205

Как исправить ошибку «Error running ‘app’: No target device found.» в Android Studio?

(Ошибка запуска приложения: целевое устройство не найдено.)»

Голосование за лучший ответ

Tools — AVD Manager, там создать устройство.

DimoooooooooooonУченик (187) 4 года назад

DimoooooooooooonУченик (187) 4 года назад

Что делать

Виктор Мальков Мудрец (10207) на вкладке «other images» выбрать образ arm (и быть морально готовым к не очень быстрой работе эмулятора)

Похожие вопросы

Fixing Error running ‘Application’: No target device found.

You‘re probably getting this Error while trying to run Your Android Application on Your phone perhaps using Ubuntu, we are going to solve this problem and get our app running in just 3 easy steps :

Enter : settings > System > Scroll down and Tap twice on Build number.
Now You officially activated the Developer mode.

Now look for the Developer options in the Settings.

Once you find it Tap on it and go to the Debugging section and Enable debugging (your usb cable should be linked to your laptop already)

And then Ok to the shown message .

Almost Done, Now as you see in the picture :

just Tap for more options and choose MIDI.

(1) Open your Terminal

(2) write this two commands :

$ adb kill-server
$ sudo adb start-server

PS : if you get this message : “adb command not found in linux environment” you may have to use this command first “ $ sudo apt install adb ”,
Then rewrite this two commands again in the same order.

$ adb kill-server
$ sudo adb start-server

Setting up our Android Studio

Once all of the things mentioned above are ready, you click on run button and you will see your device is detected and it is running amazingly.

If not, no worries, go ahead to Android Studio > Build > Clean Project > Rebuild Project . and click on run button.

Now you will be capable to see your device, and run it peacefully.

As you see in the screenshot below, which in my case a Huawei.

�� Booyah !! we made it .��

— Hope you like it and Good luck building your Apps.

Android Studio Shows Error Running App: no target device found

Apart from all of these if you have any suggestions please answer.

3,187 17 17 silver badges 35 35 bronze badges
asked Oct 6, 2019 at 10:12
11 1 1 gold badge 1 1 silver badge 3 3 bronze badges

1 Answer 1

Choose «Run» then «Edit Configurations». In the «General» tab, check the «Deployment Target Options» section.

In my case, the target was already set to «USB Device» and the checkbox «Use same device for future launches» was checked.

I had to change the target to «Show Device Chooser Dialog» and I unchecked the check box. Then my device appeared in the list.

If your device still doesn’t appear, then you have to enable USB-Debugging in the smartphone settings again.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *