android


Android SDK version is lover than library version


I can't add android support design library to my project because "This support library should not use different version (26) than the compileSdkVersion (25)". But my android SDK version is 26.0.2. and when i try to change sdk version to 26 in gradle it gives me error. So why Android Studio can't use the latest sdk version? Here is the
screenshot.
But my android SDK version is 26.0.2
There is nothing in that screenshot with a value of 26.0.2.
There is a 25.0.2, and that is your buildToolsVersion, which is not your problem.
So why Android Studio can't use the latest sdk version?
Android Studio can.
Your Gradle build file is attempting to use a preview edition of com.android.support:design. That specific version, 26.0.0-alpha1, begins with 26. The rule with the Support Library is that your compileSdkVersion needs to match that major version number of the library. In your case, your compileSdkVersion is 25.
The simplest solution for you is to change your compile statement to:
compile 'com.android.support:design:25.3.1'
This solves two problems:
It synchronizes the major version of the library with your compileSdkVersion
It gets you on a production-ready version of the library, rather than an alpha1 preview release, tied to the Android O developer preview

Related Links

Android SDK SignerFactory throwing exception
I want to remove bookmarks in android fixed layout books in some parts by apply condition about data in the page
Using actionLayout inside fab in Android
How to change visibility of Back button in webview(Android)?
Read & write shapefiles in android or java (.shp)
Why is my Android phone layout different then my layout on Android Studio?
Crash on native_set & native_get of SystemProperties.java on Android
Getting a Google Speech API access token for a production Android app
Android Apps in Chromebook: Access the Chromebook desktop screen?
Method to wrap SQLBrite Observable<Query> and return Observable<SomeObject>
Heroku 503 server error when using GoogleMaps Marker's OnClickListener
Android app is supported by 0 devices in Play Store Publish
Including same jar library in application module and library module
Open soft keyboard emoticons
How to filter from list view items containing image and text in custom adapter by entering text in edittext view
Android Relative Layout position

Categories

HOME
uml
hyperlink
deep-learning
fuelux
apache-jena
webdriver
ecmascript-6
youtube-data-api-v3
components
jwplayer
graphics
gradient
vscode-extensions
nsbundle
mips
nested-if
android-json
performancepoint
mql5
g++
little-proxy
owin
pega
text-mining
windows-ce
onedrive-api
flash-player
android-intent
symbol
bourbon
visual-glitch
postscript
jquery-callback
mount
motion-detection
openmdao
iis-express
failover
twiml
turfjs
memory-address
erb
hreflang
nested-lists
apiary.io
parse-tree
lint
flatmap
z-notation
connection-pool
health-monitoring
hackintosh
softmax
logback-groovy
procfile
openal
sonarlint-eclipse
payara-micro
wpas
yii2-user
jqchart
css-transforms
monkey
rsa-archer-grc
branch-prediction
polyline
chromium-os
adafruit
tinkerpop3
spring-cloud-feign
cifilter
xdoclet
embedding
database-relations
kendo-upload
piracy-prevention
qt5.2
flock
extjs-grid
vacuum
ansi
rrule
broadband
mass-assignment
primitive-types
sip-server
build-script
functional-java
twitter-bootstrap-rails
square-bracket
git-repo
android-usb
light
process-explorer
merb
faye
rmiregistry
httponly
virtualpathprovider
google-maps-mobile
listactivity
dataform
msr
tmx
django-paypal
svk
ie-compatibility-mode
folding
build-environment
google-wave
firefox-3
leader

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile