I have installed latest Android Studio which seems to have a too new version of JAVA. Simply switching to the master channel of flutter did remove the issue.