Okhttputils has always been used in network requests. Recently, gradle was upgraded from 3.2.1 to 4.2.0. The running project reported an error (call could not be found).
Android studio usage:
Gradle plug-in version: 3.2.1
Required version of gradle: 4.8.1
Gradle plug-in version: 4.2.0
Required version of gradle: 6.7.1
Error: package okhttp3 does not exist
New: implementation ‘com. Squareup. Okhttp3: okhttp: 4.9.1’
I don’t know if there will be problems later. I feel that I still need to change a set of framework. After all, Hongshen has stopped maintenance.
- Solve the problem of available for offline mode in Android studio compilation
- Some processing experiences of failed to notify build listener
- Errorjava.lang.NullPointerException(no error message)
- ERROR: Unsupported method: AndroidProject.getVariantNames().
- Error: package android.support.annotation Does not exist
- ERROR Unsupported method AndroidProject.getVariantNames().
- Android studio error Error:Could not Determine java version from ‘9.0.4’
- How to Fix Android Error:This Gradle plugin requires Studio 3.0 minimum
- Solve gradle project refresh failed
- Add a warehouse in allprojects repositories and report an error
- AndroidStudio sync failed solution
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- The binary version of its metadata is 1.5.1, expected version is 1.1.16
- Re installing Android studio always fails to install SDK when installing software (solution)
- Failed to find target with hash string ‘android-25’ in:D:\SDK
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- Execution failed for task ‘:app:processDebugManifest’
- Gradle tasks disappeared after upgrading Android stuido 4.2?
- [Solved] Resource style/Theme.AppCompat.Light.NoActionBar failed linking
- As Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.