Getting “Caused by: java.lang.VerifyError:”

前端 未结 6 1295
时光取名叫无心
时光取名叫无心 2020-11-28 15:30

I created an android application which is used as library in another android application. I used some third party jars in the android app which acts as a library. When I lin

6条回答
  •  旧时难觅i
    2020-11-28 16:04

    The same error occurred to me, as I tried to catch the exception SQLDataException on v.8 API device as the corresponding class is not included in the v.8 API (the error did not occur in v.14 devices, where that class is included). In fact, SQLDataException.class is not present only in the android.jar of v.8 API, while it is included in the v.14 API. So I replaced the exception SQLDataException with the exception SQLException (whose SQLDataException is a subclass) and my app now runs fine on both API's devices.

提交回复
热议问题