No android devices were detected

How to fix “Android Studio doesn’t see device” in Android Studio?

In Android Studio, sometimes the list of devices and emulators doesn’t list your physical device when you try to plug it in. Or you may have faces a situation when you plugged the phone in for the first time, no dialog appeared asking if you trust the computer. But the laptop is already allowed to connect to the mobile device. However, the button Run does not allow to deploy the app to the connected device because it thinks that there is no connected device. So you may get confused about what’s wrong with the device. Before doing anything, just check the following configuration. Configuring Your System to Detect Your Android Device

  1. Install the USB driver for your Android device.
  2. Enable USB debugging on your Android device.
  3. If necessary, install the Android development tools (JDK/SDK/NDK).
  4. Add your Android SDK to the RAD Studio SDK Manager.
  5. Connect your Android device to your development system using the USB cable provided with your device.

Even if you have done everything that is mentioned above, if you get this error “Android Studio doesn’t see device”, then you are on the right page. This article is for such programmers. In this article, there are five methods listed below to solve this issue.

How To Solve “Android Studio doesn’t see device”

Method 1

To change what your application defaults to when you click to run or debug in Android Studio, follow these steps:

Step 1: Go to the Run (on the left corner) then click on Edit Configurations.

Or you can just click here to find the “edit configurations” tab :

Step 2: Select the project. Find the Target Device section under the General tab on the Android Application page.

That seems to be where you toggle what the project builds too. If you’re importing a project it actually defaults to Emulator, not sure why. You can also select “Open Select Deployment Target Dialog” to list both connected as well as emulated devices.

Method 2

If Android Studio doesn’t even detect your device using ‘ADB devices’. then try to switch to PTP instead of MTP on your device. To do so, just click on “File transfer via USB touch for more options” in the notification area of the device.

and then choose the PTP option.

Then you will get a popup on your device regarding access. Just try restarting Android Studio to show up there as well though.

Method 3

On your device:

Go to settings/ developer settings / allow USB debug mode

If you might have the device currently connected to your PC, then ‘allow USB debug mode’ option is disabled. Just disconnect the device and the option should now be available. If you are using Android 4.2 and newer, the Developer options are hidden by default. To make it available, go to Settings > About phone and tap Build number seven times.

Читайте также:  One hand clapping для андроид

Return to the previous screen to find Developer options.

Method 4

You may need to restart ADB, from the terminal. To do so just type the below commands:

  • adb kill-server
  • adb start-server

or from ddms(If you are using Android Studio version My Personal Notes arrow_drop_up

Источник

Android Studio не видит устройство

менеджер AVD в Android Studio не показывает мое устройство, но «adb devices» показывает его. Я упускаю что-то очевидное?

30 ответов

чтобы изменить настройки приложения по умолчанию при нажатии кнопки выполнить или отладить в Android Studio, выполните следующие действия:

1. на Run

2. нажать на кнопку Изменение Конфигураций

3. выберите проект

4. найти Устройство под общие на страница приложения для Android.

Это, кажется, где вы переключаете то, что строит проект. Если вы импортируете проект, по умолчанию используется эмулятор, не знаю почему. Вы также можете выбрать «открыть диалог выбора цели развертывания», чтобы отобразить как подключенные, так и эмулированные устройства.

У меня недавно были проблемы с этим, и независимо от того, что я сделал(перезапустите adb, отредактируйте adb_usb.ini, перезагрузите компьютер+устройство + обмен usb-портом, переустановите studio и т. д. так далее.) Я просто не мог заставить его работать и даже не мог обнаружить мое устройство с помощью «устройств adb». Наконец, после примерно 2 часов поиска и тестирования, кто-то предложил переключиться на PTP вместо MTP на моем устройстве. Когда я это сделал, на моем устройстве появилось всплывающее окно с просьбой разрешить доступ к mac и внезапно все работало(пришлось перезапустить студию, чтобы она там появилась).

Я мог бы наткнуться на эту тему сейчас, но это первый результат поиска google, и у меня было много проблем с поиском ответа на эту проблему, поэтому я подумал, что это должно быть добавлено в качестве решения.

на вашем устройстве:

перейдите в Настройки / настройки разработчика / разрешить режим отладки USB

Если опция «разрешить режим отладки USB» отключена. Тогда у вас может быть устройство, подключенное к вашему ПК. Отключите устройство, и теперь опция должна быть доступна

Примечание: на Android 4.2 и новее, Параметры разработчика по умолчанию скрыто. Чтобы сделать это, перейдите в Настройки > О телефоне и нажмите Создать номер семь. Вернуться к предыдущему экрану, чтобы найти параметры разработчика.

Если это все еще не помогает, вы можете google его с этим выражением:

Как включить параметры разработчика на YOUR_PHONE_TYPE

некоторые кабели не могут использоваться для режима разработчика или передачи файла. Решением было бы изменить ваш кабель и не тратить время.

Я должен killall adb потому что каким-то образом Android Studio удалось сбой и больше не хотел общаться с adb. Таким образом, мое устройство не появилось.

поэтому выход из Android Studio, завершение всех экземпляров adb в терминале и запуск Android Studio снова (следует спросить, следует ли включить отладку) работал.

Он работает для меня, выполнив следующие шаги: —

Если вы используете Windows, устройство не будет отображаться из-за проблемы с драйвером.

перейдите в Диспетчер устройств (просто найдите его, используя Start) и ищите любые устройства, показывающие ошибку. Многие андроиды будут отображаться как неизвестное USB-устройство и поставляются с восклицательным знаком. Выберите Это устройство и попробуйте обновить драйверы для него. для обновления части перейдите по ссылке:универсальный adb

но до этого у вас есть чтобы обновить диспетчер sdk и убедиться, что установлен пакет драйверов Google USB.

по завершении файлы драйверов загружаются в каталог \extras\google\usb_driver\. подсказки: Поиск «android_winusb.inf » под Windows запустите и откройте местоположение файла, чтобы получить упомянутый каталог.

Откройте Диспетчер устройств, перейдите на устройство android, щелкните его правой кнопкой мыши и выберите Обновить драйвер, затем выберите обзор драйвера. Следуйте путь к местоположению файла ранее для установки драйвера Google USB.

Читайте также:  Андроид смарт тв приставка android tv box x96 mini 1gb 8gb

перезагрузите Android Studio и Параметры разработчика на android-устройстве и снова подключите USB.

мой телефон Nexus 5 не имел параметров разработчика в меню настроек. Мне пришлось сделать следующее:—1—>

на Android 4.2 и новее, Параметры разработчика по умолчанию скрыто. Чтобы сделать это, перейдите в Настройки > О телефоне и нажмите номер сборки семь раз. Вернуться к предыдущему экрану, чтобы найти параметры разработчика.

потратив некоторое время, я обнаружил, что проблема заключалась в том, чтобы включить опцию отладки USB. Просто найдите в настройках мобильного телефона — > опция разработчика — >Отладка USB. Просто включите его и он работает. Это может кому-то помочь!

в моем случае следующие шаги помогли решить проблему:

1) Убедитесь, что пакет «Google USB Driver» установлен в Android SDK Manager

2) Скачать «ADB Driver Installer 2.0» из здесь

3) запустите загруженный инструмент и подключите смартфон; в моем случае он показал, что драйвер был установлен неправильно и предложил его исправить

после этих шагов моя Android Studio мгновенно распознала устройство! И MTP, и PTP начали работать.

протестировано для Samsung (Android 4.1.2) и Xiaomi MI4W (Android 4.4.4)

в моем случае

Android studio внезапно перестает видеть мое устройство

я исправляю это изменением опция USB на устройство мультимедиа (MTP)

Как получить опцию USB из USB-накопителя подключение к компьютеру

Регистрация отладка С Параметры разработчика

попробуйте повторно запустить приложение на устройстве , он должен работать

опция USB была заряжена только

ОБНОВИТЬ ОТВЕТ 26/7/2016

есть много причин, таких как не включение режима разработчика —> Отладка USB(если вы не видите опцию разработчика, нажмите 7 раз на номер сборки )

но я сталкиваюсь с другой проблемой, все было отлично работает, внезапно android studio не может видеть мое устройство

чтобы устранить эту проблему, вам необходимо перезапустить adb с терминала

в разделе Устройства — > нажмите на маленькую стрелку вниз —> перезапустить АБР

Источник

How to Fix Android USB Device Not Recognized but Charging Problem

