EDIT
Starting with Android Studio 3.1, you should go to:
File -> Sync Project with Gradle Files
OLD
Clicking the button ‘Sync Project With Gradle Files’ should do the trick:
Tools -> Android -> Sync Project with Gradle Files
If that fails, try running ‘Rebuild project’:
Build -> Rebuild Project
More Related Contents:
- using facebook sdk in Android studio
- You have not accepted the license agreements of the following SDK components [duplicate]
- android studio 0.4.2: Gradle project sync failed error
- Android Studio – mergeDebugResources exception
- How do I import material design library to Android Studio?
- What is the role of content_main.xml in android studio 1.4?
- “unable to locate adb” using Android Studio [duplicate]
- java.util.zip.ZipException: duplicate entry
- Emulator in Android Studio doesn’t start
- How do I set up Android Studio to work completely offline?
- Apk location in New Android Studio
- Upgraded to Android studio 3.4 – Aapt2InternalException: AAPT2: Daemon startup failed
- How to analyze memory using android studio
- Why does navigation not work in the Navigation Drawer Activity template with version 2.4.1?
- commons-logging defines classes that conflict with classes now provided by Android after Android Studio Update
- how to solve render problem Path.op() not supported?
- build.gradle and project libs
- Failed to resolve: recyclerview-v7
- First launch take long time (ClassLoader referenced unknown path)
- Android Studio: Creating landscape layouts
- “File not Found” exception in dexDebug task of build
- MANIFEST MERGER: It is possible to see the resulting mixed Manifest?
- Can’t create new Kotlin project after updating to Android Studio 4.2
- Gradle flavors for android with custom source sets – what should the gradle files look like?
- Android Studio Emulator: VK_VERSION_1_1 check failed
- How do I add a library project to the Android Studio and use it?(Some asked dont’t take effect)
- What do these Android logcat warnings mean?
- Manually adding aar with dependency pom/iml file
- Android Studio (Dolphin | 2021.3.1) & (Electric Eel | 2022.1.1) does not show layout preview
- Android Studio Emulator “/dev/kvm is not found”