Skip to content

Commit c70b206

Browse files
kdashgbluemarvin
authored andcommitted
Add development troubleshooting tips to README. (Igalia#701)
1 parent c4b3b0c commit c70b206

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

README.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ git clone [email protected]:MozillaReality/FirefoxReality.git
2424

2525
*Clone the third-party repo.*
2626

27-
If you're developing for the Oculus, Snapdragon VR, or VIVE, you need to clone the repo with third-party SDK files.
27+
If you're developing for the Oculus, Snapdragon VR, or VIVE, you need to clone the repo with third-party SDK files.
2828

2929
```bash
3030
git clone [email protected]:MozillaReality/FirefoxReality-android-third-party.git third_party
@@ -93,6 +93,26 @@ geckoViewLocalArm=/path/to/your/build/geckoview-nightly-armeabi-v7a-64.0.2018092
9393
geckoViewLocalX86=/path/to/your/build/geckoview-nightly-x86-64.0.20180924100359.aar
9494
```
9595

96+
## Development troubleshooting
97+
98+
### `Device supports , but APK only supports armeabi-v7a[...]`
99+
100+
Enable usb debugging on the device.
101+
102+
### `Could not get unknown property 'geckoViewLocal' for build 'FirefoxReality'[...]`
103+
104+
```bash
105+
./mach build
106+
./mach package
107+
./mach android archive-geckoview
108+
find $objdir -name *.aar
109+
echo "geckoViewLocalArm=$objdir/gradle/build/mobile/android/geckoview/outputs/aar/geckoview-official-withGeckoBinaries-noMinApi-release.aar" > $FirefoxReality/user.properties
110+
```
111+
112+
### Firefox > Web Developer > WebIDE > Performance gets stuck with greyed out "stop and show profile"
113+
114+
Restart FxR and close and re-open the WebIDE page.
115+
96116
## Debugging tips
97117

98118
- 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.

0 commit comments

Comments
 (0)