FAILURE: Build failed with an exception

Hi, new DAB user here (Oh, Hi Ian!),

Still just starting to learn how to build a dictionary app with DAB. My first attempts have come up with build fails. Here is my build log:

*** 8.6.6 ***

*** Building Android app ***

App Project: Wunambal Dictionary
App Name: Wunambal Dictionary
App Version: 1.0
Apk Filename: Wunambal_Dictionary-1.0.apk

Grandroid: No
Analytics: No
Expiry: No
App Builder: /Applications/Dictionary App

*** Setting paths ***

GRADLE_HOME=/Applications/Dictionary App
MAVEN_HOME=/Applications/Dictionary App

PATH=/Applications/Dictionary App App

*** JDK ***

openjdk version “1.8.0_332”
OpenJDK Runtime Environment (Zulu (build 1.8.0_332-b09)
OpenJDK 64-Bit Server VM (Zulu (build 25.332-b09, mixed mode)

*** Android SDK ***

Target Android Platform: Android 10 (API 29)
Minimum Android Platform: Android 5.0 Lollipop (API 21)
SDK Tools Version: cmdline-tools 6.0
SDK Build Tools Version: 32.0.0
SDK Platform Tools Version: 33.0.1

*** Compiling Android APK ***

  • gradle clean assembleRelease --warning-mode=none

FAILURE: Build failed with an exception.

  • What went wrong:
    org.slf4j.impl.Log4jLoggerAdapter cannot be cast to org.gradle.api.logging.Logger

  • Try:
    Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Exception is:
    java.lang.ClassCastException: org.slf4j.impl.Log4jLoggerAdapter cannot be cast to org.gradle.api.logging.Logger
    at org.gradle.api.logging.Logging.getLogger(
    at org.gradle.launcher.cli.DebugLoggerWarningAction.(
    at org.gradle.launcher.cli.DefaultCommandLineActionFactory$WithLogging.execute(
    at org.gradle.launcher.Main.doAction(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(
    at org.gradle.launcher.GradleMain.main(

  • Get more help at
    ls: /var/folders/y_/2dy0h7ln1hdbtps_6ljkf5780000gn/T/App Builder/build/DAB.001/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.

Copying log to output folder

Saving session…
…copying shared history…
…saving history…truncating history files…

[Process completed]

Your DAB is old. The current version is 9.3.

I’d update to that and update the Android SDK.

Check that your keystore is correct.