FAILURE: Build failed with an exception. Running Gradle task 'assembleDebug'

With andriod studio on Mac and a fresh created flutter project I will recieve this error , I looked almost every where and no result. even trying gradle clean dose not complete and show error : BUILD FAILED in 1s