I'm new to javascript and android and I want to program a multi page app with SAPUI5. For this I found a tutorial: https://sapui5.hana.ondemand.com/sdk/#docs/guide/df86bfbeab0645e5b764ffa488ed57dc.html which works fine, up to Walk through - Step 8. I have exactly the same source code in my project, but it doesn't work. I get following errors:
E/Zygote: MountEmulatedStorage()
E/Zygote: v2
E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
E/SysUtils: ApplicationContext is null in ApplicationStatus
E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)
E/AndroidProtocolHandler: Unable to open asset URL: file:///android_asset/i18n/i18n_de_DE.properties
I know the first and the second, but I don't find information for the rest.
Does anybody know where they come from and how to solve it?
Answere:
I don't know what the problem actually was. I tried with the SDK-versions and get many many gradle errors. After I solved it, I used the code out of Step 7 an added only the yellow colored lines and delete what was to delete.
Not related to sapui
Don't know whether it will help others or not.
I've got this error when I was trying to open a pdf file in webview
by using google docs.
I've changed
webView.loadUrl(url);
to
webView.loadUrl("http://docs.google.com/gview?embedded=true&url=" + url);
and it worked.