-
Notifications
You must be signed in to change notification settings - Fork 21
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
Exception on initialize #52
Comments
I ran a quick test and was able to connect using your example. The default values for connecting are localhost host using port 6600. Are you able to telnet to localhost over port 6600? |
Thank you for reply! |
The exception is thrown at MPD.java:186 This is a Guice exception but I can't find out the reason. |
Here is stack trace: |
this might be an issue with android and Guice 3. I'm not familiar with android development so I'm not sure how hard it would be for you to try upgrading Guice to 4. |
I tried to use your library for android but I've got an error at MPD class init: com.google.inject.internal.cglib.core.$MethodWrapper$MethodWrapperKey$$$KeyFactoryByCGLIB$$e23ecb5d
Here's code
try { MPD mpd = new MPD.Builder().build(); } catch (Exception error) { String text = error.getMessage(); Toast.makeText(this, "Exception: " + text, Toast.LENGTH_LONG).show(); }
I've tried to compile with graddle
compile 'net.thejavashop:javampd:5.0.3'
for android SDK version 22 java 7.
I'm new at android development.
Please lead me if this is not a bug and I do something wrong.
The text was updated successfully, but these errors were encountered: