[PAGE ISSUE]: 'Integrate a Flutter module into your Android project' Update the guide again
Page URL
https://docs.flutter.dev/development/add-to-app/android/project-setup/
Page source
https://github.com/flutter/website/tree/main/src/development/add-to-app/android/project-setup.md
Describe the problem
Looks like using Android Studio to configure integrate a Flutter module into Android project is no longer available, kindly see flutter/flutter-intellij#5914. So there's only a manual way to configure it, but it looks like it needs to be edited again: Option A - Depend on the Android Archive (AAR): reference solution Option B - Depend on the module’s source code: got the following error and still don't know how to fix it
> flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-x64, locale ja-JP)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc4)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.67.2)
[✓] HTTP Host Availability
Android Studio Version
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 19, 2022
Runtime version: 11.0.12+0-b1504.28-7817840 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 12.4
Thanks in advance!
Logs
Executing tasks: [:flutter:clean, :app:clean, :flutter:assembleDebug, :app:assembleDebug] in project $HOME/FlutterSource/20220601/android
> Configure project :flutter
Subproject ':flutter' has location '$HOME/FlutterSource/20220601/my_flutter/.android/Flutter' which is outside of the project root. This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0. Consult the upgrading guide for further information: https://docs.gradle.org/7.3.3/userguide/upgrading_version_7.html#deprecated_flat_project_structure
at module_plugin_loader_86r7fwm2fkexbhlgtqz36rfhz$_run_closure2$_closure4$_closure5.doCall($HOME/develop/flutter/packages/flutter_tools/gradle/module_plugin_loader.gradle:46)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Configure project :app
The AbstractArchiveTask.destinationDir property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the destinationDirectory property instead. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:destinationDir for more details.
at FlutterPlugin$_addFlutterTasks_closure21$_closure47.doCall($HOME/develop/flutter/packages/flutter_tools/gradle/flutter.gradle:917)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
The AbstractArchiveTask.archiveName property has been deprecated. This is scheduled to be removed in Gradle 8.0. Please use the archiveFileName property instead. See https://docs.gradle.org/7.3.3/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html#org.gradle.api.tasks.bundling.AbstractArchiveTask:archiveName for more details.
at FlutterPlugin$_addFlutterTasks_closure21$_closure47.doCall($HOME/develop/flutter/packages/flutter_tools/gradle/flutter.gradle:918)
(Run with --stacktrace to get the full stack trace of this deprecation warning.)
> Task :flutter:clean UP-TO-DATE
> Task :app:clean UP-TO-DATE
> Task :flutter:compileFlutterBuildDebug
> Task :flutter:packLibsflutterBuildDebug
> Task :flutter:preBuild UP-TO-DATE
> Task :flutter:preDebugBuild UP-TO-DATE
> Task :flutter:compileDebugAidl NO-SOURCE
> Task :flutter:mergeDebugJniLibFolders
> Task :flutter:mergeDebugNativeLibs NO-SOURCE
> Task :flutter:stripDebugDebugSymbols NO-SOURCE
> Task :flutter:compileDebugRenderscript NO-SOURCE
> Task :flutter:copyDebugJniLibsProjectAndLocalJars
> Task :flutter:generateDebugBuildConfig
> Task :flutter:generateDebugResValues
> Task :flutter:generateDebugResources
> Task :flutter:packageDebugResources
> Task :flutter:parseDebugLocalResources
> Task :flutter:javaPreCompileDebug
> Task :flutter:mergeDebugShaders
> Task :flutter:compileDebugShaders NO-SOURCE
> Task :flutter:generateDebugAssets UP-TO-DATE
> Task :flutter:packageDebugAssets
> Task :flutter:packageDebugRenderscript NO-SOURCE
> Task :flutter:prepareDebugArtProfile
> Task :flutter:processDebugJavaRes NO-SOURCE
> Task :flutter:prepareLintJarForPublish
> Task :flutter:mergeDebugJavaResource
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :flutter:writeDebugAarMetadata
> Task :app:generateDebugBuildConfig
> Task :flutter:processDebugManifest
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:mergeDebugResources FAILED
> Task :app:packageDebugResources
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :flutter:extractDeepLinksDebug
> Task :app:parseDebugLocalResources
> Task :flutter:compileDebugLibraryResources FAILED
> Task :app:javaPreCompileDebug
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:processDebugJavaRes NO-SOURCE
> Task :flutter:bundleLibResDebug NO-SOURCE
> Task :app:checkDebugDuplicateClasses FAILED
> Task :app:desugarDebugFileDependencies FAILED
> Task :app:mergeDebugJniLibFolders
> Task :flutter:copyDebugJniLibsProjectOnly
> Task :app:validateSigningDebug
> Task :app:writeDebugAppMetadata
> Task :app:writeDebugSigningConfigVersions
> Task :app:mergeDebugNativeLibs FAILED
> Task :app:processDebugMainManifest FAILED
> Task :app:checkDebugAarMetadata FAILED
> Task :flutter:generateDebugRFile
> Task :flutter:extractDebugAnnotations FAILED
> Task :flutter:compileDebugJavaWithJavac FAILED
> Task :flutter:cleanPackageDebugAssets
> Task :flutter:copyFlutterAssetsDebug
> Task :app:mergeDebugAssets FAILED
FAILURE: Build completed with 10 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:mergeDebugResources'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.6.21/kotlin-stdlib-jdk8-1.6.21.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.core:core-ktx:1.7.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core-ktx/1.7.0/core-ktx-1.7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.appcompat:appcompat:1.4.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/appcompat/appcompat/1.4.1/appcompat-1.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find com.google.android.material:material:1.6.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/google/android/material/material/1.6.1/material-1.6.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.constraintlayout:constraintlayout:2.1.4.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/constraintlayout/constraintlayout/2.1.4/constraintlayout-2.1.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':flutter:compileDebugLibraryResources'.
> A failure occurred while executing com.android.build.gradle.tasks.CompileLibraryResourcesTask$CompileLibraryResourcesAction
> Could not isolate value com.android.build.gradle.tasks.CompileLibraryResourcesTask$CompileLibraryResourcesParams_Decorated@482939f6 of type CompileLibraryResourcesTask.CompileLibraryResourcesParams
> Could not resolve all dependencies for configuration ':flutter:detachedConfiguration1'.
The project declares repositories, effectively ignoring the repositories you have declared in the settings.
You can figure out how project repositories are declared by configuring your build to fail on project repositories.
See https://docs.gradle.org/7.3.3/userguide/declaring_repositories.html#sub:fail_build_on_project_repositories for details.
> Could not find com.android.tools.build:aapt2:7.2.1-7984345.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/android/tools/build/aapt2/7.2.1-7984345/aapt2-7.2.1-7984345.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :flutter
* 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.
==============================================================================
3: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugDuplicateClasses'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.6.21/kotlin-stdlib-jdk8-1.6.21.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.core:core-ktx:1.7.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core-ktx/1.7.0/core-ktx-1.7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.appcompat:appcompat:1.4.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/appcompat/appcompat/1.4.1/appcompat-1.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find com.google.android.material:material:1.6.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/google/android/material/material/1.6.1/material-1.6.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.constraintlayout:constraintlayout:2.1.4.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/constraintlayout/constraintlayout/2.1.4/constraintlayout-2.1.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
4: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:desugarDebugFileDependencies'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.6.21/kotlin-stdlib-jdk8-1.6.21.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.core:core-ktx:1.7.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core-ktx/1.7.0/core-ktx-1.7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.appcompat:appcompat:1.4.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/appcompat/appcompat/1.4.1/appcompat-1.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find com.google.android.material:material:1.6.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/google/android/material/material/1.6.1/material-1.6.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.constraintlayout:constraintlayout:2.1.4.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/constraintlayout/constraintlayout/2.1.4/constraintlayout-2.1.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
5: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:mergeDebugNativeLibs'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.6.21/kotlin-stdlib-jdk8-1.6.21.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.core:core-ktx:1.7.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core-ktx/1.7.0/core-ktx-1.7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.appcompat:appcompat:1.4.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/appcompat/appcompat/1.4.1/appcompat-1.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find com.google.android.material:material:1.6.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/google/android/material/material/1.6.1/material-1.6.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.constraintlayout:constraintlayout:2.1.4.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/constraintlayout/constraintlayout/2.1.4/constraintlayout-2.1.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
6: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.6.21/kotlin-stdlib-jdk8-1.6.21.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.core:core-ktx:1.7.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core-ktx/1.7.0/core-ktx-1.7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.appcompat:appcompat:1.4.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/appcompat/appcompat/1.4.1/appcompat-1.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find com.google.android.material:material:1.6.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/google/android/material/material/1.6.1/material-1.6.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.constraintlayout:constraintlayout:2.1.4.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/constraintlayout/constraintlayout/2.1.4/constraintlayout-2.1.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
7: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.6.21/kotlin-stdlib-jdk8-1.6.21.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.core:core-ktx:1.7.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core-ktx/1.7.0/core-ktx-1.7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.appcompat:appcompat:1.4.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/appcompat/appcompat/1.4.1/appcompat-1.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find com.google.android.material:material:1.6.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/google/android/material/material/1.6.1/material-1.6.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.constraintlayout:constraintlayout:2.1.4.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/constraintlayout/constraintlayout/2.1.4/constraintlayout-2.1.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
8: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':flutter:extractDebugAnnotations'.
> Error while evaluating property 'hasAndroidAnnotations' of task ':flutter:extractDebugAnnotations'
> Could not resolve all artifacts for configuration ':flutter:debugCompileClasspath'.
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
9: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':flutter:compileDebugJavaWithJavac'.
> Could not resolve all files for configuration ':flutter:debugCompileClasspath'.
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Required by:
project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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.
==============================================================================
10: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:mergeDebugAssets'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.6.21/kotlin-stdlib-jdk8-1.6.21.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.core:core-ktx:1.7.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core-ktx/1.7.0/core-ktx-1.7.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.appcompat:appcompat:1.4.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/appcompat/appcompat/1.4.1/appcompat-1.4.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find com.google.android.material:material:1.6.1.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/com/google/android/material/material/1.6.1/material-1.6.1.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.constraintlayout:constraintlayout:2.1.4.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/constraintlayout/constraintlayout/2.1.4/constraintlayout-2.1.4.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app
> Could not find androidx.lifecycle:lifecycle-common:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common/2.2.0/lifecycle-common-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-common-java8:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-common-java8/2.2.0/lifecycle-common-java8-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.lifecycle:lifecycle-runtime:2.2.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/lifecycle/lifecycle-runtime/2.2.0/lifecycle-runtime-2.2.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.fragment:fragment:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/fragment/fragment/1.1.0/fragment-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.annotation:annotation:1.1.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/annotation/annotation/1.1.0/annotation-1.1.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.tracing:tracing:1.0.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/tracing/tracing/1.0.0/tracing-1.0.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.core:core:1.6.0.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/core/core/1.6.0/core-1.6.0.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
> Could not find androidx.window:window-java:1.0.0-beta04.
Searched in the following locations:
- https://storage.googleapis.com/download.flutter.io/androidx/window/window-java/1.0.0-beta04/window-java-1.0.0-beta04.pom
If the artifact you are trying to retrieve can be found in the repository but without metadata in 'Maven POM' format, you need to adjust the 'metadataSources { ... }' of the repository declaration.
Required by:
project :app > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-caaafc5604ee9172293eb84a381be6aadd660317
* 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 17s
45 actionable tasks: 43 executed, 2 up-to-date
Expected fix
No response
Additional context
No response
Related to https://github.com/flutter/website/issues/6905.
I do agree, that we need to update the instructions.
Thanks for filing this.
@danagbemava-nc there are a lot of instructions that come from the terminal when you do build aar that should a) work b) match c) avoid absolute paths please
Hi @neiljaywarner, I think you should file an issue on the main flutter repo and report your recommendations over there since those instructions come from the tool itself
This duplicates https://github.com/flutter/website/issues/6905. Closing.