安卓报错Cannot resolve symbol ‘HttpLoggingInterceptor’ 只需在build.gradle中引入compile ‘com.squareup.okhttp3:logging-interceptor:3.4.1’ 再重新Sync Now 然后引入就好了 import okhttp3.logging.HttpLoggingInterceptor;