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

com.cloudinary.http43.UploadStrategies not found in cloudinary_java jar

当我尝试使用以下代码创建 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?

的库

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

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

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