Turning Your Mendix App into a Mobile Experience: A Comprehensive Guide to Building an APK.
In this guide, I will walk you through the process of creating an APK file for your Mendix application. This will enable you to run your Mendix app on Android devices, providing a seamless mobile experience for your users.
Dependencies
- Android Studio
- VSCODE
- Node.JS
- Create an empty folder on DESKTOP and give the folder a name like MENDIX.
11 steps to make an APK using Mendix
1.In Mendix Studio Pro, click on App -> Build Native Mobile App.

2.Next, select “Build app for local development” or “Build app for distribution” according to your requirements. Here, I am using “Build app for local development”.

3.Give your app a name & click Next step.

4.Select the previously created empty folder (MENDIX) & click next step.

5.If you want to change your app icons, you can do so (I am keeping my Default options until Step 7) & click next step.

6.If you want to add a custom splash screen, you can do so & click next step.

7.If you want to add any custom fonts, you can do so & click next step.

8)
Version number “1.0.0”,
Runtime URL “https://your_application_name-sandbox.mxapps.io/”
This is free app Mendix environment, if you are using paid version pass the cloud URL accordingly & configure locally,
This process can take some time. Please wait for it to complete.

9.After the configuration, open the folder.
-> Double-click on the Android folder
-> Open this Android folder in terminal or CMD
-> Execute the command “code” in the terminal or CMD in this Android folder, and it will automatically open in VSCode.
-> In the VSCode terminal, execute this command “npm install — legacy-peer-deps” & wait some time.
-> Next, execute this command “npm run configure” & wait.



10. When the package is installed, Open Android Studio
> Click Open folder
> Select your Android folder location & click Ok, it will take time.


11.After opening Android Studio, click on Build -> Build App Bundle(s)/APK(s) -> Build APK(s) & wait.
>After successfully building the APK, click on locate, analyze, and then the debug folder. Here, you will find your APK, which you can share with anyone.



OUTPUT

Conclusion:
I hope this article has helped you understand how to build an APK using Mendix.
Thanks for reading this! See you in the next blog post.
