Skip to Content
0

Genarate .apk for SAPUI5 applicatión

Dec 14, 2016 at 03:49 PM

79

avatar image
Former Member

Hello, How can I generate an apk from a sapui5 application with phonegap? I have seen tutorials, but I find this outdated. Does anyone have any information regarding this?

thanks,

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Jun Wu Dec 14, 2016 at 05:48 PM
0

just put the ui5 app and lib in www folder, what else u need?

Share
10 |10000 characters needed characters left characters exceeded
Arthur Silva Apr 14, 2017 at 03:43 PM
0

Hello Julio,

Check for HAT - Hybrid Application Toolkit. It's a SAP tool which works in parallel with SAP Web IDE (cloud version).

After HAT installation finished, deploy your project to your local HAT instance (right-click on the project>deploy>Hybrid App Toolkit). With the project in deployed on your computer, download cordova from npm and execute below statement in command line in the project folder /hybrid/:

cordova build

When building finish, apk might be found in:

using ant-build:

<project>/platforms/android/ant-build/outputs/<something>-release-unsingned.apk

using gradle-build:

<project>/platforms/android/build/outputs/<something>-release-unsingned.apk

More details in @SIMMACO FERRIERO blog's:
https://blogs.sap.com/2015/08/25/how-to-use-hat-hybrid-application-toolkit-and-test-the-apps/

Regards,
Arthur Silva

Share
10 |10000 characters needed characters left characters exceeded