Failed building aab

Godot Version

4.2

Question

I’m trying to export a game for Google Play. I have no problem building an apk file, but Google Play requires an aab file, and I can’t get that to work. When trying to build the aab file, I got this error:

What went wrong:
An exception occurred applying plugin request [id: ‘com.android.application’, version: ‘7.2.1’]

Failed to apply plugin ‘com.android.internal.application’.
Cannot parse project property android.useAndroidX=‘trues’ of type ‘class java.lang.String’ as boolean. Expected ‘true’ or ‘false’.

Anyone has a solution? Thanks!

I’m not versed in building Android apps, but from reading the error it seems like the line where android.useAndroidX=trues gives the error because trues isn’t a valid boolean.

1 Like

Oh thanks, it works! Not sure how “trues” happened.