It is frustrating to find that your Android device is not recognized as USB driver when you want to transfer files between phone and PC or recover data from Android phone. While the result is similar, the causes and solutions may vary from case to case. Similar symptoms or notifications, like “USB device not recognized”, “PC not recognizing Android phone”, or “USB device not detected but charging”, may occur on different devices. Please check following solutions to fix Android USB device not recognized on Windows problem.

Tip: In case you mistakenly deleted important files, don’t hesitate to try the best data recovery software to get files back from computer, external hard drive, SD card or USB drive (not including mobile phones).

Try Following Measures First
Here are some small tips that might help and won’t take a long time even if not working.

  • Try a new USB cable and another computer. Some cables are power only.
  • Connect Android device to PC directly instead of through USB hub.
  • Reboot phone and connect to PC while in Airplane mode.
  • Remove battery and SIM card, and wait a while, then put them back and reboot.
  • If Windows detects your phone but doesn’t find any content, you should unlock your phone screen and try again.

If above tricks don’t work for you, please try solutions below.

Solution 1. Connect Android to Computer as MTP to Fix Charging Only Problem

Android device can be connected as Media device (MTP), Camera (PTP), USB flash drive, Charge only, etc. If you want to transfer files between phone and PC, you need to set USB connection as MTP mode.

When an Android device is connected to computer, a notification should appear on the drop-down menu named as “Connected as a …” or “USB Charge Only”. You can tap it to open USB computer connection options and choose MTP from the list.

Читайте также:  Как сделать планшет андроид вторым экраном windows через usb

If nothing appears when connected to computer, which often happens after system upgrade, you’ll have to find USB connection menu manually. Try following methods.

  • Go to Settings> Storage> More (three dots menu)> USB computer connection, choose Media device (MTP).
  • For Android 6.0, go to Settings> About phone (> Software info), tap “Build number” 7-10 times. Back to Settings> Developer options, check “Select USB Configuration”, choose MTP. But no way to set MTP as default on Marshmallow.
  • Dial *#0808#, if you get “USB Settings”, choose MTP+ADB, then reboot.

Solution 2. Update or Install Proper Driver for Android USB Driver Not Working Problem

Sometimes Windows won’t recognize Android device because the driver is corrupted and USB driver not working. Hence, you need to update or install proper driver for your device. Following are two common methods. (Check more ways to install Android USB driver.)

Update Driver for Android Phone Manually

  • Step 1. Go to Start> Control Panel.
  • Step 2. Click “System and Security”, then “System”.
  • Step 3. Click “Device Manager” on the left list.
  • Step 4. Locate and expand “Other devices” or “Portable devices” and find the driver. If there is a problem with the driver, it should be labelled with a yellow exclamation mark.
  • Step 5. Right click on the driver and choose “Update Driver Software…”.
  • Step 6. Successively choose “Browse my computer for driver software”> “Let me pick a list of device drivers on my computer”, then hit “MTP USB Device” and click Next. Once the driver is updated, connect your device again.

Install Proper Driver via Manufacturer Tools

Manufacturer management tools usually go with drivers for their devices. You can install official management software, like Samsung Kies or Smart Switch, and HTC Sync Manager, on your computer. Then connect your phone to computer and run the software to install drivers automatically.

Solution 3. Install Necessary Kit for Windows 10 to Fix Android Not Detected Problem

If you encounter Android USB not recognizing problem after Windows 10 upgrade, you’ll need to install some missing files to help Windows 10 recognize your Android phone as MTP device. The following two might help.
Media Transfer Protocol Porting Kit
Media Feature Pack
Notice: Check more tips about Windows 10 doesn’t recognize Android.

Solution 4. Try a Trick to Fix Android Not Recognized Problem Caused by Hardware

If none of the above solutions can fix your Android device connection problem, it might be a hardware glitch, and you may try this trick. This is not a regular tech tip, but many people say it works. Please do it at your own risk.

  • Step 1. Hold your phone and look at the micro USB port.
  • Step 2. Insert something tiny and nonmetallic into the USB port, and lift up the thin contact points gently.
  • Step 3. Connect your phone and PC with USB cable again.

Bottom Line

The solutions above have helped some people fix Android not recognized problem. However, it is not possible to cover all conditions or fix all issues in one article. You may keep searching for other methods or return your device to the manufacturer for help. If your trouble is solved, don’t hesitate to share your experience with us in the comment below, so that more people will benefit from it or have the confidence to keep trying.

Источник

Оцените статью