jpush / jpush/jpush-react-native

添加华为厂商通道报错

Open
#852 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processAppTestReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
D:\projects\gitprojects\RNBaseApp\node_modules\jpush-react-native\android\build\intermediates\library_manifest\release\AndroidManifest.xml:32:5-89: AAPT: error: not well-formed (invalid token).

  • 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

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

BUILD FAILED in 1m 31s
344 actionable tasks: 322 executed, 22 up-to-date
error Command failed with exit code 1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the :app:processAppTestReleaseResources failure and inspect node_modules/jpush-react-native/android/build/intermediates/library_manifest/release/AndroidManifest.xml around line 32. Determine what makes the manifest invalid, then verify that the Android resource-linking build completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, react-native
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.