Theme.AppCompat.Light.DarkActionBar is not compiling in styles.xml. I have added compile 'com.android.support:appcompat-v7:25.1.0'
in app module's
build.gradle
.
I have searched for solution in google. A lot of them are about changing the classpath in Project's build.gradle
.Still its showing the same error.
build.gradle
dependencies {
compile 'com.android.support:appcompat-v7:25.1.0'
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:support-annotations:25.1.0'
compile 'com.android.support:cardview-v7:25.1.0'
compile 'com.android.support:recyclerview-v7:25.1.0'
// compile 'ch.acra:acra:4.5.0'
testCompile 'junit:junit:4.12'
}
android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
versionCode = 146
versionName = "0.6.65"
}
Your build.gradle version is simply the wrong one.
Follow these instructions to fix that:
build.gradle(Project:{your_project_name})
com.android.tools.build:gradle
com.android.tools.build:gradle:2.3.3
and And an Android studio distribution with 2.3.3 as version.