Open fvisticot opened 1 year ago
I'm having same issue here
I found the solution, I think it was because I had set jcenter() as repositories. with the following build.gradle it seems to work
allprojects {
repositories {
google()
mavenCentral()
}
}
Hope it helps
Yeah, that works. Looks like an issue with Jcenter. Thanks man
Describe the bug Error when building on Android with release 1.0.1
Execution failed for task ':app:mergeReleaseAssets'.
Flutter information [✓] Flutter (Channel stable, 3.3.6, on macOS 12.5 21G72 darwin-arm, locale fr-FR) • Flutter version 3.3.6 on channel stable at /Users/fvisticot/development/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 6928314d50 (5 days ago), 2022-10-25 16:34:41 -0400 • Engine revision 3ad69d7be3 • Dart version 2.18.2 • DevTools version 2.15.0
[!] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) • Android SDK at /Users/fvisticot/Library/Android/sdk ✗ cmdline-tools component is missing Run
path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details. ✗ Android license status unknown. Runflutter doctor --android-licenses
to accept the SDK licenses. See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.[✓] Xcode - develop for iOS and macOS (Xcode 14.0.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Build 14A400 • CocoaPods version 1.11.3
[✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2021.2) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
[✓] IntelliJ IDEA Community Edition (version 2022.2.3) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: 🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] Connected device (4 available) • iPhone fred (2) (mobile) • 00008020-000818883E30003A • ios • iOS 16.2 20C5032e • iPhone 13 mini (mobile) • 460CE7E0-A4B5-4BA6-86F2-076CD10F7C54 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 12.5 21G72 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 106.0.5249.119 ! Error: iPhone fred (2) is busy: Preparing iPhone fred (2) for development. Xcode will continue when iPhone fred (2) is finished. (code -10)
[✓] HTTP Host Availability • All required HTTP hosts are available
! Doctor found issues in 1 category.
Device (please complete the following information):