hanki.dev

Flutter, release and debug app on the same device

I'm currently developing mysli, and I need both release build (for daily usage) and debug build (for developing) on my phone. Here's how to do it:

android/app/build.grade:

buildTypes {
    debug {
        applicationIdSuffix ".debug"
    }
}

Now the release package will be labs.ankia.mysli and debug package labs.ankia.mysli.debug

#android #flutter