Hi I have this problem in all my projects in android studio and probe with "clear project" and with Tools "- >" Android "- >" Sync Project with Gradle Files ". And the problem continues, that another solution could please suggest me.
android.gradle (module)
android {
compileSdkVersion 21
buildToolsVersion '21.1.2'
defaultConfig {
applicationId "com.example.diego.tpfinal"
minSdkVersion 9
targetSdkVersion 23
versionCode 1
versionName "1.0"
android.gradle (project)
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the [![Consola de android studio][1]][1]individual module build.gradle files
}
Updated ---- build.gradle (module)
Solution: I fixed my problem with the following video and Elena's comments previously. link