title: Android resource linking failed..... error: failed linking references
body: <p>My Android app got Unpublished from Google Play because there were a lot of permissions in the project. But now I need to update my project and while uploading to Play Store I'll declare all the permissions on the App Page.
  Now I've installed Studio <code>3.2.1</code> and Imported the project but I get some problems I can't get rid off. Even after searching for the solutions on the Internet.</p>
  
  <p>I get compile Errors as below:
  Android resource linking failed</p>
  
  <p>Output: </p>
  
  <pre><code>C:\VikAndProjects\VikAllInDialogs\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml:740: error: resource android:attr/preserveIconSpacing is private.
  error: failed linking references.
  
  Command: C:\Users\VivekTheGreat\.gradle\caches\transforms-1\files-1.1\aapt2-3.2.1-4818971-windows.jar\04715f967a002ffd330f576b4f8cb914\aapt2-3.2.1-4818971-windows\aapt2.exe link -I\
          E:\VikAndSDK\platforms\android-22\android.jar\
          --manifest\
          C:\VikAndProjects\VikAllInDialogs\app\build\intermediates\instant_run_merged_manifests\debug\processDebugManifest\instant-run\AndroidManifest.xml\
          -o\
          C:\VikAndProjects\VikAllInDialogs\app\build\intermediates\processed_res\debug\processDebugResources\out\resources-debug.ap_\
          -R\
          @C:\VikAndProjects\VikAllInDialogs\app\build\intermediates\incremental\processDebugResources\resources-list-for-resources-debug.ap_.txt\
          --auto-add-overlay\
          --java\
          C:\VikAndProjects\VikAllInDialogs\app\build\generated\not_namespaced_r_class_sources\debug\processDebugResources\r\
          --custom-package\
          vik.practice.allindialogs\
          -0\
          apk\
          --preferred-density\
          xxhdpi\
          --output-text-symbols\
          C:\VikAndProjects\VikAllInDialogs\app\build\intermediates\symbols\debug\R.txt\
          --no-version-vectors
  Daemon:  AAPT2 aapt2-3.2.1-4818971-windows Daemon #0
  
  I can't change or Edit anything in "....intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml" file. Once I "Run" or "Build Project" after editing the values.xml file it RETURNS to the present file.
  </code></pre>
  
  <p>Any help is Very Much Appreciated.</p>