Android Studio: “Waiting for device.” Trying to run app on phone

前端 未结 10 2106
死守一世寂寞
死守一世寂寞 2020-12-28 14:58

I\'m attempting to transition from Eclipse to Android Studio today. I generated the Gradle build files in Eclipse and imported into Android Studio. I changed my preferences

相关标签:
10条回答
  • 2020-12-28 15:58

    I started getting this message after I had disabled the "Media device (MTP)" and "Camera (PTP)" option in the "USB computer connection" option found in Settings > Storage > USB computer connection. Re-enabling one of either MTP or PTP fixed the issue for me.

    0 讨论(0)
  • 2020-12-28 15:59

    I have LG G3 connected to Android Studio and got USB device not found.

    I fixed this problem doing the following steps:

    1. Enable Developer option

    2. In there, check USB debugging and Allow mock locations

    3. Go into Tethering & Networks and put USB tethering ON. Bluetooth didn't work for me.

    4. Finally, run debug in Android Studio

    0 讨论(0)
  • 2020-12-28 16:00

    I get this from time to time and a simple unplug/replug of the device does the trick.

    0 讨论(0)
  • 2020-12-28 16:00

    I had same problem and I was able fix that problem.

    My error was:

    Waiting for device. USB device not found

    This happens when I was using SONY XPERIA Tipo Dual and Samsung Galaxy Core Duos i8262.

    I solved problem in both devices.

    SONY XPERIA Tipo Dual

    1. Check whether "USB debugging" is enable or not in Settings->Developer Options
    2. Connect device to PC and run your app. Make sure "Target Device" as "USB Device" in Run/Debug Configurations.
    3. If error was "Waiting for device. USB device not found", Go to "Device Manager" and check your device is categorize as "Other Devices" in yellow color. That means your device is not detected by Windows.
    4. Install "SONY PC Companion" which is automatically detect your driver.

    5. Run your app again. You can see your app is running in your device.

    Samsung Galaxy Core Duos i8262

    1. Check whether "USB debugging" is enable or not in Settings->Developer Options
    2. Connect device to PC and run your app. Make sure "Target Device" as "USB Device" in Run/Debug Configurations.
    3. If error was "Waiting for device. USB device not found", Go to "Device Manager" and check your device is categorize as "Other Devices" in yellow color. That means your device is not detected by Windows.
    4. Install USB drive. You can find it here. Direct Url to download

    5. Run your app again. You can see that still you are getting same error. Go to notification section. You can see that, phone is connected as a media device(Media device(MTP)). You need to change it as "Camera (PTP)" by touching notification.

    6. Run your app again. Wow. It works...

    0 讨论(0)
提交回复
热议问题