Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

release apk not working flutter

add a proguard file and fix it.

1. On your app level build.gradle add this to your buildTypes > release section
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
2. Along the build.gradle file create a proguard-rules.pro file and add:
-keep class io.flutter.plugin.editing.** { *; }
Source by github.com #
 
PREVIOUS NEXT
Tagged: #release #apk #working #flutter
ADD COMMENT
Topic
Name
5+2 =