Could someone help me with this crash report

前端 未结 2 1012
無奈伤痛
無奈伤痛 2020-12-14 11:07
Build fingerprint: \'Verizon/kltevzw/kltevzw:5.0/LRX21T/G900VVRU2BOE1:user/release-keys\'
Revision: \'14\'
ABI: \'arm\'
pid: 30968, tid: 30968, name: com.myapp >&         


        
2条回答
  •  盖世英雄少女心
    2020-12-14 11:23

    I had the same issue in jni_android.cc(295). I have a ẀebView inside a Fragment. When quickly opening and closing the Fragment, chromium WebView would cause the whole app to crash. This is what helped:

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        webView=null; // remove webView, prevent chromium to crash
    }
    

提交回复
热议问题