Finished with error: Gradle task assembleDebug failed with exit code 1

前端 未结 16 2160
执笔经年
执笔经年 2020-12-10 06:33
Launching lib\\main.dart on HTC One M9PLUS in debug mode... Initializing gradle... Resolving dependencies... Gradle task \'assembleDebug\'... registerResGeneratingTa         


        
16条回答
  •  渐次进展
    2020-12-10 06:50

    Launching lib\main.dart on sdk gphone x86 arm in debug mode...
    Running Gradle task 'assembleDebug'...
    The system cannot find the path specified.
    Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
    Exception: Gradle task assembleDebug failed with exit code 1
    

    I have the above issue and the solution was to create the project in folder in C: with out any special characters in it's name (C:\flutter projects) because when I have this issue the folder name which contain the project was that (D:\Graphic designer & Programmer\Programmer project)

提交回复
热议问题