Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Rust_Android_Logging #92

Closed

Conversation

ScottyDavies
Copy link

#66

This pull request implements the following:

Created a new example called rust_android_logging based on the current example app
Initialized a new Rust library project with logging dependencies
Implemented logging functions in src/lib.rs and exported them with #[no_mangle]
Used cargo-ndk to cross-compile the Rust code for Android architectures
Added the compiled Rust library to the Android project's jniLibs
Created a JNI wrapper in Java/Kotlin to call the Rust logging functions
Compiled and tested the Android project with the new logging functionality

Copy link
Collaborator

@trbutler4 trbutler4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please delete and then add rust 'target' directories to .gitignore this is difficult to review right now with so many changes

@trbutler4
Copy link
Collaborator

all .so files should not be added to github

@trbutler4
Copy link
Collaborator

jniLibs directory is just in the examples/ directory

@trbutler4
Copy link
Collaborator

closing this due to no response

@trbutler4 trbutler4 closed this Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants