chenxiaolong / BCR

A Basic Call Recorder for rooted Android devices
GNU General Public License v3.0
1.76k stars 113 forks source link

Update dependency verification for build on windows #391

Closed quyenvsp closed 1 year ago

quyenvsp commented 1 year ago

verification-metadata.xml missing artifact so can not build on windows

Execution failed for task ':app:processDebugResources'.
> Could not isolate parameters com.android.build.gradle.internal.dependency.AarResourcesCompilerTransform$Parameters_Decorated@419f8808 of artifact transform AarResourcesCompilerTransform
   > Could not isolate value com.android.build.gradle.internal.dependency.AarResourcesCompilerTransform$Parameters_Decorated@419f8808 of type AarResourcesCompilerTransform.Parameters
      > Dependency verification failed for configuration ':app:detachedConfiguration2'
        One artifact failed verification: aapt2-8.0.2-9289358-windows.jar (com.android.tools.build:aapt2:8.0.2-9289358) from repository Google
        If the artifacts are trustworthy, you will need to update the gradle/verification-metadata.xml file. For more on how to do this, please refer to https://docs.gradle.org/8.2.1/userguide/dependency_verification.html#sec:troubleshooting-verification in the Gradle documentation.