-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
Android build always fails because of linking. It seems to me the package supports auto-linking, right? I am using the package with i18next-react-native-language-detector.
Build command
./gradlew assembleRelease
Project dependencies
Error log
> Task :react-native-locale-detector:verifyReleaseResources FAILED
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-locale-detector:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v26/values-v26.xml:5:5-8:13: AAPT: error: resource android:attr/colorError not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontStyle not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/font not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontWeight not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/startX not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/startY not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/endX not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/endY not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:126:5-132:25: AAPT: error: resource android:attr/offset not found.
```> Task :react-native-locale-detector:verifyReleaseResources FAILED
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-locale-detector:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
> Android resource linking failed
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v26/values-v26.xml:5:5-8:13: AAPT: error: resource android:attr/colorError not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/7292e758536ffb257450722a25154385/transformed/appcompat-1.0.0/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontStyle not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/font not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontWeight not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/startX not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/startY not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/endX not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:89:5-125:25: AAPT: error: resource android:attr/endY not found.
ERROR:/Users/tomassvatek/.gradle/caches/transforms-3/6b2341fde7cad02474b7caa2903bb054/transformed/core-1.0.0/res/values/values.xml:126:5-132:25: AAPT: error: resource android:attr/offset not found.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
