How to release Android Apk without sign using github action
2024-06-09
#english
#flutter
#github action
#android
Recently, i upgraded the dependencies of my Flutter project and migrated project to Material Design 3. Everything went well util i tried to release a new version. Some dependencies require Gradle 7+, so i just upgraded Gradle version, but this caused the following error:
previous build.gradle
There's no double that some changes happened in Gradle 7 and
signingConfig null
is not supported anymore. SincesigningConfig
can't be null, we can set it to an empty instance.build.gradle
We added a
debug
object intobuildTypes
paramters and replacedsigningConfig null
withsigningConfig signingConfigs.debug
. This change allow project to build the apk without sign and without erros.