Explorar o código

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

zk hai 2 meses
pai
achega
387ca27aaf
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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 {