terl / hydride-java

Libhydrogen implemented in Java.
Mozilla Public License 2.0
19 stars 4 forks source link

Error Initializing Hydride in Android #1

Closed lucas2412 closed 5 years ago

lucas2412 commented 5 years ago

Hello,

I'm trying to integrate this library in my Android App but I'm not able to get it working. I added maven { url 'https://jitpack.io' } to my repository file and implementation 'com.github.libly:hydride-java:1.1.1' to my gradle dependecies.

Now when im trying to init Hydride with Hydrogen hydrogen = new Hydrogen(); im getting following error. Is there something I'm missing here?


co.libly.hydride.utils.LibraryLoadingException: Unsupported platform: Linux/aarch64
gurpreet- commented 5 years ago

HI @lucas2412,

Thank you for your comment.

So as this is a Java project and not an Android project, Hydride won't work if you add it to an Android project. I can add Android support no problem 😄but it may take some time (up to 2 weeks).

lucas2412 commented 5 years ago

Oh ok. I was wondering because in the description it says that Android 16 and above is supported. It would be really nice if you add Android support since I found no other lib that offers libhydrogen functionality for Android.

gurpreet- commented 5 years ago

Sure, I'll get working on it right away 👍

lucas2412 commented 5 years ago

Hey, did you already make some progress? Thank you :)

gurpreet- commented 5 years ago

Hi @lucas2412,

Yes I have made a lot of progress. I have successfully created Hydride for Android: https://github.com/libly/hydride-android

It is a very new library and I got some more work to do on it like adding tests and testing it on various devices. But I think it should work! Let me know if it works for you 😄

lucas2412 commented 5 years ago

Thanks a lot. I will try it out on monday and let you know if it works!

gurpreet- commented 5 years ago

I assume this worked for you @lucas2412. Closing.