Skip to main content
Active reading [<https://en.wikipedia.org/wiki/Android_10> <https://en.wikipedia.org/wiki/Laptop>].
Source Link
Peter Mortensen
  • 31.5k
  • 22
  • 110
  • 134

NOTE: I am using a Mi  (Xiaomi) mobile (Redmi K20 Pro) which is running on Android 10 10

You need to do 2two things to show your device listing.

  1. Go to your Android Studio, --> Filemenu --> Project StructureFileProject Structure and choose Projectthe project SDK from the options. I chose the latest one from the menu.

  2. When you connect your real device to your PC/Laptoplaptop, make sure you choose Transfer photos (PTP) modeTransfer photos (PTP) mode.

NOTE: DON'T CHOOSE File transfer modeDon't choose File transfer mode. It will not work.

After doing the above 2two things, you can check the status of your device availability by writing flutter devices on the command prompt.

I hope it shows your mobile device.

NOTE: I am using Mi(Xiaomi) mobile (Redmi K20 Pro) which is running on Android 10

You need to do 2 things to show your device listing.

  1. Go to your Android Studio --> File --> Project Structure and choose Project SDK from the options. I chose the latest one from the menu.

  2. When you connect your real device to your PC/Laptop, make sure you choose Transfer photos (PTP) mode.

NOTE: DON'T CHOOSE File transfer mode. It will not work.

After doing the above 2 things, you can check the status of your device availability by writing flutter devices on command prompt.

I hope it shows your mobile device.

NOTE: I am using a Mi  (Xiaomi) mobile (Redmi K20 Pro) which is running on Android 10

You need to do two things to show your device listing.

  1. Go to your Android Studio, menu FileProject Structure and choose the project SDK from the options. I chose the latest one from the menu.

  2. When you connect your real device to your PC/laptop, make sure you choose Transfer photos (PTP) mode.

NOTE: Don't choose File transfer mode. It will not work.

After doing the above two things, you can check the status of your device availability by writing flutter devices on the command prompt.

I hope it shows your mobile device.

Source Link
Akshay Chopra
  • 1.3k
  • 17
  • 11

NOTE: I am using Mi(Xiaomi) mobile (Redmi K20 Pro) which is running on Android 10

You need to do 2 things to show your device listing.

  1. Go to your Android Studio --> File --> Project Structure and choose Project SDK from the options. I chose the latest one from the menu.

  2. When you connect your real device to your PC/Laptop, make sure you choose Transfer photos (PTP) mode.

NOTE: DON'T CHOOSE File transfer mode. It will not work.

After doing the above 2 things, you can check the status of your device availability by writing flutter devices on command prompt.

I hope it shows your mobile device.