How to build apk release version on local pc

0
Hi experts, How to build APK in release version when we are deploying app locally ? I follow this documentation https://docs.mendix.com/howto8/mobile/native-build-locally/ but my APK is always in debug version,..     Is it possible to build apk in release version using ‘build Native App Locally’ ?     thanks, Zacky    
asked
2 answers
0

Hey Zacky,

 

I think you might wanna look at this,

https://docs.mendix.com/refguide/mobile/distributing-mobile-apps/building-native-apps/how-to-devapps/

 

Hope it helps!

answered
0

Hello, 

 

I usually generate a release version of AAB to distribute to the stores (you should generate an AAB instead of APK) using command line below:

 

cd {your template folder}\android\
.\gradlew.bat bundleAppstoreRelease

 

This command will generate an unsigned Release AAB in the folder below:

{your template folder}\android\app\build\outputs\bundle\appstoreRelease

 

But, in order to distribute to the AAB stores, you must sign the app.

https://developer.android.com/studio/publish/app-signing

 

Good luck!

answered