📅  最后修改于: 2022-03-11 14:48:06.156000             🧑  作者: Mango
PS D:\Final_Code_GIT\Research & Development\AndroidApp\flutter_application> flutter build apk
Building with sound null safety
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
Caused by: java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
Running Gradle task 'assembleRelease'... 363ms
Gradle task assembleRelease failed with exit code 1
**Solution: path shouldn't have space between them.**