Home>
  • I want to make an API call from an Android application
What I tried
  • I try to introduce it because okhttp is popular
  • Write the following in build.gradle
    implementation'com.squareup.okhttp3:okhttp:4.3.1'
Current status
  • import okhttp.OkHttpClient;

Even if you do, you cannot import Cannot resolve symbol'okhttp'.

Question

Is there anything I should check?