0

I want to run my Flutter app on a real Android phone. I googled my problem and referred to this question.

This answer says I can do it using USB. But, I have a question, can I upload .apk file (build/app/outputs/flutter-apk/app-debug.apk) to Google Drive and download .apk file in real Android phone and run it?

I didn't share the code because I don't think the code has anything to do with this.

Is there only one way to run my Flutter app on a real Android phone? Or, is there another way? I would appreciate any help. Thank you in advance!

My Car
  • 4,198
  • 5
  • 17
  • 50
  • You can upload it to google drive and install it from there. – Rahul Dec 03 '22 at 04:00
  • you can create a http (or ftp) server on you machine and serve the file from there. There isn't any limit how you get the apk to the device. – Rahul Dec 03 '22 at 04:01

1 Answers1

0

There are basically two ways before the app is released.

  1. USB Debugging
  2. Wireless Debugging
    1. Connect via USB: adb tcpip 5555
    2. Disconnect USB, Get Phone Ip Address Settings > About Phone > Status.
    3. Now adb connect <Your IP Address>

@Credit : Harpreet Singh

Refer:

  1. How to connect a device with ADB over WiFi when making app with Flutter?
  2. https://appmaking.com/run-flutter-apps-on-android-device
krishnaacharyaa
  • 14,953
  • 4
  • 49
  • 88