Unity not building APK in batchmode

Hey,

we have set up a Jenkins CI environment building an Android project, but unlike when using the Editor, Unity in batch mode does not produce an APK, but only the Gradle build project folder. How exactly can we change that in code ?

Regards
Alexander Wieser

1 Like

I am assuming you’re using BuildPipeline.BuildPlayer, ensure you’re not passing https://docs.unity3d.com/ScriptReference/BuildOptions.AcceptExternalModificationsToPlayer.html
and
https://docs.unity3d.com/2018.1/Documentation/ScriptReference/EditorUserBuildSettings-exportAsGoogleAndroidProject.html is false

Thanks, that was indeed the issue.