1、Android vivo4.4版本对okhttp包兼容问题,报错:java.lang.ExceptionInInitializerError;
解决:原来的依赖为: implementation 'com.squareup.okhttp3:okhttp:4.0.1',调整为:implementation 'com.squareup.okhttp3:okhttp:3.12.0';
兼容问题,迎刃而解
1、Android vivo4.4版本对okhttp包兼容问题,报错:java.lang.ExceptionInInitializerError;
解决:原来的依赖为: implementation 'com.squareup.okhttp3:okhttp:4.0.1',调整为:implementation 'com.squareup.okhttp3:okhttp:3.12.0';
兼容问题,迎刃而解