fluttercommunity / fluttercommunity/flutter_webview_plugin

flutter_webview_plugin

Abierto
#869 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
1.5k
Forks
938
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Reproduce la compilación de Android de Flutter e inspecciona la configuración de dependencias del plugin, centrándote en la tarea :flutter_webview_plugin:compileDebugAidl y en las versiones conflictivas de androidx.lifecycle que se muestran en el registro. Se considera completado cuando la compilación de depuración resuelve las dependencias y finaliza sin el fallo de tarea indicado.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
android, flutter, java
Área
build-system, mobile
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.