android - Can't compile okhttp with jack enabled -


my project working great decided enable jack, after got following error:

the type com.squareup.okhttp.okhttpclient cannot found in source files, imported jack libs or classpath.

i'm using build tools 25.0.1 , gradle dependencies are:

compile 'com.squareup.retrofit2:retrofit:2.1.0' compile 'com.squareup.retrofit2:converter-gson:2.1.0' compile 'com.squareup.okhttp3:okhttp:3.5.0' compile 'com.squareup.okhttp3:logging-interceptor:3.5.0' 

please note if disable again jack project works.


Comments

Popular posts from this blog

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -