title: Fixing "error: not well-formed (invalid token): line 1, column 2" in Android Kernel build
body: <p>I'm building Android 12 ROM for a device <code>(codename: fajita)</code>. During the kernel build, it shows the below error for several jar files.</p>
  <pre><code>[  0% 338/44436] Verifying uses-libraries: vendor/oneplus/fajita/proprietary/framework/com.qti.dpmframework.jar
  FAILED: /home/mn/git/evox/out/target/common/obj/JAVA_LIBRARIES/com.qti.dpmframework_intermediates/enforce_uses_libraries.status
  /bin/bash -c &quot;(rm -f /home/mn/git/evox/out/target/common/obj/JAVA_LIBRARIES/com.qti.dpmframework_intermediates/enforce_uses_libraries.status ) &amp;&amp; (build/soong/scripts/manifest_check.py      --enforc
  e-uses-libraries      --enforce-uses-libraries-status /home/mn/git/evox/out/target/common/obj/JAVA_LIBRARIES/com.qti.dpmframework_intermediates/enforce_uses_libraries.status     --aapt /home/mn/
  git/evox/out/host/linux-x86/bin/aapt                      vendor/oneplus/fajita/proprietary/framework/com.qti.dpmframework.jar )&quot;
  error: not well-formed (invalid token): line 1, column 2
  </code></pre>
  <p>The same error shows for other jar files as well, such as <code>com.qualcomm.qti.camera.jar</code>, <code>com.qti.location.sdk.jar</code> and 7 more.</p>
  <p>Upon decompiling the jar files using <a href="http://java-decompiler.github.io/" rel="nofollow noreferrer">JD-GUI</a>, the components seems well formed.</p>
  <p><a href="https://i.stack.imgur.com/41w9V.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/41w9V.png" alt="enter image description here" /></a></p>
  <p>I tried building with <code>RELAX_USES_LIBRARY_CHECK := true</code> to force-skip checking on <code>&lt;uses-libraries&gt;</code> requirement in Android 12, but also didn't help.</p>
  <p>How to solve this error?</p>