You go File->Settings->Gradle
Look at the “Offline work” inbox, if it’s checked u uncheck and try to sync again
I have the same problem and i try this , the problem resolved. Good luck !
More Related Contents:
- Error retrieving parent for item: No resource found that matches the given name after upgrading to AppCompat v23
- You have not accepted the license agreements of the following SDK components [duplicate]
- Could not find com.android.tools.build:gradle:3.0.0-alpha1 in circle ci
- Android Studio – mergeDebugResources exception
- How to set versionName in APK filename using gradle?
- Multi flavor app based on multi flavor library in Android Gradle
- How do I import material design library to Android Studio?
- Execution failed for task ‘app:mergeDebugResources’ Crunching Cruncher….png failed
- Could not find com.google.android.gms:play-services:3.1.59 3.2.25 4.0.30 4.1.32 4.2.40 4.2.42 4.3.23 4.4.52 5.0.77 5.0.89 5.2.08 6.1.11 6.1.71 6.5.87
- Android Studio : Failure [INSTALL_FAILED_OLDER_SDK]
- How to resolve java.util.zip.ZipException?
- Android app won’t build — The minCompileSdk (31) specified in a dependency’s androidx.work:work-runtime:2.7.0-beta01
- Android Studio Gradle issue upgrading to version 0.5.0 – Gradle Migrating From 0.8 to 0.9 – Also Android Studio upgrade to 0.8.1
- Run lint when building android studio projects
- Is it possible to use the Gradle build system for Android with Eclipse?
- failed to find target with hash string ‘android-22’
- ‘ERROR: Failed to resolve: com.android.support:appcompat-v7:29.0.1’ [duplicate]
- Using build types in Gradle to run same app that uses ContentProvider on one device
- Why does Gradle build my module in Release mode when the app is in Debug
- How to automatically uninstall android app from device before installing a new version
- How do I read properties defined in local.properties in build.gradle
- Android Studio – Unable to find valid certification path to requested target
- Recompile with -Xlint in Android studio
- All com.android.support libraries must use the exact same version [duplicate]
- Execute task before Android Gradle build?
- could not resolve all dependencies for configuration ‘:app:debugAPKCopy’
- Gradle flavors for android with custom source sets – what should the gradle files look like?
- Generate JavaDocs with Android Gradle plugin
- Import an eclipse android project with version control system into Android Studio
- Force locale for Android flavor with resConfig