Android Studio doesn't recognize my device

前端 未结 21 1052
南旧
南旧 2020-11-29 00:02

Here is the problem. I want to run my Android Studio apps on my device (Samsung Galaxy Ace 2). But nothing works for me. Tell me what I\'ve missed:

1) USB debugging

21条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 00:52

    I have done numerous ways of handling that issue. Finally it has worked! I am using LG Optimus II, but I believe the following steps are generic to other Android devices as well.

    Step 1:

    Make sure your device is enabled for development. If yes, go to Step 2, otherwise go to Settings > About phone and tap Build number seven times which is magic number :-). Now Developer Options is available in the Settings.

    Step 2:

    Before you plug your device to PC, Go to Settings > Developer Options and select USB Connection method.

    Step 3:

    Plug the phone to the PC, you are given options for the USB Connection method, and please select Internet connection. Make sure you have connected to the Internet. By the way, I have changed MTP to PTP, it did not work for me. Therefore, I tried Internet connection mode, then it worked.

    Step 4:

    Run the app in the Android Studio, it will ask you to authorize the device for development, and select YES!.

    Step 5:

    Run the application via Android Studio and choose the device, not emulator, and BINGO! Welcome to Android development board.

提交回复
热议问题