Dropbox SDK 3.1.1版,2014年10月10日更新
并放
armeabi,armeabi-v7a,mips,x86,dropbox-sync-sdk-android.jar
FOLDER TO LIBS FOLDER
也完成了
PROJECT PROPERTIS - > JavaBuild路径 - >添加jar - >收存箱同步-SDK-的android.jar
也完成了
PROJECT PROPERTIS - > JavaBuild路径 - >订单和出口 - > TICK MARK在dropbox-sync-sdk-android.jar
上但是在运行时遇到错误
10-17 17:08:20.112: E/AndroidRuntime(5199): FATAL EXCEPTION: main
10-17 17:08:20.112: E/AndroidRuntime(5199): Process: com.dropbox.sample.hellodropbox, PID: 5199
10-17 17:08:20.112: E/AndroidRuntime(5199): java.lang.NoClassDefFoundError: com.dropbox.sync.android.DbxAccountManager
10-17 17:08:20.112: E/AndroidRuntime(5199): at com.dropbox.sample.hellodropbox.HelloDropboxActivity.onCreate(HelloDropboxActivity.java:44)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.app.Activity.performCreate(Activity.java:5403)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2270)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2396)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.app.ActivityThread.access$800(ActivityThread.java:139)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.os.Handler.dispatchMessage(Handler.java:102)
10-17 17:08:20.112: E/AndroidRuntime(5199): at android.os.Looper.loop(Looper.java:149)
答案 0 :(得分:-1)
从“dropbox-android-sync-sdk”
添加完整的“Lib /”文件夹