fluttercommunity / fluttercommunity/flutter_webview_plugin

flutter_webview_plugin

Ouverte
#869 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
1.5k
Forks
938
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Reproduisez le build Android de Flutter et inspectez la configuration des dépendances du plugin, en vous concentrant sur la tâche :flutter_webview_plugin:compileDebugAidl et sur les versions conflictuelles de androidx.lifecycle affichées dans le journal. C'est terminé lorsque le build de débogage résout les dépendances et se termine sans l'échec de tâche signalé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
android, flutter, java
Domaine
build-system, mobile
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.