This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add development troubleshooting tips to README. (#701)
- Loading branch information
1 parent
c4b3b0c
commit c70b206
Showing
1 changed file
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ git clone [email protected]:MozillaReality/FirefoxReality.git | |
|
||
*Clone the third-party repo.* | ||
|
||
If you're developing for the Oculus, Snapdragon VR, or VIVE, you need to clone the repo with third-party SDK files. | ||
If you're developing for the Oculus, Snapdragon VR, or VIVE, you need to clone the repo with third-party SDK files. | ||
|
||
```bash | ||
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 | |
geckoViewLocalX86=/path/to/your/build/geckoview-nightly-x86-64.0.20180924100359.aar | ||
``` | ||
|
||
## Development troubleshooting | ||
|
||
### `Device supports , but APK only supports armeabi-v7a[...]` | ||
|
||
Enable usb debugging on the device. | ||
|
||
### `Could not get unknown property 'geckoViewLocal' for build 'FirefoxReality'[...]` | ||
|
||
```bash | ||
./mach build | ||
./mach package | ||
./mach android archive-geckoview | ||
find $objdir -name *.aar | ||
echo "geckoViewLocalArm=$objdir/gradle/build/mobile/android/geckoview/outputs/aar/geckoview-official-withGeckoBinaries-noMinApi-release.aar" > $FirefoxReality/user.properties | ||
``` | ||
|
||
### Firefox > Web Developer > WebIDE > Performance gets stuck with greyed out "stop and show profile" | ||
|
||
Restart FxR and close and re-open the WebIDE page. | ||
|
||
## Debugging tips | ||
|
||
- 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. | ||
|