Here are is my config and my excpetion, i\'m not sure how to fix this?
compileSdkVersion 23
buildToolsVersion \"23.0.1\"
defaultConfig {
applicationId \"com
if you are using Resource.getColor(int id)
method within your fragment then it is deprecated as mentioned in the documentation
So solution is either go for Resource.getColor(int id, Resource.Theme theme)
as mention in documentation...but then you need to put it using if condition by checking the Android Version or
You can use ContextCompat class from v4 library as mention here