cancel
Showing results for 
Search instead for 
Did you mean: 

Created mobile app and deployed it in android emulator but app is not working

former_member507885
Participant
0 Kudos

Hi,

Created an app in SAP HCP and trying to make it work offline. for this I'm following the below link:

https://blogs.sap.com/2016/06/03/how-to-use-sap-hcp-mobile-service-for-sap-fiori-part-1/ and https://blogs.sap.com/2017/03/22/make-offline-app-using-sap-cp-mobile-service-for-sap-fiori-part-1/

.apk file got generated and deployed in emulator but when trying to open app it always gives message a "Please Wait" and doesn't proceed further.

testapp1.png

testapp2.png

Accepted Solutions (0)

Answers (2)

Answers (2)

Ivan-Mirisola
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Satish,

Did you connect your Android development tools (ADB) to your device via USB and monitor the application's logs?

It is a bit hard to know what's really happening on the device without reading the logs. Things could range from issues with the login procedure all the way to networking issues. Try the following blogs:

1) https://blogs.sap.com/2015/07/17/getting-started-with-kapsel-part-6-logger-sp09

2) http://geeklearning.io/apache-cordova-and-remote-debugging-on-android

3) https://blogs.sap.com/2017/08/18/how-to-debug-ui5-application-packaged-into-a-mobile-device-via-cord...

Regards,
Ivan

BWomelsdorf
Advisor
Advisor
0 Kudos

Are you using a trial account or a productive account? This looks like it's getting hung on the SAML redirect. have you tested this on a real device?

former_member507885
Participant
0 Kudos

Hi Britt,

I'm using trial account and on building the app in HCP got a QR code for which downloaded in to Android mobile device .Here app opens in browser and re-directs to HCP log in . Once logged in app is displayed. Not sure how this works for offline.

Issue is when trying to deploy into emulator nothing is happening as you see in screen shots attached.

Thanks,

Satish