Hi Team,
We are trying to build our game for android in a Github actions self-hosted machine. The build is successful but we get an Android SDK license error when generating the APK.
We tried to run the android sdkmanager in our github actions CI before the RunUAT command but we still get the license error. I attach the build log and the sdkmanager license log.
How we coudl fix this issue?
Best Regards,
Xavi
Best Regards,
Xavi
Hi Xavier,
The license in question is the one specific to UE, not the one from SDK manager. Are you in a position to open the editor on the self-hosted machine and accept the license agreement? (under Project Settings -> Platforms -> Android -> APK packaging). If you need to automate this step, the functionality for generating the required license files is self contained in SAndroidLicenseDialog::OnAgree.
Best regards.
Hi,
I was able to fix the issue with the information provided.
Thanks,
Xavi
Great news! Thanks for the update Xavi.