Skip to Content
avatar image
Former Member

Problem creating .apk file for SAPUI5 application

Dear All,

I am facing issues while creating .apk file for my SAPUI5 application.

I have followed the below link for reference

https://blogs.sap.com/2015/01/30/creating-a-ui5-app-and-integrating-with-cordova-plugins-part-1/

I am successful upto the point where the output is "Apache Cordova Device is Ready". However after I add the contents of my SAPUI5 Webapp folder into the "www" folder and re-run the application I face the issue of only getting a blank screen.

I am unsure where exactly I have been missing anything.

The following are the softwares and their corresponding versions installed.

1) npm - 5.4.2

2) cordova - 7.0.1

3) java - 1.8.0-144 (jdk and jre)

4) Android Studio - 2.3

5) Android SDK Tools : 26.1.1

6) Android Platform Version : API 26: Android 8.0 (O) revision 2

I have questions regarding running the application

1) I use the cordova command in the below order

- cordova create helloworld com.sap.helloworld HelloWorld

- cordova platform add android

- cordova prepare

- cordova compile

- cordova build

- cordova run

2) I am not using any cordova plugins

3) I make a reference of cordova.js in the index.html file after copying the contents of webapp folder into the www folder

4) I run the following commands

- cordova build

- cordova run

and then I get blank screen

Requesting all your expertise in helping me solve this issue.

Regards

Reshma

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers