Android JSOUP ExceptionInInitializerError

后端 未结 4 1827
清酒与你
清酒与你 2021-02-15 23:53

I updated my dex classes with amigo library (it\'s changing one apk for another apk with the same key and signature, all is working except JSOUP)

Error:

4条回答
  •  南笙
    南笙 (楼主)
    2021-02-16 00:33

    in my case, my problem is solved by turning minifyEnabled to false in the app's build.gradle, this will keep all classes in the final release apk.

    android {
    ....
        buildTypes {
    ...
            release {
                minifyEnabled false
    
            }
        }
    }
    

提交回复
热议问题