From 251b72bda66250f80e9a0b30414bcb2693a70753 Mon Sep 17 00:00:00 2001 From: Abhijeet Kandalkar Date: Fri, 22 Nov 2024 23:51:02 +0530 Subject: [PATCH] Update build instructions in README --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b3b2be1eb..2e86d3ba2 100644 --- a/README.md +++ b/README.md @@ -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