unum-cloud / usearch

Fast Open-Source Search & Clustering engine ร— for Vectors & ๐Ÿ”œ Strings ร— in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram ๐Ÿ”
https://unum-cloud.github.io/usearch/
Apache License 2.0
2.15k stars 130 forks source link

Feature: Android port #278

Open Pflanzmann opened 1 year ago

Pflanzmann commented 1 year ago

Describe what you are looking for

A port of this library for Android using Gradle in Java or Kotlin. I tried using the Java library for this, but it doesn't seem to work. This issue also confirms this.

Can you contribute to the implementation?

Is your feature request specific to a certain interface?

Other

Contact Details

-

Is there an existing issue for this?

Code of Conduct

ashvardanian commented 1 year ago

Hello, @Pflanzmann! Thanks for the request! Unfortunately, I donโ€™t have an Android device and have never made Kotlin bindings, so I am not sure how long the implementation would take. I can look into this in a couple of weeks. Do you know someone who can help with this issue?

ashvardanian commented 11 months ago

@Pflanzmann and @ChaosCoder, I've now finally pushed a release to the Maven Central Repository, and will check for ways to compile for Android.

0xcodedead commented 7 months ago

@ashvardanian

I checked the so file of maven 2.8.12 and it only provides x86_64. For android, you need to provide arm64-v8a as well to fully work on android devices.

ashvardanian commented 7 months ago

Sure, @0xcodedead , but how do we update the build scripts for that?