File tree 1 file changed +14
-4
lines changed
1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ brew install --cask android-studio
17
17
18
18
Install the following packages:
19
19
``` bash
20
- brew install protobuf gcc go openjdk@17 rustup-init
20
+ brew install protobuf gcc go openjdk@17 rustup-init python3
21
21
```
22
22
23
23
> __ * NOTE:* __ Ensure that you setup ` openjdk@17 ` to be the active JDK, follow instructions in
@@ -74,6 +74,19 @@ git submodule update --init --recursive --depth=1 wireguard-go-rs
74
74
```
75
75
76
76
## 4. Debug build
77
+
78
+ ### Android Studio
79
+
80
+ Create the file ` android/local.properties ` if it does not exist and add the following line:
81
+
82
+ ``` bash
83
+ rust.pythonCommand=/opt/homebrew/bin/python3
84
+ ```
85
+
86
+ You should now be able to run the app directly from Android Studio.
87
+
88
+ ### ` android/build.sh `
89
+
77
90
Run the build script in the root of the project to assemble all the native libraries and the app:
78
91
79
92
``` bash
@@ -92,9 +105,6 @@ Once the build is complete you should receive a message looking similar to this:
92
105
**********************************
93
106
```
94
107
95
- Your native binaries have now been built, any subsequent builds that does not have changes to the
96
- native code can be done in Android Studio or using gradle.
97
-
98
108
# Build options and configuration
99
109
100
110
For configuring signing or options to your build continue with the general [ build instructions] ( ../BuildInstructions.md ) .
You can’t perform that action at this time.
0 commit comments