com.cloudinary.http43.UploadStrategies在cloudinary_java jar中找不到

时间:2015-08-21 19:39:29

标签: java android maven cloudinary

当我尝试使用以下代码创建Cloudinary连接时:

 cloudinary = new Cloudinary("cloudinary URL");

这是一个例外:

   java.lang.UnknownError: Can't find Cloudinary platform adapter    [com.cloudinary.android.UploaderStrategy,com.cloudinary.http42.UploaderStrategy   ,com.cloudinary.http43.UploaderStrategy]

我已经为com.cloudinary.android.UploaderStrategy和com.cloudinary.http42.UploaderStrategy添加了库,但我找不到com.cloudinary.http43.UploaderStrategy的任何库,我还搜索了Cloudinary Maven的存储库,但它是不在那里。从哪里可以找到com.cloudinary.http43.UploaderStrategy的库?

1 个答案:

答案 0 :(得分:2)

您应该只加载其中一个策略,而不是所有策略。见:http://cloudinary.com/documentation/java_integration#java_library_features

所有JAR文件也可在Maven上使用:http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.cloudinary%22

如果问题仍然存在,请告诉我们。