FormidableLabs / FormidableLabs/react-native-app-auth
Android Build failing with processDebugResources error
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 2.3k
- フォーク
- 473
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
## 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`
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
`react-native-app-auth` 6.4.3を使用するReact Native 0.63.4プロジェクトで、`react-native run-android`によって失敗を再現します。` :app:processDebugResources`タスクから開始し、参照されているAppAuthの`AndroidManifest.xml`で``要素の周辺を調査します。サンプルAndroidプロジェクトがリソースのリンクエラーなしに正常にビルドできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- android, java, react-native
- 領域
- build-system, mobile
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100