FormidableLabs / FormidableLabs/react-native-app-auth
Android Build failing with processDebugResources error
- Dominant language
- Java
- Stars
- 2.3k
- Forks
- 473
- PR merge metrics
- No merged PRs in 30d
Description
## 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`
Contributor guide
Assessment
This issue has not been assessed yet.