Skip to content
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

Sample : Host name may not be null #13

Open
meltaran777 opened this issue Mar 12, 2018 · 0 comments
Open

Sample : Host name may not be null #13

meltaran777 opened this issue Mar 12, 2018 · 0 comments

Comments

@meltaran777
Copy link

When I am trying to use your sample app and play radio i get ERROR

Exception occured java.lang.IllegalArgumentException java.lang.IllegalArgumentException: Host name may not be null at org.apache.http.HttpHost.<init>(HttpHost.java:88) at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:529) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:519) at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:497) at com.deezer.sdk.player.impl.HipHop.accordion(Unknown Source) at com.deezer.sdk.player.impl.HipHop.accordion(Unknown Source) at com.deezer.sdk.player.impl.HipHop.accordion(Unknown Source) at com.deezer.sdk.player.impl.HipHop$Blues.run(Unknown Source) at java.lang.Thread.run(Thread.java:818)

mDeezerConnect = new DeezerConnect(this, SAMPLE_APP_ID);
 mRadioPlayer = new RadioPlayer(getApplication(), mDeezerConnect,
                    new WifiAndMobileNetworkStateChecker());
mRadioPlayer.playRadio(RadioType.RADIO, radio.getId()); // <-- in this plaсе error occured
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant