入门DropboxAPI,没有发现类 [英] Getting started with DropboxAPI, class not found

查看:192
本文介绍了入门DropboxAPI,没有发现类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用的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.

这篇关于入门DropboxAPI,没有发现类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