I encountered this error when attempting to add
compile "com.android.support:support-core-utils:23.2.1"
to build.gradle for my mobile app. Here is the entire build.gradle (mobile)
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.xxxxxxx.sam.collegegrader"
minSdkVersion 10
targetSdkVersion 23
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
wearApp project(':wear')
compile 'com.google.android.gms:play-services:9.8.0'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-core-utils:23.2.1'
}
This is my first android app so, I may have just made a beginner mistake. Here are the problem solving steps that I have taken:
Here is where I am trying to use android:theme="@style/ThemeOverlay.AppCompat.Dark.Actionbar" res/layout/activity_view_college.xml
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context="com.xxxxxx.sam.collegegrader.ViewCollegeActivity">
android:id="@+id/app_bar_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:theme="@style/ThemeOverlay.AppCompat.Dark.Actionbar"
android:fitsSystemWindows="true" >
styles.xml
@color/colorPrimary
@color/colorPrimaryDark
@color/colorAccent
false
true
styles.xml (v21)
false
true
true
@android:color/transparent