-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I'm getting a build error when using react-native-idfa. I'm on version ^2.0.0, and also tried out ^4.1.0 without any luck.
Build error details:
> Task :@ptomasroos/react-native-idfa:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':@ptomasroos/react-native-idfa:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
...path/node_modules/@ptomasroos/react-native-idfa/android/build/intermediates/res/merged/release/values/values.xml:1980: error: resource android:attr/fontStyle not found.
...path/node_modules/@ptomasroos/react-native-idfa/android/build/intermediates/res/merged/release/values/values.xml:1981: error: resource android:attr/font not found.
...path/node_modules/@ptomasroos/react-native-idfa/android/build/intermediates/res/merged/release/values/values.xml:1982: error: resource android:attr/fontWeight not found.
...path/node_modules/@ptomasroos/react-native-idfa/android/build/intermediates/res/merged/release/values/values.xml:1983: error: resource android:attr/fontVariationSettings not found.
...path/node_modules/@ptomasroos/react-native-idfa/android/build/intermediates/res/merged/release/values/values.xml:1984: error: resource android:attr/ttcIndex not found.
error: failed linking references.
This is what my build.gradle looks like:
android {
compileSdkVersion 28
defaultConfig {
...
minSdkVersion 19
targetSdkVersion 28
versionCode 52
ndk {
abiFilters "armeabi-v7a", "x86"
}
multiDexEnabled true
}
...
}
drop-evan and drop-susan
Metadata
Metadata
Assignees
Labels
No labels