Skip to content

Commit

Permalink
add clear instructions for .so file
Browse files Browse the repository at this point in the history
  • Loading branch information
trbutler4 committed Aug 18, 2024
1 parent e8f8250 commit 99e885a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/getting-started/rust-in-android.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ Run
```bash
make build-android
```
Copy the .so file to jni directory in android app.
Copy the .so file from 'target/x86_64-linux-android/release/libexample_rust_project.so' to
'app/src/main/jni/x86_64/libexample_rust_project.so' so the android app can read compiled native code.
Use the library like any other library.
```java
package com.example.rust_example
Expand Down

0 comments on commit 99e885a

Please sign in to comment.