Skip to Content
author's profile photo Former Member
Former Member

OfflineStore jni Resources in Android Studio Project

Hi there,

I followed Claudia's Guide Getting Started with the Offline Store for Android

but I have problems to include the nessecary .so files.

I'm using Android Studio and gradle. Executing the app runs into:

Caused by: java.lang.UnsatisfiedLinkError: Couldn't load odataofflinejni: findLibrary returned null for ODataOfflineStore.globalInit(); in OpenOfflineStore Method.

How do I import the .so files into my Android Studio Project?

Thanks in advance,

Mirco

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Jul 01, 2015 at 01:12 PM

    Hi Mirco,

    Did you get a chance to go through this guide which talks about importing the jar files to Android studio: How To... Setup MAF resources in Android Studio

    Regards,Midhun

    SAP Technology RIG

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Midhun,

      thanks for your quick response. I followed this guide in the past but I copied all libs including x86 etc into the jniLibs folder. After deleting all unused folders and .so files everything works fine.

      So thank you for the hint to review my jniLibs folder 😉

      Greetings,

      Mirco

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2016 at 10:58 AM

    This message was moderated.


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.