Skip to Content
author's profile photo Former Member
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

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 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.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.