I am trying to implement DropboxSync
API in my existing Android Application.
I have downloaded the DropboxSync
API and copied all the libs in
Check out the 3rd and 4th point. Give 2 minutes of look on those two.
- Within Android Studio, switch to the "project view".
- From the libs directory in the downloaded SDK, drag dropbox-sync-sdk-android.jar into your project's app/libs directory.
- Right-click on dropbox-sync-sdk-android.jar and choose "Add as library". Click "OK" on the dialog that appears.
- Make a new directory in your project under app/src/main called jniLibs. From the SDK, drag armeabi, armeabi-v7a, mips, and x86 into the new jniLibs directory.
libDropboxSync.so
was missing in armeabi-v7a
folder under the libs
directory.
I copied libDropboxSync.so
from armeabi-v7
folder to armeabi-v7a
folder under the libs
directory, and the library was loaded successfully.
Since i am using Google-Nexus-7
2nd generation for debugging, therefore the DropboxSync
library in armeabi-v7a
folder was a must.
found a aolution in some google group compress this to a zip file: lib/armeabi/libDropboxSync.so
** pay attention! it has to be 'lib' and not 'libs' **
now, rename the 'lib.zip' file to 'armeabi.jar' and add it to the 'libs' directory of your module (where the dropbox jar is in) all the other 'solutions' i found online didn't help except this one.
do it for every environment you need such as armeabi-v7 etc.