Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) - PhoneGap

前端 未结 9 1025
醉话见心
醉话见心 2020-11-27 19:08

I develop Android apps now with PhoneGap. Lately when I try to switch between HTML pages, the application closed, and in the LogCat the following error appears:



        
相关标签:
9条回答
  • 2020-11-27 19:28

    use this one... options.headers = { "Connection":"close" };

    0 讨论(0)
  • 2020-11-27 19:31

    The following Google Plus post fixed my problem:

    Basically the problem is related to optical bounds in 9 patches files. In my case I was using newer 9patches copied from the Holo Theme. This new patches are invalid in older versions of android as explained in the link

    0 讨论(0)
  • 2020-11-27 19:32

    The following worked for me to get rid of the error in the webview:

    webView.freeMemory();
    

    or

    webView.clearCache(true);
    

    The second option will slow down your app.

    0 讨论(0)
提交回复
热议问题