US Office

1176 Shadeville Rd, Crawfordville Florida 32327, USA

 +1 (850) 780-1313

India Office

Office No 405, Kabir Shilp, Opp. Kansar Hotel, Opp. Landmark, Kudasan, Gandhinagar, Gujarat 382421

[email protected]

How to Make Release APK From Android Studio In Flutter ?

How to Make Release APK From Android Studio In Flutter

How to Make Release APK From Android Studio In Flutter ?

By default Android Studio use debug mode when building Flutter application. So In this article, we will go through How to make Release APK From Android Studio in Flutter.

How to Make Release APK From Android Studio In Flutter?

We can generate Debug APK using the below code snippet.

flutter build apk --debug

We can generate Release APK using the below code snippet.

flutter build apk --release

Users need to edit the configuration like below.

Open the run configuration:

Run Configuration Flutter

Run Configuration Flutter

  • Add the –release flag:
Release Flag Flutter-Release APK From Android Studio

Release Flag Flutter

  • Note that using the –release flag is not supported when you build with the Android Emulator.

Android Studio, open the existing android/folder under your app’s folder. Then, select the build.gradle (Module: app) in the Project panel:

Build.Gradle Flutter-Release APK From Android Studio

Build. Gradle Flutter

Next, select the build variant. Click Build > Select Build Variant in the main menu. Select any of the variants in the Build Variants to panel debug is the default:

Build.Gradle Flutter-Release APK From Android Studio

Build.Gradle Flutter

Conclusion:

Don’t forget to see How to Build Signed APK From Android Studio For Flutter? 

If you have any queries regarding flutter development, Do let us know in the comments 🙂

So in this article, we have been through How to Make Release APK From Android Studio in Flutter.

Do share your valuable feedback/suggestion for the same.

So Keep Learning !!! Keep Fluttering !!!

FlutterAgency.com is our portal Platform dedicated to Flutter Technology and Flutter Developers. The portal is full of cool resources from Flutter like Flutter Widget GuideFlutter ProjectsCode libs and etc.

Comments
  • December 11, 2020
    YO

    What if I give my debug build to a tester to install on his testing mobile? Will it work?

    reply
    • January 12, 2021
      Kalpesh Khandla

      Dear YO,

      Hope this message finds you well !!!

      Thanks for being through our article along with your comments on the same.

      Though Debug APK will work there might be a difference between DEBUG APK and Release APK in terms of design and size.

      While Passing APK to Tester it’s an recommended to pass Release APK.

      Drop us your valuable suggestion/feedback to serve you much better.

      Warm Regards,
      Flutter Agency

      reply
  • July 14, 2021
    smith2159

    Hey,
    Thanks for sharing it
    Apk Adviser

    reply
    • July 14, 2021
      Somyarajsinh jadeja

      Happy to help

      reply
  • August 10, 2021
    Ace

    Great article,I really loved it everything are crystal clear also dont forget to checkout How To Fix Twitch Mods Tab Not Loading

    reply
  • August 10, 2021

    Great article,I really loved it everything are crystal clear Dont forget to read

    How To Fix Twitch Mods Tab Not Loading

    reply
  • August 22, 2021

    Great article thanks for help.

    reply
    • August 23, 2021
      Somyarajsinh jadeja

      Glad you think soo!!

      reply
Post a Comment