title: Cannot build app on android. Multiple Linking errors
body: <p>when building my app on android studio, I'm getting the following error:</p>
  <pre><code>&gt; Task :app:processDebugResources FAILED
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:527,&quot;startColumn&quot;:4,&quot;startOffset&quot;:39038,&quot;endLine&quot;:592,&quot;endColumn&quot;:10,&quot;endOffset&quot;:43834}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml:528:5-593:11: AAPT: error: style attribute 'android:attr/contextPopupMenuStyle' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:641,&quot;startColumn&quot;:4,&quot;startOffset&quot;:46880,&quot;endLine&quot;:698,&quot;endColumn&quot;:10,&quot;endOffset&quot;:51129}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml:642:5-699:11: AAPT: error: style attribute 'android:attr/contextPopupMenuStyle' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:747,&quot;startColumn&quot;:4,&quot;startOffset&quot;:54189,&quot;endLine&quot;:811,&quot;endColumn&quot;:10,&quot;endOffset&quot;:58892}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml:748:5-812:11: AAPT: error: style attribute 'android:attr/contextPopupMenuStyle' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:908,&quot;startColumn&quot;:4,&quot;startOffset&quot;:64921,&quot;endLine&quot;:965,&quot;endColumn&quot;:10,&quot;endOffset&quot;:69086}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml:909:5-966:11: AAPT: error: style attribute 'android:attr/contextPopupMenuStyle' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:1022,&quot;startColumn&quot;:4,&quot;startOffset&quot;:72626,&quot;endLine&quot;:1033,&quot;endColumn&quot;:10,&quot;endOffset&quot;:73681}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml:1023:5-1034:11: AAPT: error: style attribute 'android:attr/dialogCornerRadius' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v26/values-v26.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:4,&quot;startColumn&quot;:4,&quot;startOffset&quot;:217,&quot;endLine&quot;:7,&quot;endColumn&quot;:12,&quot;endOffset&quot;:426}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v26/values-v26.xml:5:5-8:13: AAPT: error: resource android:attr/colorError not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v26/values-v26.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:8,&quot;startColumn&quot;:4,&quot;startOffset&quot;:431,&quot;endLine&quot;:11,&quot;endColumn&quot;:12,&quot;endOffset&quot;:652}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v26/values-v26.xml:9:5-12:13: AAPT: error: resource android:attr/colorError not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v26/values-v26.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:12,&quot;startColumn&quot;:4,&quot;startOffset&quot;:657,&quot;endLine&quot;:15,&quot;endColumn&quot;:12,&quot;endOffset&quot;:891}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v26/values-v26.xml:13:5-16:13: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v28/values-v28.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:4,&quot;startColumn&quot;:4,&quot;startOffset&quot;:217,&quot;endLine&quot;:7,&quot;endColumn&quot;:12,&quot;endOffset&quot;:442}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v28/values-v28.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:8,&quot;startColumn&quot;:4,&quot;startOffset&quot;:447,&quot;endLine&quot;:11,&quot;endColumn&quot;:12,&quot;endOffset&quot;:684}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v28/values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:37,&quot;startColumn&quot;:4,&quot;startOffset&quot;:2618,&quot;endLine&quot;:40,&quot;endColumn&quot;:12,&quot;endOffset&quot;:2837}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml:38:5-41:13: AAPT: error: style attribute 'android:attr/hyphenationFrequency' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:37,&quot;startColumn&quot;:4,&quot;startOffset&quot;:2618,&quot;endLine&quot;:40,&quot;endColumn&quot;:12,&quot;endOffset&quot;:2837}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml:38:5-41:13: AAPT: error: style attribute 'android:attr/breakStrategy' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:44,&quot;startColumn&quot;:4,&quot;startOffset&quot;:3177,&quot;endLine&quot;:47,&quot;endColumn&quot;:12,&quot;endOffset&quot;:3402}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml:45:5-48:13: AAPT: error: style attribute 'android:attr/hyphenationFrequency' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:44,&quot;startColumn&quot;:4,&quot;startOffset&quot;:3177,&quot;endLine&quot;:47,&quot;endColumn&quot;:12,&quot;endOffset&quot;:3402}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/102f4e5339e61a836806a4922c0ccf33/appcompat-1.1.0/res/values-v23/values-v23.xml:45:5-48:13: AAPT: error: style attribute 'android:attr/breakStrategy' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/cb98cb7aa050aadd68368dde2f298c4f/cardview-1.0.0/res/values-v23/values-v23.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:2,&quot;startColumn&quot;:4,&quot;startOffset&quot;:55,&quot;endLine&quot;:4,&quot;endColumn&quot;:12,&quot;endOffset&quot;:200}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/cb98cb7aa050aadd68368dde2f298c4f/cardview-1.0.0/res/values-v23/values-v23.xml:3:5-5:13: AAPT: error: resource android:attr/colorBackgroundFloating not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  AGPBI: {&quot;kind&quot;:&quot;error&quot;,&quot;text&quot;:&quot;Android resource linking failed&quot;,&quot;sources&quot;:[{&quot;file&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml&quot;,&quot;position&quot;:{&quot;startLine&quot;:1708,&quot;startColumn&quot;:4,&quot;startOffset&quot;:117184,&quot;endLine&quot;:1715,&quot;endColumn&quot;:10,&quot;endOffset&quot;:117611}}],&quot;original&quot;:&quot;/Users/prikshetsharma/.gradle/caches/transforms-2/files-2.1/a72fc6914174c60e99bb51c1d98759b9/material-1.1.0/res/values/values.xml:1709:5-1716:11: AAPT: error: style attribute 'android:attr/keyboardNavigationCluster' not found.\n    &quot;,&quot;tool&quot;:&quot;AAPT&quot;}
  
  
  </code></pre>
  <p>I also tried <a href="https://github.com/facebook/react-native/issues/30815" rel="noreferrer">https://github.com/facebook/react-native/issues/30815</a>, but still getting the same error. How to fix this?</p>