Try to fix android builds by moving the channel-specific configuration earlier in the build process.