jianzhongli / MathView

A library for displaying math formula in Android apps.
Apache License 2.0
1.02k stars 192 forks source link

View is empty #57

Open bossdesmaths opened 7 years ago

bossdesmaths commented 7 years ago

Hello I'm quite beginner but I have followed installation described in Setup from local .aar file. Now I have in my build.gradle (app) : compile project(':MathView-0.0.6') The class MathView seems to be recognized in my activity (after import io.github.kexanie.library.MathView) The layout shows a webview but it indicates that : The following class could not be instantiated io.github.kexanie.library.MathView Someone could help me please ?

Aiosa commented 6 years ago

Hey,

a lot of people are having similar problem, but if you try to run emulator, it works fine. or, try this: https://github.com/owsega/MathView/commit/26b3a73789f3cb3683bd18da1aabbc419ad68c52

However: Webview -in my case- causes also plenty of errors in runtime, such as EGL: bad display... Hope somebody knows a solution...

bossdesmaths commented 6 years ago

Thanks I tried installation from a remote Maven repository and it worked...

However ;) Still have problems with choosing line breaking but it's an other issue...