FormidableLabs / FormidableLabs/react-native-app-auth

Android Build failing with processDebugResources error

Abierto
#746 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
2.3k
Forks
473
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## Issue

Android build is failing with brand new project with just this library. Without this library build is successful
iOS is working fine

**Dependencies**

` "dependencies": {
"react": "16.13.1",
"react-native": "0.63.4",
"react-native-app-auth": "^6.4.3"
}`

**Error**
`yarn run v1.22.15
$ react-native run-android
info Running jetifier to migrate libraries to AndroidX. You can disable it using "--no-jetifier" flag.
Jetifier found 983 file(s) to forward-jetify. Using 8 workers...
info JS server already running.
info Installing the app...
> Task :app:processDebugResources FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
25 actionable tasks: 18 executed, 7 up-to-date
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Android resource linking failed
/Users/rizwanshivalli/.gradle/caches/transforms-2/files-2.1/4931cd4c613ede2735302fe320f87edc/appauth-0.8.1/AndroidManifest.xml:26:5-34:15: AAPT: error: unexpected element found in .

* 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 29s`

---

## Environment

* **Your Identity Provider**: `Google`
* **Platform that you're experiencing the issue on**: `Android `
* **Are you using Expo?** NO
* **RN version**: `0.63.4`
* **React Native App Auth Version**: `^6.4.3`

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Reproduce el fallo con `react-native run-android` en un proyecto de React Native 0.63.4 que use `react-native-app-auth` 6.4.3. Empieza por la tarea `:app:processDebugResources` e inspecciona el `AndroidManifest.xml` de AppAuth referenciado alrededor del elemento ``. Se considera terminado cuando el proyecto Android de ejemplo se compila correctamente sin el error de enlazado de recursos.

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

Evaluación

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

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.