Go to the directory of the config.json or add the path in the commands below:
echo ‘ line 1’ > config.json
echo ‘ line 2’ > > config.json
echo ‘ line 3’ > > config.json
Have fun
Hello all,
Unfortunatelly, after contacting MX Support, they confirmed that there’s no way to generate ‘config.json’ via command line. The feasible solution will be to get a ‘template’ config.json, previously generated by Build Native Mobile App, and manually proceed with the required changes related to your project (‘appIdentifier’, ‘appName’, etc). This solution is far from being the ideal, but at last is a solution.
Regarding the command line to generate the APK, you must type:
cd [template_project_folder]\android\
.\gradlew.bat assembleAppstoreDebug
and to generate the bundle AAB
cd [template_project_folder]\android\
.\gradlew.bat bundleAppstoreDebug
That’s it!