Open MarcosxDeveloper opened 2 years ago
actually the debug variant has not problem using the correct flavor but the release variant show the next stacktrace:
FAILURE: Build failed with an exception. [ ] * Where: [ ] Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1102 [ ] * What went wrong: [ ] Execution failed for task ':app:compileFlutterBuildGooglePlayRelease'. [ ] > Process 'command 'C:\flutter\bin\flutter.bat'' 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 24s [+1083 ms] Running Gradle task 'assembleGooglePlayRelease'... (completed in 26.0s) [ +3 ms] "flutter apk" took 26,518ms. [ +3 ms] Gradle task assembleGooglePlayRelease failed with exit code 1 [ ] #0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3) #1 AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:400:9) <asynchronous suspension> #2 AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:179:5) <asynchronous suspension> #3 BuildApkCommand.runCommand (package:flutter_tools/src/commands/build_apk.dart:112:5) <asynchronous suspension> #4 FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1161:27) <asynchronous suspension> #5 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19) <asynchronous suspension> #6 CommandRunner.runCommand (package:args/command_runner.dart:209:13) <asynchronous suspension> #7 FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9) <asynchronous suspension> #8 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19) <asynchronous suspension> #9 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5) <asynchronous suspension> #10 run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9) <asynchronous suspension> #11 AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19) <asynchronous suspension> #12 main (package:flutter_tools/executable.dart:94:3) <asynchronous suspension>
actually the debug variant has not problem using the correct flavor but the release variant show the next stacktrace: