Skip to content

Commit 767389f

Browse files
authored
Merge pull request #4 from get-convex/androidreadmeupdate
Update README.md
2 parents 830b3d5 + bff02e1 commit 767389f

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

android/README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@ library.
7474
2. Clone https://github.com/get-convex/convex-mobile
7575
3. Install Android Studio
7676
4. Use the SDK Manager to install NDK version 27.0.11902837
77-
1. On Mac it will be installed somewhere like `/Users/$you/Library/Android/sdk/ndk/`
78-
5. Add the following to `~/.cargo/config.toml` (**use your NDK path**)
77+
1. Open android studio. Press shift-shift and search sdk manager
78+
2. In the SDK tools tab, go to "NDK".
79+
3. Check the "show package details" box to get more options
80+
4. Select NDK version 27.0.11902837
81+
5. On Mac it will be installed somewhere like `/Users/$USER/Library/Android/sdk/ndk/`
82+
6. Add the following to `~/.cargo/config.toml` (**use your NDK path**)
7983

8084
```toml
8185
[target.aarch64-linux-android]
@@ -85,7 +89,9 @@ library.
8589
linker = "${your NDK x.y.z path}/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi35-clang"
8690
```
8791

88-
6. Run `rustup target add armv7-linux-androideabi aarch64-linux-android`
89-
7. Open `convex-mobile/android` in Android Studio (wait for it to sync)
90-
8. Double press Ctrl and type `./gradlew build`
91-
9. You can generate a local Maven installable package by running `./gradlew publishToMavenLocal`
92+
7. Run `rustup target add armv7-linux-androideabi aarch64-linux-android`
93+
8. Open `convex-mobile/android` in Android Studio (wait for it to sync)
94+
9. Double press Ctrl and type `./gradlew build`
95+
10. Set up GPG key/passphrase https://central.sonatype.org/publish/requirements/gpg/
96+
11. Set credentials in gradle.properties https://central.sonatype.org/publish/publish-gradle/#credentials
97+
12. You can generate a local Maven installable package by running `./gradlew publishToMavenLocal`

0 commit comments

Comments
 (0)