久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

Android gradle:buildtoolsVersion 與 compileSdkVersion

Android gradle: buildtoolsVersion vs compileSdkVersion(Android gradle:buildtoolsVersion 與 compileSdkVersion)
本文介紹了Android gradle:buildtoolsVersion 與 compileSdkVersion的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

問(wèn)題描述

Android 項(xiàng)目的 build.gradle 中的 buildtoolsVersioncompileSdkVersion 有什么區(qū)別?

What's the difference between buildtoolsVersion vs compileSdkVersion in the build.gradle for an Android project?

具體來(lái)說(shuō),我想澄清一下構(gòu)建工具是什么?

Specifically, I'd like clarification on what the build tool is?

推薦答案

compileSdkVersion 是您編譯的 Android API 版本.

compileSdkVersion is the API version of Android that you compile against.

buildToolsVersion 是您要使用的編譯器(aapt、dx、renderscript 編譯器等)的版本.對(duì)于每個(gè) API 級(jí)別(從 18 開始),都有一個(gè)匹配的 .0.0 版本.

buildToolsVersion is the version of the compilers (aapt, dx, renderscript compiler, etc...) that you want to use. For each API level (starting with 18), there is a matching .0.0 version.

在 IO 2014 上,我們發(fā)布了 API 20 和構(gòu)建工具 20.0.0.

At IO 2014, we release API 20 and build-tools 20.0.0 to go with it.

在 Android 版本之間,我們將發(fā)布編譯器的更新,因此我們將發(fā)布 .0.1、.0.2 等版本...因?yàn)槲覀儾幌朐谀念I(lǐng)導(dǎo)下默默更新這些版本,所以由您決定方便時(shí)移至新版本.

Between Android releases we will release updates of the compilers, and so we'll release version .0.1, .0.2, etc... Because we don't want to silently update these version under you, it's up to you to move to the new version when it's convenient for you.

您可以使用比您的 compileSdkVersion 更高版本的構(gòu)建工具,以便在不更改構(gòu)建應(yīng)用程序的基礎(chǔ)上選擇新的/更好的編譯器.

You can use a higher version of the build-tools than your compileSdkVersion, in order to pick up new/better compiler while not changing what you build your app against.

這篇關(guān)于Android gradle:buildtoolsVersion 與 compileSdkVersion的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

【網(wǎng)站聲明】本站部分內(nèi)容來(lái)源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問(wèn)題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

相關(guān)文檔推薦

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM(更新到 Android Build Tools 25.1.6 GCM/FCM 后出現(xiàn) IncompatibleClassChangeError)
How to get current flavor in gradle(如何在 gradle 中獲取當(dāng)前風(fēng)味)
How to fix quot;unexpected element lt;queriesgt; found in lt;manifestgt;quot; error?(如何修復(fù)“意外元素lt;查詢gt;在“清單中找到錯(cuò)誤?)
Multi flavor app based on multi flavor library in Android Gradle(基于 Android Gradle 中多風(fēng)味庫(kù)的多風(fēng)味應(yīng)用)
Android dependency has different version for the compile and runtime(Android 依賴在編譯和運(yùn)行時(shí)有不同的版本)
Transitive dependencies for local aar library(本地 aar 庫(kù)的傳遞依賴)
主站蜘蛛池模板: 国产日韩精品视频 | 成av在线 | 中国av在线免费观看 | 在线欧美小视频 | 亚洲视频免费观看 | 99久久婷婷国产综合精品电影 | 91一区二区三区在线观看 | 久久久久久国产精品久久 | 国产在线观看一区二区三区 | 欧美精品一区二区三区蜜桃视频 | 亚洲精品一 | www.久草.com| 欧美一级在线 | 亚洲精品国产电影 | 亚洲精品大片 | 国产激情一区二区三区 | 久久精品二区 | 欧美一区二区免费 | 久久网一区二区 | 亚洲精品66 | 国产亚洲精品久久yy50 | 国产一级一级 | 一区在线免费视频 | 欧美成人精品在线观看 | 亚洲小视频在线播放 | 欧美性网 | 日本精a在线观看 | 国产露脸国语对白在线 | 中文字幕在线观看日韩 | 欧美激情国产精品 | 一区二区不卡视频 | 精品一区二区久久久久久久网站 | 欧美电影大全 | 婷婷激情五月网 | 久青草影院 | 日韩欧美久久 | 草久在线视频 | 日韩一区精品 | 久久成人久久 | 中文字幕国产 | 亚洲视频免费观看 |