cancel
Showing results for 
Search instead for 
Did you mean: 

How to load SAP UI 5 libraries in Cordova android build?

Former Member
0 Kudos

Hello all,

   I am trying to wrap my SAP UI 5 app with cordova to build an android app. My UI5 app is working fine when not wrapped with cordova. I have configured cordova successfully and I am able to see the cordova start screen in android. But I am unable to see UI5 controls in my android device. I am constantly getting an error in the logcat of eclipse (android configured). the error snapshot and my directory structure is attached. appreciate your positive response.

My directory structure of android project in eclipse is as follows:

Accepted Solutions (0)

Answers (1)

Answers (1)

rikesh_subedi
Member
0 Kudos

Hi Osama, I too got the same issue when I included the resource folder. I manually added those necessary files to supress the issues. I downloaded the file from a running SAP UI5 web app.

It is a JSON file with following content:

{

"version":"2.0",

"name":"sap.me.library-preload",

"dependencies":["sap.ui.core.library-preload"],

"modules":{

          //some modules were here

  }

}