Dropbox Sync API - Unsatisfied Link Error

时光怂恿深爱的人放手 提交于 2019-11-28 01:02:32

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.

Check out the 3rd and 4th point. Give 2 minutes of look on those two.

  1. Within Android Studio, switch to the "project view".
  2. From the libs directory in the downloaded SDK, drag dropbox-sync-sdk-android.jar into your project's app/libs directory.
  3. Right-click on dropbox-sync-sdk-android.jar and choose "Add as library". Click "OK" on the dialog that appears.
  4. 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.

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!