Skip to content

Commit 09ad475

Browse files
Fix path in Android build script (#34)
## 📔 Objective When following the Contributing Docs to build the Android app, the build script couldn't find my `libbitwarden_uniffi.so` file. It seems the path for this changed in #26. This just updates the build script to use the new path. ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes
1 parent 15f1d9c commit 09ad475

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: crates/bitwarden-uniffi/kotlin/publish-local.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@
22
set -e
33

44
cd "$(dirname "$0")"
5+
SDK_REPO_ROOT="$(git rev-parse --show-toplevel)"
56

67
mkdir -p ./sdk/src/main/jniLibs/{arm64-v8a,armeabi-v7a,x86_64,x86}
78

89
# Build arm64 for emulator
910
cross build -p bitwarden-uniffi --release --target=aarch64-linux-android
10-
mv ../../target/aarch64-linux-android/release/libbitwarden_uniffi.so ./sdk/src/main/jniLibs/arm64-v8a/libbitwarden_uniffi.so
11+
mv $SDK_REPO_ROOT/target/aarch64-linux-android/release/libbitwarden_uniffi.so ./sdk/src/main/jniLibs/arm64-v8a/libbitwarden_uniffi.so
1112

1213
# Generate latest bindings
1314
./build-schemas.sh

0 commit comments

Comments
 (0)