-
Notifications
You must be signed in to change notification settings - Fork 46
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 support #19
Comments
I forked this repository, removed tyrus and added a lightweight websocket library which works on android (link). I removed the tests because I was too lazy to modify them. It's more like a hotfix - but it works. |
Nice! Did not tried it yet but I was about to do the same. Anyway thanks for the work 👍 |
I fixed here , neither fix the test case, so no pull request made, it works on my android device |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately the library does not work with android. I have investigated this issue a bit and noticed that project tyrus v1.2.1 is used. This version uses some classes which are not part of the android-java (core) libraries (for example javax.naming.InitialContext).
Just loading the missing libraries to the android core libraries does not simply work and results in alot of pain with the dalvik compiler.
By using tyrus v1.5 this issue seems to be resolved (https://java.net/jira/browse/TYRUS-256).
Just changing the maven dependency to use the newer tyrus version is not working, too since the api seems to have changed a bit.
The text was updated successfully, but these errors were encountered: