With a device connected to Android Debug Bridge.
./gradlew assembleDebug
adb install app/build/outputs/apk/debug/app-debug.apk
Using the debug variant to capture leak info
- Open the app on your device.
- Click the "next" button when the Main Activity loads
- The AR activity will open
- Allow camera permissions
- Move phone to detect planes
- When the "floating hand" icon has disappeared (planes detected), click the "Back" FAB to return to the main activity
After a couple of seconds, Leak Canary will highlight a leak detected
No leak! :)