pasqualino0815 / react-native-huawei-protected-apps

MIT License
44 stars 15 forks source link

Execution failed for task ':react-native-huawei-protected-apps:verifyReleaseResources' when building #6

Closed achigara closed 5 years ago

achigara commented 5 years ago

Here is the full stack of the error i receive when trying to build my react native android app with this library included.

* What went wrong:
2018-12-30T09:35:29.9945793Z Execution failed for task ':react-native-huawei-protected-apps:verifyReleaseResources'.
2018-12-30T09:35:29.9946353Z > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
2018-12-30T09:35:29.9946727Z   Output:  error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.
2018-12-30T09:35:29.9947400Z   error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.
2018-12-30T09:35:29.9948818Z   /home/MPSDev/ci/_work/r2/a/_Info-Trafic-Algerie-Mobile/node_modules/react-native-huawei-protected-apps/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found.
2018-12-30T09:35:29.9949927Z   /home/MPSDev/ci/_work/r2/a/_Info-Trafic-Algerie-Mobile/node_modules/react-native-huawei-protected-apps/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found.
2018-12-30T09:35:29.9950832Z   /home/MPSDev/ci/_work/r2/a/_Info-Trafic-Algerie-Mobile/node_modules/react-native-huawei-protected-apps/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
2018-12-30T09:35:29.9951889Z   /home/MPSDev/ci/_work/r2/a/_Info-Trafic-Algerie-Mobile/node_modules/react-native-huawei-protected-apps/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/fontStyle not found.
2018-12-30T09:35:29.9953652Z   /home/MPSDev/ci/_work/r2/a/_Info-Trafic-Algerie-Mobile/node_modules/react-native-huawei-protected-apps/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/font not found.
2018-12-30T09:35:29.9955031Z   /home/MPSDev/ci/_work/r2/a/_Info-Trafic-Algerie-Mobile/node_modules/react-native-huawei-protected-apps/android/build/intermediates/res/merged/release/values/values.xml:226: error: resource android:attr/fontWeight not found.
2018-12-30T09:35:29.9955504Z   error: failed linking references.
vitexikora commented 4 years ago

Please bump the version. Issue is persistent in 0.1.7