Build failed with an exception

Hello, I have an issue that just started where when I try to build an app I get “build failed.”

I have copied some of the log but do not understand what is happening.

Any advise?

Thank you.

FAILURE: Build failed with an exception.

  • What went wrong:

Execution failed for task ‘:transformClassesAndResourcesWithR8ForRelease’.

java.lang.IllegalArgumentException (no error message)

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


22 actionable tasks: 21 executed, 1 up-to-date

ls: /var/folders/45/m3md2p6x05vb2130zy45wktw0000gn/T/App Builder/build/SAB.003/a/build/outputs/apk/release: No such file or directory


The signed apk was not built successfully. This could be due to an internet connection problem. On the first build, the compiler needs to connect to the internet to download some library files.

Were you building online or offline? If offline then try online.

Check that your keystore has two correct passwords.

Thank you, not sure what happened maybe an antivirus filter blocked it but it works this morning. It kept saying it was offline…but now it is ok. Thank you.