Dropbox Sync API - Unsatisfied Link Error

后端 未结 3 1994
暖寄归人
暖寄归人 2020-12-06 17:46

I am trying to implement DropboxSync API in my existing Android Application.
I have downloaded the DropboxSync API and copied all the libs in

相关标签:
3条回答
  • 2020-12-06 18:15

    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.
    0 讨论(0)
  • 2020-12-06 18:28

    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.

    0 讨论(0)
  • 2020-12-06 18:37

    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.

    0 讨论(0)
提交回复
热议问题