question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Task :persistSentryProguardUuidsForReleaseArm64-v8a-release FAILED (AS:3.3 ABP:3.3.0 Gradle:4.10.1 sentry-android-gradle-plugin:1.7.16)

See original GitHub issue

Project was working fine with sentry plugin before upgrade to AS 3.3 and the matching dev tools.

Now I have more build variants than just release/debug which I had before.

When I build a release version of the APK I get “Task :persistSentryProguardUuidsForReleaseArm64-v8a-release FAILED”. The plugin is trying to run command:

"[user]\\AppData\\Local\\Temp\\.sentry-cli8452420388174734644.exe" "upload-proguard" "--android-manifest" "[project_root]\\build\\intermediates\\merged_manifests\\release\\AndroidManifest.xml" "--write-properties" "[project_root]\\build\\intermediates\\merged_assets\\release\\mergeReleaseAssets\\out/sentry-debug-meta.properties" "[project_root]\\build\\outputs\\mapping\\release\\mapping.txt"

but there is no "[project_root]\\build\\intermediates\\merged_manifests\\release\\AndroidManifest.xml", instead there is "[project_root]\\build\\intermediates\\merged_manifests\\release\\arm64-v8a\\AndroidManifest.xml". The task fails with “error: The system cannot find the file specified. (os error 2)”.

I am running the build on Windows 10.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:46 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
ninniuzcommented, Jul 16, 2019
1reaction
KrisOchcommented, Jul 22, 2019

Sorry for the late answer…

I built a snapshot with this fix and it worked for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gradle build failing after update to 3.0 - Stack Overflow
1 to 3.0. Since then the gradle build is failing every time with this error: Error:Cause: org.gradle.api.internal.tasks.DefaultTaskInputs ...
Read more >
Gradle@3 - Gradle v3 task | Microsoft Learn
Gradle v3 # Build using a Gradle wrapper script. - task: Gradle@3 inputs: gradleWrapperFile: 'gradlew' # string. Alias: wrapperScript.
Read more >
The Gradle Wrapper - Gradle User Manual
Executing the wrapper task generates the necessary Wrapper files in the project directory. Running the Wrapper task. $ gradle wrapper > Task :wrapper...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found