Whether an APK is built depends not only on the AIA size, but on the file types that are in the assets. For non-compressible files (png, jpg, etc.) in the assets, the max. size of the AIA is about 27.2MB (+ 4.7MB, APK size of an empty project) = 31.9MB (max APK size).
For compressible files (wav, txt, etc.) the size is less than 27.2MB. In my case it was 24.5MB at which the APK was no longer built (< 24.5MB, it was built).