cancel
Showing results for 
Search instead for 
Did you mean: 

Open Offline OData Store Android

Former Member
0 Kudos

Hey Experts,

one more Question i am trying to convert some Online Stores of my application in too Offline Stores.

So when i am Trying to initalise the Offline Store global with "OfflineODataStore.globalInit();" the app collaps.

I've steped into the globalInit method and find out that the app Collaps at the function "System.loadLibrary("odataofflinejni");",

because of this i think there is some problem with my libarys so i will atach some screenshots under this.

Regards,

Dominik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

So I got it. If you try to call ODataOfflineStore.globalInit(); delet this, it trys to load the libary out of the wrong path which is created on initalise without contex. So you only need to call offlineStore = new ODataOfflineStore(context) to initialise the Store.
And it will finaly load the libary correct. I am using second Configuration which is working well after finguring out how to initialise.

Hope this will works for you too.

Regards,

Dominik

Answers (0)