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

前端 未结 6 1292
时光取名叫无心
时光取名叫无心 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条回答
  •  佛祖请我去吃肉
    2020-11-28 16:10

    That can be caused by something in the jar accessing something in Java that's not in the Android SDK. Look in LogCat for the exception and it may tell you what it's missing. If you have the sources for the 3rd party jar, try including them directly into your project; that will help pin down the problem.

    You also need to run your jar file through the "dx" tool that comes with the sdk.

提交回复
热议问题