Explorar el Código

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

zk hace 2 meses
padre
commit
387ca27aaf
Se han modificado 1 ficheros con 4 adiciones y 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 {