Skip to Content
avatar image
Former Member

Genarate .apk for SAPUI5 applicatión

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,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Dec 14, 2016 at 05:48 PM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 14, 2017 at 03:43 PM

    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

    Add comment
    10|10000 characters needed characters exceeded