reprint please indicate the source: p>
http://blog.csdn.net/aa464971/article/details/68948650
anomaly full text
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
> Could not resolve com.squareup.okhttp3:okhttp:3.5.0.
Required by:
retrofit-rxjava-okhttp:app:unspecified > com.squareup.retrofit2:retrofit:2.1.0
> No cached version of com.squareup.okhttp3:okhttp:3.5.0 available for offline mode.
solution h3>
screenshot is version 2.2
Settings – Build. Execution, Deployment – Gradle – uncheck the Offline Work, recompile.
Read More:
- Solve the problem of installing APK after Android studio compilation: error while installing apk
- Idea ignores compilation errors and runs in eclipse compilation mode
- Android studio compilation error: style attribute ‘@ android:attr/windowEnterAnimation ‘not found the ultimate solution
- [error record] as compilation error (Android support plugin version is too high | upgrade Android studio to the latest version)
- Solve Android studio connection dl.google.com Timeout problem
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- Package pdftex.def Error: PDF mode expected, but DVI mode detected!_ mdpi_ Templatex compilation error in winedt
- [problem record] installed build tools revision 31.0.0 is broken during Android studio compilation
- Solve the problem of USB mouse failure in the laptop mode of Ubuntu
- Android studio simulator architecture choose arm or x86 to solve the problem of missing libraryexception
- Failed in Android compilation: solution to setup Jack server problem
- The problem of MAC switching JDK version and RN Android JDK version leads to compilation failure. Solve it
- Solve the problem of flash back in Visual Studio 2010
- Android 8.1 compilation error Jack server problem
- Error in Cordova project execution command after Android studio upgrade: could not find gradle wrapper within Android SDK
- Android studio error compilation failed see the compiler error output for details.
- Android Studio | Failed to find target with hash string ‘android-26’ in: D:\Android\sdk
- [error record] kotlin code compilation error when Android studio compiles (process @ nonnull parameter when upgrading support library)
- Android Studio Series: after Android studio is opened, the project window will not be displayed.
- How to solve the problem that the console window disappears in a flash after visual studio 2017 runs