Hello
Iam facing problem while importing any already made flutter app in my android studio and intellij ide.
What is the error?
Whenever i try to build any flutter app, it says:
FAILURE: Build failed with an exception.
-
Where:
Script ‘/Users/krishnakc/Downloads/flutter/packages/flutter_tools/gradle/flutter.gradle’ line: 1102 -
What went wrong:
Execution failed for task ‘:app:compileFlutterBuildRelease’.
Process ‘command ‘/Users/krishnakc/Downloads/flutter/bin/flutter’’ finished with non-zero exit value 1
-
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 1m 46s
Running Gradle task ‘assembleRelease’… 217.7s
Gradle task assembleRelease failed with exit code 1
Process finished with exit code 1
But when i create any new flutter apk by wizard then it build successfully.
What i did?
Cleaning flutter, deleting flutter whole project, file and reinstalling flutter properly. Reinstalling gradle and android studio. I tried all possible solution for it and researched internet so much and i cannot build app. Please help me regarding this. Iam using macbook pro 10.15.7
Thank you