App crashing on Android API less than 5.0(lollipop)

前端 未结 4 1301
一整个雨季
一整个雨季 2021-01-12 23:38

The problem I am facing is that my android application works well on devices having API 5.0 and above but crashes on devices having Kitkat(4.4) and its corresponding lower v

4条回答
  •  独厮守ぢ
    2021-01-12 23:49

    This might not be relevant to the particular scenario but as the heading of the question relates to the problem I encountered and the reason I came across this question. So I am answering it here. I encountered an issue similar to this, but in my case extending multidexapplication, and enabling multidex weren't doing the job. I ended up using a plugin for counting methods in my project. By using that I realised that I am no way near the 65K limit and the bug is related to something else. I found this page where they someone had talked about disabling instant-run from Settings, which actually did the job for me. Now I am not using the multi-dex library and the builds are faster as well. If I encounter the issue again, I will update the answer accordingly.

提交回复
热议问题