Skip to Content

How Create Android Apk of SAP Ui5 Application having google maps API inside it

Mar 08 at 12:18 PM


avatar image

HI Team,

I had some queries regarding the mobile app development.

I am creating a SAPUI5 Mobile app through android studio. First I created a normal SAPUI5 application with google maps in it using Web IDE. Then I imported the web content of SAPUI5 application in Android studio to convert it into an apk file. I was able to render google maps on my SAPUI5 Desktop app successfully.

But when I try to run the app through android studio on android emulator its shows my application launch page but map is not rendered, instead of map it shows me a blank space. I am attaching the screenshots for both Desktop & Android Emulator.

Please help me understand, if it is possible to render a google map used in an SAPUI5 application, in an android emulator/device?


Android Studio Emulator


Rahul Mantoo

desktop.png (152.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Daniel Van Leeuwen
Mar 08 at 07:46 PM

The following contains a simple example showing a map running in a Hybrid/Cordova app. Perhaps there is something there that might help.

Are you seeing any errors in the Android ADB log?


Dan van Leeuwen

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hey Daniel,

i have tried this earlier,when i put the div & Map Loading function inside index.html of sapui5 project,it loads the map,but when the div is view.xml and loading function is in the controller of SAPui5 application its does not loads it.There is no error and it executes all the steps provided in the code but still there a blankspace inspite of the map