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

  • Older News
  • I want to run my react-native application but i get this error .... how can i solve it? StackOverFlow (Yesterday) - android.webkit.WebViewFactory$MissingWebViewPackageException: Failed to load WebView provider: No WebView installedFailed to load WebView provider: No WebView installedgetProviderClassWebViewFactory.java:438getProviderWebViewFactory.java:211getInstanceCookieManager.java:39getCookieManagerForwardingCookieHandler.java:162getForwardingCookieHandler.java:59getCookieWebSocketModule.java:373connectWebSocketModule.java:95invokeMethod.javainvokeJavaMethodWrapper.java:372invokeJavaModuleWrapper.java:160runNativeRunnable.javahandleCallbackHandler.java:789dispatchMessageHandler.java:98dispatchMessageMessageQueueThreadHandler.java:29loopLooper.java:164runMessageQueueThreadImpl.java:192runThread.java:764...
  • give me this error when i instal it in another drive not at C i need help please StackOverFlow (Yesterday) - Android resource linking failedOutput: E:\newLogin\app\src\main\res\layout\activity_main.xml:9: error: resource string/image (aka com.example.elhandsia2.newlogin:string/image) not found.error: failed linking file resources.Command: C:\Users\Elhandsia2\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\15eaf558d98feb2ef61d7c087c4a789b\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\E:\2\platforms\android-28\android.jar\--manifest\E:\newLogin\app\build\intermediates\split-apk\debug\resources\AndroidManifest.xml\-o\E:\newLogin\app\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\-R\@E:\newLogin\app\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\--auto-add-overlay\--java\E:\newLogin\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\--custom-package\com.example.elhandsia2.newlogin\-0\apk\--preferred-density\420dpi\--output-text-symbols\E:\newLogin\app\build\intermediates\symbols\debug\R.txt\--no-version-vectorsDaemon: AAPT2 aapt2-3.2.1-4818971-windows Daemon #0...
  • Java Servlet filter with react native? StackOverFlow (Yesterday) - I have a loginScreen, as the user logs in he/she is re-directed to homeScreen of app.But until, the user is not logged in he/she should be able to see the...