title: Flutter APK build android resource linking failed vibrate package
body: <p>I'm trying to build an apk for my app but I get a resource linking fail on the vibrate package.
  I can run my app in release mode and I can also build an app bundle without failure.
  I already did a successful apk build two days ago, what I changed since this build:
  -upgrading to Android studio 4.0
  -run a pub cache repair (due to an other error resolved now)</p>
  
  <p>Error I get:</p>
  
  <pre><code>FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':vibrate:verifyReleaseResources'.
  &gt; A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
     &gt; Android resource linking failed
       C:\Users\plest\.gradle\caches\transforms-2\files-2.1\1aeb117cf01e0e03a347b2b45aacb6fb\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontStyle not found.
  
       C:\Users\plest\.gradle\caches\transforms-2\files-2.1\1aeb117cf01e0e03a347b2b45aacb6fb\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/font not found.
  
       C:\Users\plest\.gradle\caches\transforms-2\files-2.1\1aeb117cf01e0e03a347b2b45aacb6fb\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontWeight not found.
  
       C:\Users\plest\.gradle\caches\transforms-2\files-2.1\1aeb117cf01e0e03a347b2b45aacb6fb\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.
  
       C:\Users\plest\.gradle\caches\transforms-2\files-2.1\1aeb117cf01e0e03a347b2b45aacb6fb\core-1.1.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.
  
  
  * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Get more help at https://help.gradle.org
  
  BUILD FAILED in 22s
  
  
  
  
  
  
  
  Running Gradle task 'assembleRelease'...                           24,3s
  The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
  Building plugin cloud_firestore...
  Running Gradle task 'assembleAarRelease'...                     
  The plugin cloud_firestore could not be built due to the issue above.
  Process finished with exit code 1
  </code></pre>
  
  <p>My flutter doctor is good and a flutter clean doesn't change anything.
  I can't access the flutter panel when right click on the android panel.</p>
  
  <p><a href="https://i.stack.imgur.com/uDfJ9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uDfJ9.png" alt="enter image description here"></a></p>
  
  <p>EDIT:
  if I run with verbose I get this in my log</p>
  
  <pre><code>[  +17 ms] &gt; Task :vibrate:extractDebugAnnotations UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:mergeDebugGeneratedProguardFiles UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:mergeDebugConsumerProguardFiles UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:prepareLintJarForPublish UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:mergeDebugJavaResource UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE
  [   +2 ms] &gt; Task :vibrate:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:bundleDebugAar UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:compileDebugSources UP-TO-DATE
  [   +1 ms] &gt; Task :vibrate:assembleDebug UP-TO-DATE
  [ +253 ms] &gt; Task :app:mergeDebugNativeLibs
  [   +1 ms] Unable to strip library
  'C:\Users\plest\StudioProjects\the_spot\build\app\intermediates\merged_native_libs\debug\out\lib\x86\libflutter.so' due to
  missing strip tool for ABI 'X86'. Packaging it as is.
  [  +97 ms] &gt; Task :app:stripDebugDebugSymbols
  [   +1 ms] Compatible side by side NDK version was not found.
  [   +1 ms] Unable to strip library
  'C:\Users\plest\StudioProjects\the_spot\build\app\intermediates\merged_native_libs\debug\out\lib\x86_64\libflutter.so' due
  to missing strip tool for ABI 'X86_64'. Packaging it as is.
  </code></pre>