fluttercommunity / fluttercommunity/flutter_webview_plugin

flutter_webview_plugin

オープン
#869 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
1.5k
フォーク
938
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Flutter Android ビルドを再現し、プラグインの依存関係設定を調査します。ログに表示されている :flutter_webview_plugin:compileDebugAidl タスクと、競合している androidx.lifecycle のバージョンに焦点を当ててください。デバッグビルドで依存関係が解決され、報告されたタスク失敗なしに完了すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, flutter, java
領域
build-system, mobile
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。