The Flutter module, as a sub project, cannot be compiled by loading the Flutter module source code, Failed to resolve: androidx.activity:activity:1.8.0 #11340
Labels
from.page-issue
Reported in a reader-filed concern
Page URL
https://docs.flutter.dev/add-to-app/android/project-setup/
Page source
https://github.com/flutter/website/tree/main/src/content/add-to-app/android/project-setup.md
Describe the problem
The Flutter module, as a sub project, cannot be compiled by loading the Flutter module source code, Failed to resolve: androidx.activity:activity:1.8.0
The error is as follows
Could not find androidx.lifecycle:lifecycle-common:2.7.0.
Searched in the following locations:
- https://storage.flutter-io.cn/download.flutter.io/androidx/lifecycle/lifecycle-common/2.7.0/lifecycle-common-2.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 > project :flutter > io.flutter:flutter_embedding_debug:1.0.0-36335019a8eab588c3c2ea783c618d90505be233
Expected fix
No response
Additional context
No response
I would like to fix this problem.
The text was updated successfully, but these errors were encountered: