admin管理员组文章数量:1122826
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
Where: Script '/Users/builder/programs/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1687
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/builder/programs/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
BUILD FAILED in 2m 56s Running Gradle task 'bundleDebug'... 177.7s Gradle task bundleDebug failed with exit code 1
Build failed :| Failed to build for Android
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
Where: Script '/Users/builder/programs/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1687
What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.
Process 'command '/Users/builder/programs/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 2m 56s Running Gradle task 'bundleDebug'... 177.7s Gradle task bundleDebug failed with exit code 1
Build failed :| Failed to build for Android
Share Improve this question asked Nov 21, 2024 at 11:35 250 Maso250 Maso 11 Answer
Reset to default 0Clean and Rebuild the Project
flutter clean
flutter pub get
flutter build apk --debug
If still facing issue try to clean gradlew clean and re build
cd android
./gradlew clean
./gradlew build
cd ..
本文标签: androidline 1687 in build flutterStack Overflow
版权声明:本文标题:android - line 1687 in build flutter - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736311335a1934700.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论