Skip to content

Commit 50de55e

Browse files
fix:Made it release apk
1 parent bd208ef commit 50de55e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

android/app/build.gradle

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,7 @@ flutter {
6464
source '../..'
6565
}
6666

67-
dependencies {}
67+
dependencies {
68+
implementation 'com.google.errorprone:error_prone_annotations:2.23.0'
69+
implementation 'com.google.code.findbugs:jsr305:3.0.2'
70+
}

android/app/proguard-rules.pro

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Keep Google Error Prone annotations
2+
-keep class com.google.errorprone.annotations.CanIgnoreReturnValue { *; }
3+
-keep class com.google.errorprone.annotations.CheckReturnValue { *; }
4+
-keep class com.google.errorprone.annotations.Immutable { *; }
5+
-keep class com.google.errorprone.annotations.RestrictedApi { *; }
6+
7+
# Keep javax annotations
8+
-keep class javax.annotation.Nullable { *; }
9+
-keep class javax.annotation.concurrent.GuardedBy { *; }
10+

0 commit comments

Comments
 (0)