React-native-code-push: Execution failed for task ':react-native-code-push:verifyReleaseResources'.

Created on 15 Mar 2019  路  4Comments  路  Source: microsoft/react-native-code-push

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

Steps to Reproduce

  1. Install [email protected], [email protected]

    Expected Behavior

What you expected to happen?

Successfully build apk

Actual Behavior

What actually happens?

  STACK TRACE AND/OR SCREENSHOTS
* What went wrong:
Execution failed for task ':react-native-code-push:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  Output:  PROJECT/node_modules/react-native-code-push/android/app/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  PROJECT/node_modules/react-native-code-push/android/app/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  PROJECT/node_modules/react-native-code-push/android/app/build/intermediates/res/merged/release/values/values.xml:957: error: resource android:attr/fontVariationSettings not found.
  PROJECT/node_modules/react-native-code-push/android/app/build/intermediates/res/merged/release/values/values.xml:958: error: resource android:attr/ttcIndex not found.
  error: failed linking references.

Reproducible Demo

Environment

  • react-native-code-push version: 5.5.2
  • react-native version: 0.58.6
  • iOS/Android/Windows version: Android
  • Does this reproduce on a debug build or release build? Release
  • Does this reproduce on a simulator, or only on a physical device? It happens when I try to assembleRelease

(The more info the faster we will be able to address it!)

android bug

Most helpful comment

@alexandergoncharov Can we reopen it? Facing exact same issue in:
react-native-code-push version: 5.6.1
react-native version: 0.60.4

All 4 comments

Hi @telmen ,
Thanks for reporting!

Could you please clarify more details of approach which you used for creating apk?

Hi @alexandergoncharov, I'm closing this issue due to I wasn't using latest version of it. After upgrading to latest version, it works. (My bad for creating a unclear issue)

@telmen That's great that your issue was resolved. Thanks for keeping us in touch!

@alexandergoncharov Can we reopen it? Facing exact same issue in:
react-native-code-push version: 5.6.1
react-native version: 0.60.4

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fanzhiri picture fanzhiri  路  3Comments

ninjz picture ninjz  路  4Comments

Adr1ann picture Adr1ann  路  3Comments

SudoPlz picture SudoPlz  路  4Comments

djw27 picture djw27  路  3Comments