Skip to content

Commit 7490742

Browse files
committed
add more debugging tips for Build Variants and recording Oculus videos
1 parent e3b060a commit 7490742

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

+9-3
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ npm run compress
137137

138138
### `Device supports , but APK only supports armeabi-v7a[...]`
139139

140-
Enable usb debugging on the device.
140+
Enable [USB Remote Debugging](https://github.com/MozillaReality/FirefoxReality/wiki/Developer-Info#remote-debugging) on the device.
141141

142142
### `Could not get unknown property 'geckoViewLocal' for build 'FirefoxReality'[...]`
143143

@@ -149,17 +149,23 @@ find $objdir -name *.aar
149149
echo "geckoViewLocalArm=$objdir/gradle/build/mobile/android/geckoview/outputs/aar/geckoview-official-withGeckoBinaries-noMinApi-release.aar" > $FirefoxReality/user.properties
150150
```
151151

152-
### Firefox > Web Developer > WebIDE > Performance gets stuck with greyed out "stop and show profile"
152+
### **`Firefox > Web Developer > WebIDE > Performance`** gets stuck with greyed out "stop and show profile"
153153

154154
Restart FxR and close and re-open the WebIDE page.
155155

156+
### **`Tool Windows > Build Variants`** list is empty
157+
158+
1. If you're not on the latest version, update Android Studio from **Android Studio > Check for Updates…`.
159+
2. Run **File > Sync Project with Gradle Files`.
160+
156161
## Debugging tips
157162

158163
- When using the native debugger you can ignore the first SIGSEGV: address access protected stop in GV thread. It's not a crash; you can click *Resume* to continue debugging.
159164
- On some platforms such as Oculus Go the native debugger stops on each input event. You can set this LLDB post-attach command in Android Studio to fix the problem: `pro hand -p true -s false SIGILL`
160165
- You can use `adb shell am start -a android.intent.action.VIEW -d "https://aframe.io" org.mozilla.vrbrowser/org.mozilla.vrbrowser.VRBrowserActivity` to load a URL from the command line
161166
- You can use `adb shell am start -a android.intent.action.VIEW -n org.mozilla.vrbrowser/org.mozilla.vrbrowser.VRBrowserActivity -e homepage "https://example.com"` to override the homepage
162-
- You can use `adb shell setprop debug.oculus.enableVideoCapture 1` to record videos on the Oculus Go. Remember to disable it when your video is ready.
167+
- You can use `adb shell setprop debug.oculus.enableVideoCapture 1` to record a video on the Oculus Go. Remember to run `adb shell setprop debug.oculus.enableVideoCapture 0` to stop recording the video.
168+
- You can also record videos on the Oculus Go by exiting to the system library, and from the Oculus tray menu (toggle with the Oculus button on the controller): **`Sharing > Record Video`**
163169
- You can set `disableCrashRestart=true` in the gradle `user.properties` to disable app relaunch on crash.
164170

165171
## Experimental Servo support

0 commit comments

Comments
 (0)