【问题标题】:Android and jets3t? Library Issues安卓和jets3t?图书馆问题
【发布时间】:2012-06-22 20:23:53
【问题描述】:

我试图在我的 android 应用程序中使用 jets3t0.9.0,但遇到了 classnotfoundexceptions 和 noclassdeffounderror。我将 httpcore4.2 和 httpclient 4.2、日志记录和 commons-io jar 文件添加到构建库中。

谢谢 机器人

【问题讨论】:

  • 你有没有让这个工作?我也有类似的问题

标签: android amazon-s3 storage google-cloud-storage jets3t


【解决方案1】:

Jets3t-0.9.0 有一个重大更新,使用 httpclient 库 4.x 而不是 3.x。编译期间需要 4 个库 -

Apache Commons 日志记录 1.1.1
Apache Commons 编解码器 1.4
HttpClient 4.1.1
Java XMLBuilder 0.4

这些罐子随 jets3t 套件一起提供,您只需将它们包含在您的应用程序中。

还要粘贴一些找不到的类的名称?

【讨论】:

    【解决方案2】:

    仅供参考,最好的答案是在 Android 上使用 JetS3t。请改用 Amazon AWS 库。

    在我深入研究之后,这里有更多关于为什么的信息: https://groups.google.com/forum/?fromgroups=#!topic/jets3t-users/vCq4pwXSPN8

    【讨论】:

      猜你喜欢
      • 2011-01-26
      • 2017-08-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-10-29
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多