入门DropboxAPI,没有发现类

人气:1,046 发布:2022-09-11 标签: java android dropbox

问题描述

我想使用的Dropbox API的第一次,但我启动我的应用程序时收到此错误。

I'm trying to use the Dropbox API for the first time, but i'm getting this error when launching my app.

Caused by: java.lang.NoClassDefFoundError: com.dropbox.client2.session.Session$AccessType

我看到了Dropbox的论坛上同样的问题一个人,而解决办法是重命名类路径库/而不是LIB /。我做到了,没有工作。

I saw on Dropbox forums a guy with the same problem, and the solution was to rename the class path to libs/ instead of lib/. I did it and didn't work.

我在这里得到了错误:

final static private AccessType ACCESS_TYPE = AccessType.APP_FOLDER;

什么想法?

any ideas?

推荐答案

我的错误,问题是CLASSPATH。

My mistake, the problem was the classPath.

494