Android Packaging, Build Failed with "minifyReleaseWithR8" error

Hello, I have a Build Failed error with the following message:

Execution failed for task ‘:app:minifyReleaseWithR8’.

Can someone pls help?

Can you valid these mentioned steps

Did you modify android studio setup after trial of android packaging in UE ?

Did you restarted PC after setup of Android Studio

Environment variables placed in right path ? No duplicates !

Delete .gradle folder and delete intermediate,DDC and binaries folder from project folder

Now package again