Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

后端 未结 11 1330
粉色の甜心
粉色の甜心 2020-12-14 09:54

I tried using OkHttp and Picasso (following this answer) for disk caching of images that I was downloading from Firebase storage. Now, the app gives exceptions and crashes.

11条回答
  •  攒了一身酷
    2020-12-14 11:01

    In Android Studio 2.3 and higher, There is Instant Run which may affect your code.

    Disable Instant Run

    File -> Settings -> Build, Execution, Deployment -> Instant Run

    In my case it was working perfect when run from Android Studio but crashing when install from other sources

提交回复
热议问题