Problem bundling APK/AAB file from editor in 1.2.173

#1

Defold 1.2.173 included an updated Android build pipeline using the latest tools from Google. The new build pipeline generates AAB and APK files using aapt2 and bundletool and goes through the same code path (an APK is generated from a universal AAB file).

Defold 1.2.173 also transitioned from the outdated use of a separate key and certificate to the use of a Java keystore when signing bundled Android applications.

These changes in combination unfortunately broke Android bundling from the editor when no keystore was used. In the case when the user doesn’t provide a keystore the new pipeline generates a debug keystore. This works well when bundling using bob.jar from the command line but fails when bundling from the editor.

The workaround until we release a fix is to either bundle from the command line or generate and use a keystore when bundling.

The issue is reported here: https://github.com/defold/defold/issues/5206

A new dev release of the editor will be made available later today.

5 Likes

Keytool access denied for Android build
IAP has been removed from core
#2

If you want to jump onto the alpha testing branch for 1.2.174 there’s a version here which fixes the above mentioned bundling error: http://d.defold.com/alpha/

0 Likes

"Unable to delete file" error while Bundle Android Application
#3

An alternative is to revert to Defold 1.2.172 until a new editor is released or use bob to bundle.

0 Likes

#4

The Defold 1.2.174 beta was released yesterday with fixes for Android bundling:

1 Like