Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

金山直播跟okgo,okhttp3都有冲突 #198

Closed
shanyaodan opened this issue Jul 12, 2017 · 2 comments
Closed

金山直播跟okgo,okhttp3都有冲突 #198

shanyaodan opened this issue Jul 12, 2017 · 2 comments

Comments

@shanyaodan
Copy link

代码
OkGo.getInstance().setCertificates(getAssets().open("cert.cer")).debug("Debug");
报错
ava.lang.NoClassDefFoundError: okhttp3.internal.tls.OkHostnameVerifier

代码
OkGo.get(API.getContext)
.headers("xxxx", xxxxx)
.headers("xxxxxx", "xxxxxx")
.execute(callback);
报错
java.lang.NoClassDefFoundError: com/lzy/okgo/OkGo$OkGoHolder

手机 小米3电信版
mui android4.4 开发版

@shanyaodan
Copy link
Author

compile 'com.lzy.net:okgo:2.1.4'

@shanyaodan
Copy link
Author

bug 已解决,是方法超过64k了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant