react-native-select-contact icon indicating copy to clipboard operation
react-native-select-contact copied to clipboard

verifyReleaseResources build error

Open YishaiBerg opened this issue 5 years ago • 1 comments

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 avatar Jul 02 '20 09:07 YishaiBerg

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).

YishaiBerg avatar Jul 02 '20 10:07 YishaiBerg