flutter build apk --no-color Checking the license for package Android SDK Build-Tools…
- User
flutter build apk --no-color
Checking the license for package Android SDK Build-Tools 30.0.3 in /usr/lib/android-sdk/licenses Warning: License for package Android SDK Build-Tools 30.0.3 not accepted. Checking the license for package Android SDK Platform 34 in /usr/lib/android-sdk/licenses Warning: License for package Android SDK Platform 34 not accepted.
FAILURE: Build failed with an exception.
- What went wrong: Could not determine the dependencies of task ':app:lintVitalReportRelease'.
Failed to install the following Android SDK packages as some licences have not been accepted. platforms;android-34 Android SDK Platform 34 build-tools;30.0.3 Android SDK Build-Tools 30.0.3 To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager. All licenses can be accepted using the sdkmanager command line tool: sdkmanager.bat --licenses Or, to transfer the license agreements from one workstation to another, see https://developer.android.com/studio/intro/update.html#download-with-gradle
Using Android SDK: /usr/lib/android-sdk
- 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 12m 36s Running Gradle task 'assembleRelease'... 757.6s Gradle task assembleRelease failed with exit code 1
- Assistant