Skip to content
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

Problem while running on Android API 23 or lower #1

Closed
f2acode opened this issue Mar 16, 2019 · 5 comments
Closed

Problem while running on Android API 23 or lower #1

f2acode opened this issue Mar 16, 2019 · 5 comments

Comments

@f2acode
Copy link

f2acode commented Mar 16, 2019

I'm getting the following error:

[INFO:CONSOLE(49)] "Uncaught TypeError: Cannot read property 'get' of undefined", source: http://localhost:8080/packages/flutter_tex/MathJax/index.html?data=%0A%20%20%3Cp%3E%0A%0A%20%20%20%20A%20simple%20Example%20to%20render%20%5C(%20%5Crm%5C%5CTeX%20%5C)%20in%20flutter%3Cbr%3E%0A%0A%20%20%20%20%3Cstyle%3E%0A%20%20%20%20%20%20.card%20%7B%0A%20%20%20%20%20%20%20%20

If I run on physical device I don't receive that error.

I also receive the following message after the main error:

W/art ( 1753): Attempt to remove non-JNI local reference, dumping thread

Flutter 1.2.0
Genymotion Google Nexus 5 - Android API 6.0

@shah-xad
Copy link
Owner

Is it working fine on physical device and android emulator?

@f2acode
Copy link
Author

f2acode commented Mar 16, 2019

I made more tests, it's not working on Android API 23 or lower, on both Android and Genymotion simulators, then it's not related just to Genymotion, but to Android APIs

It's probably working on physical device because I have an API higher than 23.

@f2acode f2acode changed the title Problem while running on Genymotion emulator Problem while running on Android API 23 or lower Mar 16, 2019
@Valkyrz
Copy link

Valkyrz commented Mar 16, 2019

I think I'm having a similar issue, the sample code runs fine on my emulator since its API 28 irrc but for my physical device, it runs Kitkat 4.4.2 and I get this line:

"E/PlatformViewsController(15419): Trying to use platform views with API 19, required API level is: 20"

I'm still pretty new to mobile development, more so with flutter but I'll be looking up a way around this. On my physical phone its doesn't display the formulas just the appBar with title. Any ideas or advice on how to work on this are heavily appreciated it!

@shah-xad
Copy link
Owner

Please check latest update of the package the issue has been solved.

@f2acode
Copy link
Author

f2acode commented Mar 20, 2019

Tested here on Android API 21, it's working now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants