Build Mydroid from source
Build either app yourself or install the published builds. Both paths use the same pairing flow.
Clone the repository on your Mac.
git clone https://github.com/gautamm20/mydroid.gitcd mydroidBuild for Mac
Section titled “Build for Mac”Install Xcode and open it once to finish setup. Run these commands from the repository.
export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer./mac/scripts/build-app.shopen build/Mydroid.appThe app opens its pairing window. If a rebuild leaves an enabled Accessibility switch stuck, use Reset and ask again on the Mac permission card.
Build for Android
Section titled “Build for Android”- Open the repository’s
androidfolder in Android Studio. - Install Android SDK Platform 36 and a Java 17 JDK. Let Android Studio sync the project so it knows where to find the SDK.
- In Terminal, run these commands from the repository.
cd androidexport JAVA_HOME="$(/usr/libexec/java_home -v 17)"./gradlew :app:assembleDebugCopy android/app/build/outputs/apk/debug/app-debug.apk from the repository to your phone. Open it and follow the Android install guide. You can also use Android Studio’s Run button with a test phone or emulator.
Android requires updates to use the same signing key as the installed app. A local debug APK and the published APK use different keys. Use a test device to try a local build, or make an Authenticator backup before changing builds on your main phone.
Pair and test
Section titled “Pair and test”Pair your Android and Mac. Then use Share → Mydroid on Android to send a link to your Mac.
The Chrome extension source ships with your Mac build. Use the Authenticator guide to load it.