Browse Source

[new]Android 移除部分警告提示

zk 2 months ago
parent
commit
387ca27aaf
1 changed files with 4 additions and 0 deletions
  1. 4 0
      android/app/build.gradle

+ 4 - 0
android/app/build.gradle

@@ -74,6 +74,10 @@ android {
             outputFileName = fileName
         }
     }
+
+    tasks.withType(JavaCompile) {
+        options.compilerArgs += ["-Xlint:-options"]
+    }
 }
 
 flutter {