Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am trying to compile an apk and I got this error com.android.tools.r8.CompilationFailedException: Compilation failed to complete,
Execution failed for task ':transformClassesAndResourcesWithR8ForRelease'

What I have tried:

I Tried editing gradle.properties with android.enableR8=false but it keeps getting overwritten by unity compiler.
Posted
Updated 14-Mar-21 8:29am
v2

1 solution

If you don't understand an error message, the first thing to do is Google it: Execution failed for task ':transformClassesAndResourcesWithR8ForRelease' - Google Search[^] This gave me over 900 results, most of which offer a variety of solutions, dependent on what your code is doing...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900