fluttercommunity / fluttercommunity/flutter_webview_plugin

flutter_webview_plugin

Đang mở
#869 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
1.5k
Fork
938
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

FAILURE: Build failed with an exception.
[ +1 ms] * What went wrong:
[ ] Could not determine the dependencies of task ':flutter_webview_plugin:compileDebugAidl'.
[ ] > Could not resolve all task dependencies for configuration ':flutter_webview_plugin:debugCompileClasspath'.
[ ] > Could not resolve androidx.lifecycle:lifecycle-runtime:{strictly 2.1.0}.
[ ] Required by:
[ ] project :flutter_webview_plugin
[ ] > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
[ ] Constraint path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.1.0}' because of the following reason: debugRuntimeClasspath uses version 2.1.0
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.appcompat:appcompat:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
[ ] > Could not resolve androidx.lifecycle:lifecycle-common:{strictly 2.1.0}.
[ ] Required by:
[ ] project :flutter_webview_plugin
[ ] > Cannot find a version of 'androidx.lifecycle:lifecycle-common' that satisfies the version constraints:
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Constraint path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-common:{strictly 2.1.0}' because of the following reason: debugRuntimeClasspath uses version 2.1.0
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
[ ] > Could not resolve androidx.lifecycle:lifecycle-common:2.2.0.
[ ] Required by:
[ ] project :flutter_webview_plugin > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3
[ ] project :flutter_webview_plugin > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3 > androidx.lifecycle:lifecycle-common-java8:2.2.0
[ ] project :flutter_webview_plugin > androidx.lifecycle:lifecycle-runtime:2.2.0
[ ] > Cannot find a version of 'androidx.lifecycle:lifecycle-common' that satisfies the version constraints:
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Constraint path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-common:{strictly 2.1.0}' because of the following reason: debugRuntimeClasspath uses version 2.1.0
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
[ ] > Could not resolve androidx.lifecycle:lifecycle-runtime:2.2.0.
[ ] Required by:
[ ] project :flutter_webview_plugin > io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3
[ ] > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
[ ] Constraint path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.1.0}' because of the following reason: debugRuntimeClasspath uses version 2.1.0
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.appcompat:appcompat:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
[ ] > Could not resolve androidx.lifecycle:lifecycle-runtime:2.0.0.
[ ] Required by:
[ ] project :flutter_webview_plugin > androidx.core:core:1.1.0
[ ] > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
[ ] Constraint path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.1.0}' because of the following reason: debugRuntimeClasspath uses version 2.1.0
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.appcompat:appcompat:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
[ ] > Could not resolve androidx.lifecycle:lifecycle-runtime:2.1.0.
[ ] Required by:
[ ] project :flutter_webview_plugin > androidx.activity:activity:1.0.0
[ ] > Cannot find a version of 'androidx.lifecycle:lifecycle-runtime' that satisfies the version constraints:
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0'
[ ] Constraint path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-runtime:{strictly 2.1.0}' because of the following reason: debugRuntimeClasspath uses version 2.1.0
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.appcompat:appcompat:1.1.0' --> 'androidx.core:core:1.1.0' --> 'androidx.lifecycle:lifecycle-runtime:2.0.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.lifecycle:lifecycle-runtime:2.1.0'
[ ] > Could not resolve androidx.lifecycle:lifecycle-common:2.0.0.
[ ] Required by:
[ ] project :flutter_webview_plugin > androidx.savedstate:savedstate:1.0.0
[ ] project :flutter_webview_plugin > androidx.lifecycle:lifecycle-livedata-core:2.0.0
[ ] > Cannot find a version of 'androidx.lifecycle:lifecycle-common' that satisfies the version constraints:
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Constraint path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'androidx.lifecycle:lifecycle-common:{strictly 2.1.0}' because of the following reason: debugRuntimeClasspath uses version 2.1.0
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-common-java8:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ +2 ms] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.lifecycle:lifecycle-runtime:2.2.0' --> 'androidx.lifecycle:lifecycle-common:2.2.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.activity:activity:1.0.0' --> 'androidx.savedstate:savedstate:1.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
[ ] Dependency path 'com.flutter_webview_plugin:flutter_webview_plugin:1.0-SNAPSHOT' --> 'io.flutter:flutter_embedding_debug:1.0.0-92ae191c17a53144bf4d62f3863c110be08e3fd3' --> 'androidx.fragment:fragment:1.1.0' --> 'androidx.loader:loader:1.0.0' --> 'androidx.lifecycle:lifecycle-livedata:2.0.0' --> 'androidx.lifecycle:lifecycle-livedata-core:2.0.0' --> 'androidx.lifecycle:lifecycle-common:2.0.0'
[ ] * 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 2s

![image](https://user-images.githubusercontent.com/21170493/104994136-f0e69100-5a5e-11eb-82ff-9ca1079d5770.png)

![image](https://user-images.githubusercontent.com/21170493/104994100-e4facf00-5a5e-11eb-97cb-ed85b285d5fc.png)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Tái hiện bản build Android của Flutter và kiểm tra cấu hình dependency của plugin, tập trung vào task :flutter_webview_plugin:compileDebugAidl và các phiên bản androidx.lifecycle xung đột được hiển thị trong log. Được xem là hoàn tất khi bản debug build giải quyết được các dependency và hoàn tất mà không xảy ra lỗi task đã báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android, flutter, java
Lĩnh vực
build-system, mobile
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.