Android Toggle Switch Immediately Flips Back Off
After tapping the toggle switch to connect, the switch immediately flips back to off
The behavior of not connecting and immediately flipping the toggle switch back to off is most likely caused by another VPN interfering.
Another VPN may be configured to be Always-on.
From Android docs:
There can be only one VPN connection running at the same time.
You can still have ZeroTier and another VPN on the same device (and starting one will stop the other), but if one is configured as Always-on, then that will prevent the other one from starting.
Disable the other VPN as Always-on. Then you will be able to use ZeroTier.