flutter config --jdk-dir=JAVAPATH
https://docs.flutter.dev/release/breaking-changes/android-java-gradle-migration-guide