BhavanPatel / react-native-navbar-color

Module for change color of react-native footer navigation bar and Statusbar
MIT License
53 stars 20 forks source link

Update build.gradle #6

Open marcocesarato opened 5 years ago

marcocesarato commented 5 years ago

Upgraded SDK to 28, Changed compile to implementation

marcocesarato commented 5 years ago

This solve issues like:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-navbar-color:verifyReleaseResources'.
> 1 exception was raised by workers:
  com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  error: resource android:style/TextAppearance.Material.Widget.Button.Borderless.Colored not found.
  error: resource android:style/TextAppearance.Material.Widget.Button.Colored not found.
  /project/node_modules/react-native-navbar-color/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:7: error: resource android:attr/colorError not found.
  /project/node_modules/react-native-navbar-color/android/build/intermediates/res/merged/release/values-v26/values-v26.xml:11: error: resource android:attr/colorError not found.