Driversnote-Dev / react-native-kontaktio

React Native (iOS and Android) library for Kontakt.io beacons (and all other beacons)
MIT License
112 stars 48 forks source link

Release apk. #77

Closed mtadamek closed 3 years ago

mtadamek commented 3 years ago

OS: Ubuntu 20.04 RN version: 0.62.2 react-native-kontaktio version: 2.7.2

When i use ./gradlew assembleRelease to build release apk then I get this error:

`What went wrong: Execution failed for task ':react-native-kontaktio:verifyReleaseResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed /home/adem/.gradle/caches/transforms-2/files-2.1/ab2c0d53782effd02ac7f499ae154019/appcompat-1.0.2/res/values-v26/values-v26.xml:5:5-8:13: AAPT: error: resource android:attr/colorError not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/ab2c0d53782effd02ac7f499ae154019/appcompat-1.0.2/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/ab2c0d53782effd02ac7f499ae154019/appcompat-1.0.2/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/ab2c0d53782effd02ac7f499ae154019/appcompat-1.0.2/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/ab2c0d53782effd02ac7f499ae154019/appcompat-1.0.2/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/6e813fa6b8fc8b59c3519258210e2a27/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontStyle not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/6e813fa6b8fc8b59c3519258210e2a27/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/font not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/6e813fa6b8fc8b59c3519258210e2a27/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontWeight not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/6e813fa6b8fc8b59c3519258210e2a27/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

 /home/adem/.gradle/caches/transforms-2/files-2.1/6e813fa6b8fc8b59c3519258210e2a27/core-1.0.1/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.`
mtadamek commented 3 years ago

Solved :) I used ./gradlew bundleRelease.