Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build instructions in README #177

Merged
merged 1 commit into from
Nov 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,22 @@ You can optionally create a debug build of WPEWebKit passing the `--debug` optio
Finally, the bootstrap option accepts the `--arch` option to set the target architecture.
Currently supported architectures are `arm64` and `x86_64`.


### Android Studio
[Android Studio](https://developer.android.com/studio/) is required to build and run WPE Android.
For example, device debug build dependencies can be generated using
```bash
./tools/scripts/bootstrap.py --build --debug --arch=arm64
```
### Android Project
Once the bootstrap process is done and all the dependencies are cross-compiled and installed,
you should be able to open the `launcher` demo with Android Studio and run it on a real device.
you should be able to generate android project from gradle files.
```bash
./gradlew assembleDebug
```
This will generate APKs in directory `tools/webdriver/build/outputs/apk/debug`

To install APK in device or emulator,
```bash
adb install ./tools/minibrowser/build/outputs/apk/debug/minibrowser-debug.apk
```

## Web Inspector

Expand Down