I have stocked in many times of by taking this No resource found that matches the given name after upgrading to AppCompat v23 in android studio. So, here i have decided to post, it solution for everyone, which is helpful who faced such kind of problem in android studio.
Solution:
Your compile SDK version must match the support library's major version.
Since you are using version 23 of the support library, you need to compile against version 23 of the Android SDK.
Alternatively you can continue compiling against version 22 of the Android SDK by switching to the latest support library v22. (solution from stackoverflow)
Sometime, if not working above solution please try this,
replace:
compile 'com.google.android.gms:play-services:+'
to:
compile 'com.google.android.gms:play-services:8.3.0'
and vice versa.
Then you can continue full targeting API 22
If it still doesn't compile, sometimes is useful to set compileSdkVersion API to 23 and targetSdkVersion to 22.
Featured Post
Implementing Hilt in a Kotlin Android Jetpack Compose Project with MVVM Architecture
In modern Android development, maintaining a scalable codebase can be challenging, especially when it comes to dependency management. Hilt,...
Android Tutorials
Home
Android Errors
Android Studio
Android Tutorials
No resource found that matches the given name after upgrading to AppCompat v23 in android studio