Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all articles
Browse latest Browse all 6147

Android application using SAP JCO to connect to CRM system

$
0
0

I'm in the mid of developing an android application, which is to connect to SAP CRM system to fetch some data.  I'm using JCO for the same.  When I run it as standalone java application (i.e. not in android platform) I can successfully fetch data.  But when I run the same as android application, I get the following error in log cat:

 

Caused by: java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: Couldn't load sapjco3 from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.example.firstapp-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example.firstapp-1, /system/lib]]]: findLibrary returned null

 

I have added the jco library in libs folder of my android project and tried several variations.  The error persists.

 

Can someone please help ?

 

Regards,

Padma


Viewing all articles
Browse latest Browse all 6147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>