Appears the following error
A newer version of com.android.support:appcompat-v4 than 23.2.1 is available: 24.0.0-alpha1 and A newer version of com.android.support:appcompat-v7 than 23.2.1 is available: 24.0.0-alpha1
my build.gradle file:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.zkc.i2ctools"
minSdkVersion 8
targetSdkVersion 23
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:23.2.1'
compile 'com.android.support:appcompat-v7:23.2.1'
compile files('libs/core-3.1.0.jar')
}
Gradle build with error .What is wrong?
AppCompat (aka ActionBarCompat) started out as a backport of the Android 4.0 ActionBar API for devices running on Gingerbread, providing a common API layer on top of the backported implementation and the framework implementation. AppCompat v21 delivers an API and feature-set that is up-to-date with Android 5.0.
difference. v4 has largest set of API's than others like App component, User Interface Feature, data handling ,network connectivity and utilities. v7 provided specfic feature sets that can be included in your app independently.
actually, there is a bug, "Lint should not suggest alpha version of support library dependency" https://code.google.com/p/android/issues/detail?id=203270
Update (21-March-2016)
The bug has been merged with this https://code.google.com/p/android/issues/detail?id=203321 and fixed for 2.1 Future release, on March 11
I believe that you may be confusing that info level log item with an error level log item. Logs like this will happen through out your application. However this does not mean anything in your application is broken.
I do not believe you should upgrade to the newer versions of appcompat until they are out of alpha unless they contain critical features/bug fixes that you require.
If it is unable to build, that's another story altogether.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With