-
Notifications
You must be signed in to change notification settings - Fork 18k
x/mobile: support for aab format #50371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
At work, we have a small "wrapper" Android application that simply uses the contents of the APK. Our build step extracts the JNI libraries, etc. We then build AABs like normal. It's a little more work, but we don't have to depend on gomobile for anything except code generation. |
@ericlagergren thanks for the input. Can you explain a bit more in detail how that is done? My gomobile build produces the apk that contains both my shared object (.so) and my openal.so file (and assets of course). Then a dex file. Do I understand you correctly that you have written a wrapper in java that acts as an "entry-point" that then uses the so files? Are you implementing your own event handler that then calls different functions in the shared library, for Any pointers/links would be much appreciated. Meanwhile, I will try out some google-fu. |
I managed to make it work by building |
I think this issue should be reopened, gomobile is still going to need support for |
I've released my android game open sourced where I also describe how to build aab packages and OpenAL. |
To build and publish to Playstore for Android it is now required to have aab format instead of the current apk format. Gomobile currently outputs in the apk format.
Is this in the pipeline or anyone knows of a workaround for generating aab package from a gomobile build?
The text was updated successfully, but these errors were encountered: