Hi,
It seems that the tool Native Builder is deprecated:
https://docs.mendix.com/refguide8/native-builder/
Since you are using Studio Pro 9.11, you can use the new tool:
https://docs.mendix.com/refguide/mxbuild/
I use a cmdline similar to this to generate the bundle:
C:\Programs\Mendix\{MxVersion}\modeler\mxbuild.exe --java-home="C:\Program Files\AdoptOpenJDK\jdk-11.0.3.7-hotspot" --java-exe-path="C:\Program Files\AdoptOpenJDK\jdk-11.0.3.7-hotspot\bin\java.exe" --target=deploy --native-packager --loose-version-check {MprProject}
then copy the bundle to the Native Template folder (powershell):
Copy-Item -Path "{your project folder}\deployment\native\bundle\android\*" -Destination "{your template folder}\android\app\src\main\" -Recurse -Force
run the required node commands in the root of Native Template folder:
npm install
npm run configure
And at the end, run the command to generate the APK (powershell):
Set-Location {your template folder}\android\
.\gradlew.bat assembleAppstoreDebug
Or use the UI tool:
that does all this job for you.
I personally prefer to gen APK locally, not relying the the cloud services AppCenter or Git.
Local generation is a lot faster, as well.
Finally, please revogue your Git and Appcenter Tokens, for security reasons, since they are exposed in the screenshot.
Good luck!
Hi
facing this error after following the instruction in the documentation and also tried providing the command for build mentioned by @Vinicius Strugata Ambrosio