I can\'t run my app on AVD. I get this error.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionF
I'm using Android Studio 4.0.0 and everything is fine until suddenly I got this error when clean and rebuild project. I don't know why. I tried many solution suggested but no luck. Finally I try to uninstall Android Studio 4.0.1 and this error is GONE and enable to run in emulator like before
Simply degrade the version from
classpath 'com.android.tools.build:gradle:3.5.0'
to
classpath 'com.android.tools.build:gradle:3.4.2'
then no need to change anything,
You can try Invalidate Caches/Restart
if not working.