thebylito / react-native-navigation-bar-color

React Native component to change bottom bar/navigation bar color on Android
MIT License
271 stars 50 forks source link

Release build error #15

Closed tapir closed 5 years ago

tapir commented 5 years ago
Execution failed for task ':react-native-navigation-bar-color:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
  /home/myuser/Documents/react-app/node_modules/react-native-navigation-bar-color/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
  /home/myuser/Documents/react-app/node_modules/react-native-navigation-bar-color/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
  /home/myuser/Documents/react-app/node_modules/react-native-navigation-bar-color/android/build/intermediates/res/merged/release/values/values.xml:2714: error: resource android:attr/fontVariationSettings not found.
  /home/myuser/Documents/react-app/node_modules/react-native-navigation-bar-color/android/build/intermediates/res/merged/release/values/values.xml:2715: error: resource android:attr/ttcIndex not found.

any ideas? I'm using 0.0.9

tapir commented 5 years ago

Changing def DEFAULT_COMPILE_SDK_VERSION = 27 to def DEFAULT_COMPILE_SDK_VERSION = 28 fixes it.

notmike101 commented 5 years ago

Would be resolved in this one: https://github.com/thebylito/react-native-navigation-bar-color/pull/13

Just waiting on a confirmation that nothing else breaks.