Hey all
I hope I’m posting this in the correct place. I have problems building my fork of the ionic app TOTALOG. I get the following error in the build:
> No installed build tools found. Install the Android build tools version 30.0.3 or higher.
According to this issue https://github.com/apache/cordova-android/issues/1288 this means any 30.x version but lower than 31.0.0.
I tried to add the following to my prebuild step
prebuild:
# Working around
# https://github.com/apache/cordova-android/issues/1288
- $$SDK$$/tools/bin/sdkmanager --uninstall 'build-tools;31.0.0'
- $$SDK$$/tools/bin/sdkmanager 'platforms;android-30' 'build-tools;30.0.3'
but this resulted in another failed build job in GitLab with the remark that:
Job's log exceeded limit of 4194304 bytes.
Job execution will continue but no more output will be collected.
This is my current metadata YAML:
So basically my question is: How do I force the SDK 30.0.3 to be used for the build?
Thanks and cheers
Beni