Will cocos2d support Android App Bundles?
It’s new feature from Google:
https://developer.android.com/guide/app-bundle/
Will cocos2d support Android App Bundles?
It’s new feature from Google:
https://developer.android.com/guide/app-bundle/
Android App Bundles are currently only available for TargetSDK P and this is not final yet. If you switch for example cocos2d-x 3.17 to P it will perfectly build with ./gradlew bundle instead of ./gradlew build. I’ve tested it by myself, because I wanted to see, what the benefits are.
One big issue is still open for AAB files. You can’t use it for games with OBB files yet (see https://stackoverflow.com/q/50303556/708157). And the generated APKs can’t be larger than 100MB (same restriction as current APKs).
I correct my last answer. Not the targetSDK is important, it’s the gradle build tools. It has to be at least:
classpath "com.android.tools.build:gradle:3.2.0-alpha15"
if you want to use Android App Bundles (from command line).