To share the Wi-Fi password with an Android, you’ll need to generate a QR code.  You can do this in the Network settings section of your Android or by using the QR Your Wi-Fi option in the Apple Shortcuts app depending on whether you’re sharing the password from an iOS or Android device. You can also use a third-party app to generate a QR code if you'd prefer.