Check out example codes for "android resource linking failed". It will help you in understanding the concepts better.

Code Example 1

Change the following settings in build.gradle file to:

classpath 'com.android.tools.build:gradle:3.4.2'

Learn ReactJs, React Native from akashmittal.com