In codemagic workflow editor I can see this at the bottom of get dependencies task:
WARNING: ignoring settings from 'local.properties'!
I believe this is causing
Cannot invoke method toInteger() on null object
while building android, because that error occurs when minSdkVersion is below 21 and my local.properties file sets it to 21.
I've tried to fix it by adding this post-clone script which apparently sets the local properties:
#!/bin/sh
# set up local properties
echo "flutter.sdk=$HOME/programs/flutter" > "$CM_BUILD_DIR/android/local.properties"
It doesn't work. I don't know if that is where the flutter.sdk is on the codemagic server. I just saw exactly that script in a few different places. Any ideas why it is not working? I am building it on codemagic’s mac.