If you see that error occur after upgrading versions of IntelliJ IDEA or Android Studio, or after Generating a new APK, you may need to refresh the IDE’s cache.
File -> Invalidate Caches / Restart...
More Related Contents:
- Using Build Flavors – Structuring source folders and build.gradle correctly
- How do I show dependencies tree in Android Studio?
- Android Studio – unable to merge from SVN branch
- Android Studio – Importing external Library/Jar
- How to generate Class Diagram (UML) on Android Studio (IntelliJ Idea)
- Android Gradle Apache HttpClient does not exist?
- How to disable Instant Run for Android Studio 3.0
- How do you synchronise projects to GitHub with Android Studio?
- How can I create tests in Android Studio?
- Can’t update Android Studio – only download
- Android studio Error “Unsupported Modules Detected: Compilation is not supported for following modules”
- Android Studio 3.1 Cannot Resolve Symbol (Themes, Widget, attr, etc.)
- no cached version available for offline mode
- Android Studio 4.1 Plugin Error: Plugin * is incompatible (supported only in IntelliJ IDEA)
- Android Studio cannot resolve R in imported project?
- Android Studio Project Structure (v.s. Eclipse Project Structure)
- Android Studio create project template for new projects
- Android Studio: Android Manifest doesn’t exists or has incorrect root tag
- How to import Maven dependency in Android Studio/IntelliJ?
- Android Studio 1.2 – Project encoding mismatches by default
- Error “can’t use subversion command line client : svn” when opening android project checked out from svn
- Difference between clean project and rebuild project in android studio
- Can’t migrate project to Gradle in Android Studio
- INSTALL_FAILED_CPU_ABI_INCOMPATIBLE on device using intellij
- How do I add a library project to the Android Studio and use it?(Some asked dont’t take effect)
- Android Studio – How to increase Allocated Heap Size
- Gradle: Execution failed for task ‘:processDebugManifest’
- How to use the ProGuard in Android Studio?
- Where does Android Studio save the ProGuard mapping file?
- Is it possible to debug locally Google Play’s in-app billing in Android Studio?