-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebView errors #11
Comments
@Aiosa Still now no idea on why this happening. I will have a look into the code and update you on the same by 10 AM IST tmrw. |
@lingarajsankaravelu thanks a lot, I also tried kexanie's MathView, also based on webview and got the same errors. What if some Android Studio settings or version causes those errors? Or maybe some android version, on my phone it works like charm, but on my friend's phone it crashes every time. I have android 7 MIUI (xiaomi version), IDK what he has, but I can ask him.. Also, simply adding mathView into some XML file causes similar problem while rendering view, as described there both your and kexanie MathViews - same problems (although my emulator displays it correctly) Main build.grandle:
Local grandle:
If you need any additional info, just tell me. PS: maybe some minor lead.. NO DRP KEY from stack overflow |
Ok, tried once more, just adding simple webView inside activity caused all the errors as well. Idk why, last time I used webView everything worked just fine so I thought webview is OK, but trying out my old webview suddenly caused all the errors too, even though it was OK at times.
But other errors are remaining... Do you know why? All that changed was updating A Studio a bit, and now everything causes plenty of errors, even running simple examples (e.g. https://www.mkyong.com/android/android-webview-example/) - which should be fine.. But still, this doesn't apply for XML render error, that one are having many people even with kexanie MathView... Seems nobody knows a solution for this one... |
Please update to Android Studio v3, I also had a lot of errors when I was trying to use either of these libs on older version. |
Ok, thanks. I already installed it - now need to solve all new errors with crossing from v2 to v3 (I have ASCI chars in my paths to grandle etc..). Still, why this app while trying to show MathView on my friend's phone shuts itself down? Shouldn't be based on my version of AndoidStudio, what's more, normally it displays you option to send errors to developer as a report, but this time nothing shows up. I will try it once again with new version and update you about it... |
@Aiosa sure, at least that fixed an issue for me. |
Finally managed to run everything - now I have one instead of two EGL_BAD_DISPLAY, and nice flow of W/art:
And XML layout error still persists.. ... though all the java errors are because of WebView itself, so it shouldn't be MathView problem, however that XML error is a different matter. (
) |
Probably you are using old library's version or there is something else wrong, I can't replicate this |
I think the errors which the webview were throwing is mostly because of the emulator. When i try to debug and fix the issue. it was showing these errors in some emulators were host CPU/GPU is enabled and in real devices it never throw any errors. I have enabled hardware acceleration for the view for time being. |
Hi again,
this Webview is having a lot of errors, simply by launching it. Even with try-out code from either "Adding to your XML Layout" or "Adding at runtime". Just adding this into app causes:
Any ideas?
Thanks
The text was updated successfully, but these errors were encountered: