DID NOT WORK:
I have already had the following dependency in my build.gradle
implementation 'com.android.support:support-v13:26.0.2'
I have tried all of the following,
- Invalidate Caches/Restart
- Sync project with gradle files
- Clean project
- Rebuild project
- gradlew clean
But, none of them worked for me.
SOLUTION:
Finally, I solved it by deleting “/.idea/libraries”, and then synced with gradle and built again.