Skip to Content

SAPUI5 Application not working in WebView

Jul 05, 2017 at 08:01 PM


avatar image


we deployed our SAPUI5 application successfully to the HCP and it works fine in every major browser. It seems that there are some problem when opening the URL in a WebView in Android though.

We get this error message in the logcat:

"Uncaught Error: failed to load 'example/sj/Component.js' from ./Component.js: 404 - Not Found", source: (175)

We are using a Component-preload.js to combine all the necessary files to a single request and this also does work fine if we open the URL in the browser but somehow this does not work inside the WebView? Is there something we need to be doing?

Thanks in advance!

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

1 Answer

Tobias Kammerer Jul 08, 2017 at 11:39 AM

Problem still persists. Our current "fix" is that we provide all the files the WebView tries to load.

10 |10000 characters needed characters left characters exceeded