-
Notifications
You must be signed in to change notification settings - Fork 168
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
Android distribution #54
Comments
You should add these to the gitignore as they are produced at least by android studio. (not sure if the zstd-jni.iml is a generic one)
|
Good call! I missed them |
Any feedback from using it on Android is always welcome, even if you don't have suggestions how to improve it. |
I think you can publish the android library outputs, which named AAR, to maven central. Run Android users can add it as an android library dependency, after uploaded:
Sorry for my bad english, hope this helps 😄 |
I will try this. One question, is it going to handle multiple platforms with it? Like arm32 vs aarch64? |
If I understood it correctly it would (like any android app), compile it for every Abi and include them in the aar file. Unless you have some specific magic running to make it work on android of course |
|
That's great, I will make a new release this week with it |
hi how can I compress string data between android java and node js? |
I just pushed 1.3.4-9 with an |
Hmm, for some reason, didn't shows on MavenCentral. Pushed a no-change release 1.3.4-10, hopefully it will show up. |
Might be a good idea to publish to jcenter? That's what Android uses as default. |
Good idea, I will investigate |
I have added a section in the README explaining how to add MavenCentral to the gradle/android repositories. For now will continue publishing just to MavenCentral - the release process is quite complicated and I don't want to add more overhead. |
Thanks a lot for all the help and suggestions. I am closing the issue as I think we have stable Android distribution channel now. If you find any issue with the Android support, please open a new issue. |
I have recently added Android support. Zstd-jni sources can be imported in Adroid Studio and used from Android apps. I am not familiar with the dependency management on Android and best practices for distributing libraries containing native shared objects. Any suggestions how improve over using zstd-jni as git sub-module will be highly appreciated.
The text was updated successfully, but these errors were encountered: