get APK from react-native app and error: failed linking references

I want to get apk from react native app and I have this error:

C:\Users\kimia\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\353439746652554e8bfaf718133dbfd6\res\values-v26\values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.

C:\Users\kimia\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\353439746652554e8bfaf718133dbfd6\res\values-v26\values-v26.xml:13:5-16:13: AAPT: error: resource android:attr/colorError not found.

C:\Users\kimia\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\353439746652554e8bfaf718133dbfd6\res\values-v26\values-v26.xml:17:5-93: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.

C:\Users\kimia\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\353439746652554e8bfaf718133dbfd6\res\values\values.xml:251:5-69: AAPT: error: resource android:attr/fontStyle not found.

C:\Users\kimia\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\353439746652554e8bfaf718133dbfd6\res\values\values.xml:251:5-69: AAPT: error: resource android:attr/font not found.

C:\Users\kimia\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.1.aar\353439746652554e8bfaf718133dbfd6\res\values\values.xml:251:5-69: AAPT: error: resource android:attr/fontWeight not found.

error: failed linking references.

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':react-native-dominant-color:verifyReleaseResources'.

> com.android.ide.common.process.ProcessException: Failed to execute aapt

what should I do to handle it and get apk?...

Read More »

By: StackOverFlow - Friday, 9 November

Related Posts