-
Notifications
You must be signed in to change notification settings - Fork 416
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
Fix UDP recieving on Android 5.0+ #111
Conversation
Please merge the Pull Request. |
Confirmed to work as expected on my Android 5.1 device. |
This breaks kryonet when when running on an iOS device via RoboVM. |
How do i use this patch in Android Studio with Gradle? |
@CookedApps you'd have to download the source, create a new module, and add the fix. |
@anubiann00b Thanks for the reply, but i managed it by using jitpack. |
@CookedApps Could you explain to us how you did it through jitpack while we wait for this to get merged? Thanks! |
@davjhan Sorry for my late answer!
In my case i got a "multiple dex files" exception; so in this case ýou have to exclude kryo from kryonet and add it separately:
And thats it! |
@CookedApps |
I'm assuming that's because Jitpack is compiling the project and Gradle is downloading it? It shouldn't take forever to sync more than once, right? This URL works for me, even in a new browser: https://jitpack.io/#anubiann00b/kryonet/b6b71d4 |
Thank you! I got it to work, i'm guessing it was either android studio or my internet connection. Thanks! also @anubiann00b , thank you for making the branch while this bug gets fixed! |
Glad I could help! 😄 |
Does anyone have this fix in a jar file style release yet? |
Come on, this request's been waiting for 2 years |
This project is more or less dead. But you are free to fork this project and fix the bugs you want ! |
@shanejansen breaks how? Is there a workaround? |
@NathanSweet This was a while ago so I don't remember exactly. I do remember that Kryonet would no longer work on iOS via RoboVM (discontinued) after making this change. I didn't really look into it so no workaround that I know of. |
Tested it, works great on my 5.0 device. This is a fix known by the community (#106, https://groups.google.com/forum/#!topic/kryonet-users/7l436tftBlo) but for some reason is not in the codebase.