- A recent edition of Android Studio. The author is using Android Studio Hedgehog 2023.1.1.
- A DJI aircraft supported by the DJI Mobile SDK V5. You can find a list of supported products on their website.
- The remote controller associated with your aircraft. You'll connect this to a tablet or phone via USB.
- An Android device running Android 8.0 or later. I haven't tried connecting to DJI using the emulator, but it should be possible via USB passthrough.
- Open the project in Android Studio.
- Synchronize the Gradle project.
- Connect to your Android device over WiFi via adb. You need to connect via WiFi because you'll need to connect the device and the remote controller via USB.
- Connect the Android device and the remote controller via USB.
- Click the "run" icon.