I have the same error, but I’ve found a temporary workaround → executing gradle from command line
- Start cmd.exe manually
-
Cd "D:[PROJECT]\Intermediate/Android/APK\gradle"
-
rungradle.bat :app:assembleDebug
This created the .apk file in the folder [PROJECT]\Binaries\Android
This step however doesn’t generate the installation file, so I’ve used the project settings to package the complete data into the .apk file.