Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Problem try generation apk release. #24

Open
marcobneves opened this issue Sep 27, 2019 · 2 comments
Open

Problem try generation apk release. #24

marcobneves opened this issue Sep 27, 2019 · 2 comments

Comments

@marcobneves
Copy link

marcobneves commented Sep 27, 2019

Only work in version the debug, but on release production not worked. :)

`> Task :react-native-iot-wifi:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':react-native-iot-wifi:verifyReleaseResources'.

1 exception was raised by workers:
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
/home/marco/Documentos/Kaios/fileShareSmartphone/node_modules/react-native-iot-wifi/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
/home/marco/Documentos/Kaios/fileShareSmartphone/node_modules/react-native-iot-wifi/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
/home/marco/Documentos/Kaios/fileShareSmartphone/node_modules/react-native-iot-wifi/android/build/intermediates/res/merged/release/values/values.xml:2661: error: resource android:attr/fontVariationSettings not found.
/home/marco/Documentos/Kaios/fileShareSmartphone/node_modules/react-native-iot-wifi/android/build/intermediates/res/merged/release/values/values.xml:2662: error: resource android:attr/ttcIndex not found.
error: failed linking references.
`

@josectobar
Copy link

@marcobneves , I have the same issue, where you able to fix this?

@antoniuschan99
Copy link

./gradlew app:assembleRelease worked!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants