on 2017 Feb 13 3:51 PM
Hi everyone!
I am trying to power my application with Kapsel Offline OData plugin. When running the application on my android device I get an error when trying to open the store. This is the error message: "Failed to open offline store: [-10180] A communication error has occured. Reason: -1305 (MOBILINK_COMMUNICATIONS_ERROR) error 224 (libmlcrsa17.so) (system code 0)".
This was my setup:
I have also created a project from the Kapsel Master Detail Offline and the same error occurs.
Can you guys help me solve this issue?
Regards,
Luis
Make sure you are using an ARM based emulator not x86. For testing on device maybe you didn't enable usb debugging? Looks like 3.0 SP14 PL04 is the most up to date SDK.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try updating your SDK, I'm testing with 3.0.14.1.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
On sap store, the latest version I have access is 3.0.14.0.
What are the android versions supported? I am trying with different configurations on the emulator but still no success. These are my currently emulator configurations
I ran the application on my android phone and I did not get any error and the app started but with no data. When using the emulator I still get the error.. my problem is I can't debug the application using my phone as it is not recognized.
I have also updated HAT to version 1.24.1 and Cordova to version 6.3.1 (the supported version for this version of HAT).
Regards,
Luis
What version of the sdk are you using? See
https://launchpad.support.sap.com/#/notes/0002385553
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have installed
I also tried to follow this blog post to test if I was able to create a template application that I could use to compare with my application but the error is still there. No matter the application, I always get that same error.
Thanks,
Luis
Does the app work when offline is not enabled? Do you have the plugins device information and network connection enabled? How do you have the defining request defined? What errors do you see in hcpms? Are you using an arm based emulator, x86 may not work? See
https://blogs.sap.com/2014/09/15/getting-started-with-kapsel-part-15-offline-odata-new-in-sp05/
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamie!
The emulator is arm based and I have all the plugins selected. I am trying with just one request defined like this on my manifest:
"sap.mobile": {
"_version": "1.1.0",
"definingRequests": {
"DOCUM_SD_DEC_FMSet": {
"dataSource": "mainService",
"path": "/DOCUM_SD_DEC_FMSet"
}
}
}
Without the offline the application is working. Nevertheless there are a few details:
[endpoint]
name=rte.sap.fiori.decapagem
prepopulate_offline_db=Y
prepopulate_offline_db_interval=1440
[defining_request]
name=DOCUM_SD_DEC_FMSet
request=null
track_deltas=NEVER
is_shared_data=Y
refresh_interval=1440
delta_token_lifetime=0
(hybrid-toolkit) Get project zip encountered error: Cannot read property 'settings' of undefined
(hybrid-toolkit) The local deploy command execute failure reason: Cannot read property 'settings' of undefined at step apply boostrap & configuration
On HCPms I got this log for Offline (http://pastebin.com/MvNBdjUi). I see that the offline configurations were found and that the request was "Successfully completed". But also, at the beginning it say "unmatched handlerServiceName jaxrsOfflineConfigurationService". I am not sure what does that means.
What do you suggest me to try? I have already read the link you gave me but the code that I needed to see is not available. All the links to the different index.html files are broken.
This may be related to the absolutes paths you defined for your datasources in the manifest. Try making them relative.
Regards,
Jamie
SAP - Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is my data sources in the manifest. I'm using relative paths. I am able to access the data when previewing on the browser.
"dataSources": { "Z_FIORI_SRV": { "uri": "/sap/opu/odata/sap/Z_FIORI_SRV/", "type": "OData", "settings": { "odataVersion": "2.0", "localUri": "localService/Z_FIORI_SRV/metadata.xml" } } }
User | Count |
---|---|
77 | |
11 | |
10 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.