GithubHelp home page GithubHelp logo

App is crashing about flutter_tex HOT 5 OPEN

iShriyansh avatar iShriyansh commented on July 20, 2024
App is crashing

from flutter_tex.

Comments (5)

pleasehelpalex avatar pleasehelpalex commented on July 20, 2024 3

@faisal-kabir
Thanks for your effort! It seems to be working now. The latex text is rendering fine in both iOS (iphone 13 simulator) and android physical device.

On android, even though it is working, i get the following errors. I don't really understand why I'm getting chromium errors when running on Android. I thought that was for web!

E/chromium(14635): [ERROR:simple_file_enumerator.cc(21)] opendir /data/user/0/com.example.alg/cache/WebView/Default/HTTP Cache/Code Cache/js: No such file or directory (2)
E/chromium(14635): [ERROR:simple_index_file.cc(617)] Could not reconstruct index from disk
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/0e6370e7-8da5-45a5-bed2-d28491f3b4a0: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/98f140c6-a8ce-49c4-b40a-c1d380e91098: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/9a14e424-724a-40c0-9258-90286b9d357c: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/a12add84-4741-4fba-8da8-579f0dbc0d1a: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/fda0808f-c2cf-4993-809e-ecbd3e09100e: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/e167b5b4-1ae7-425e-b8c5-a42875cfff7c: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/80ca2d82-ae44-4970-aa53-e6329aa230d1: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/f28c9af3-f5d6-4f3a-9dc2-405a39b36e0d: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/344d78f8-15a2-4750-b893-15c0bcadd956: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/fa25dc39-2cc9-4386-b4bd-5ea44fa13042: No such file or directory (2)
E/chromium(14635): [ERROR:directory_reader_posix.cc(42)] opendir /data/user/0/com.example.alg/cache/WebView/Crashpad/attachments/7203625a-060f-485f-9a4f-891a92fd2ba4: No such file or directory (2)
I/flutter (14635): Error: Unable to load asset: favicon.ico
2
I/flutter (14635): Error: Unable to load asset: favicon.ico
2
I/flutter (14635): Error: Unable to load asset: favicon.ico
4
I/flutter (14635): Error: Unable to load asset: favicon.ico

Once again thanks a lot!
Alex

from flutter_tex.

faisal-kabir avatar faisal-kabir commented on July 20, 2024

@iShriyansh
#temp_solution

flutter_tex:
    git:
      url: https://github.com/faisal-kabir/math_text.git
      ref: master
  You can use it.
  This is my repo, I solved this issue.

from flutter_tex.

pleasehelpalex avatar pleasehelpalex commented on July 20, 2024

Hi... Everything is working great on iOS simulator. On android physical device I was also experiencing crashing. I have adopted the temp solution @faisal-kabir proposed on his repo (thanks!). That version doesn't crash, but it doesn't render the formulas either (I only see ---- instead of the rendered formula).

Once again, everything is working great on iphone!

On android the error is
E/flutter (19780): [ERROR:flutter/fml/platform/android/jni_util.cc(204)] java.lang.IllegalStateException: Platform view hasn't been initialized from the platform view channel.

from flutter_tex.

faisal-kabir avatar faisal-kabir commented on July 20, 2024

@pleasehelpalex
Thanks to find the issue.
I solve the issue and pushed code on Github.
Please run 'flutter pub upgrade' on your project terminal then check and let me know if the problem is solved or not.

from flutter_tex.

adesolaadegboye avatar adesolaadegboye commented on July 20, 2024

Thanks @faisal-kabir

from flutter_tex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.