streem / react-native-select-contact

A cross-platform contact selection library for react-native
MIT License
114 stars 50 forks source link

verifyReleaseResources build error #31

Open YishaiBerg opened 4 years ago

YishaiBerg commented 4 years ago

I'm getting the following build error (using react native 0.61.5, windows 10).

Execution failed for task ':react-native-select-contact:verifyReleaseResources'. A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users....gradle\caches\transforms-2\files-2.1\efad880540fb7feb42c301dc466f4bf9\appcompat-1.0.2\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

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

 C:\Users\...\.gradle\caches\transforms-2\files-2.1\25bbf6b163f1daca54fb8d8b4ac20e83\core-1.0.1\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/fontVariationSettings not found.

 C:\Users\...\.gradle\caches\transforms-2\files-2.1\25bbf6b163f1daca54fb8d8b4ac20e83\core-1.0.1\res\values\values.xml:57:5-88:25: AAPT: error: resource android:attr/ttcIndex not found.

Is this related to #29 and #26? Any help will be deeply appreciated.

YishaiBerg commented 4 years ago

For anyone looking for a temporary solution, this fork solved my problem. Just run yarn add https://github.com/keepworks/react-native-select-contact . You might also need to delete the gradle cache (located in .gradle/caches).