简体   繁体   English

如何将soundcloud sdk集成到android应用程序中!

[英]How to integrate soundcloud sdk in android application…!

I tried googling that's cause i am found 2 methods code.google.com/p/soundcloudapi-java/ 我尝试使用Google搜索,这是我找到2种方法的原因code.google.com/p/soundcloudapi-java/

in that step-1 occurred 在那第一步

java.lang.NoClassDefFoundError: oauth.signpost.commonshttp.CommonsHttpOAuthConsumer java.lang.NoClassDefFoundError:oauth.signpost.commonshttp.CommonsHttpOAuthConsumer

i tried to found that solution but not got success anyone can help to sort out these bug...... 我试图找到解决方案,但没有成功,任何人都可以帮助解决这些错误……

am i trying to second one 我在尝试第二个吗

github.com/soundcloud/java-api-wrapper so please suggest how to use it github.com/soundcloud/java-api-wrapper,所以请建议如何使用它

Thanks in Advance...!!!! 提前致谢...!!!! i am including these library file...!!! 我包括这些库文件... !!!

I found my mistake and how to integrate the sound-cloud SDK. 我发现了我的错误以及如何集成声云SDK。

// Create a wrapper instance
ApiWrapper wrapper = new ApiWrapper("client_id", "client_secret", null, null, Env.LIVE);

Here, initialization of the ApiWrapper class pass old argument null at position of Env.LIVE* but in the new SDK it passes out Env.LIVE the parameter. 此处, ApiWrapper类的初始化在Env.LIVE*位置传递了旧参数null ,但在新的SDK中,它传递了Env.LIVE参数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM