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

Android gradle:buildtoolsVersion 與 compileSdkVersion

Android gradle: buildtoolsVersion vs compileSdkVersion(Android gradle:buildtoolsVersion 與 compileSdkVersion)
本文介紹了Android gradle:buildtoolsVersion 與 compileSdkVersion的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

Android 項目的 build.gradle 中的 buildtoolsVersioncompileSdkVersion 有什么區別?

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

具體來說,我想澄清一下構建工具是什么?

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 編譯器等)的版本.對于每個 API 級別(從 18 開始),都有一個匹配的 .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 上,我們發布了 API 20 和構建工具 20.0.0.

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

在 Android 版本之間,我們將發布編譯器的更新,因此我們將發布 .0.1、.0.2 等版本...因為我們不想在您的領導下默默更新這些版本,所以由您決定方便時移至新版本.

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 更高版本的構建工具,以便在不更改構建應用程序的基礎上選擇新的/更好的編譯器.

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.

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

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

相關文檔推薦

IncompatibleClassChangeError after updating to Android Build Tools 25.1.6 GCM / FCM(更新到 Android Build Tools 25.1.6 GCM/FCM 后出現 IncompatibleClassChangeError)
How to get current flavor in gradle(如何在 gradle 中獲取當前風味)
How to fix quot;unexpected element lt;queriesgt; found in lt;manifestgt;quot; error?(如何修復“意外元素lt;查詢gt;在“清單中找到錯誤?)
Multi flavor app based on multi flavor library in Android Gradle(基于 Android Gradle 中多風味庫的多風味應用)
Android dependency has different version for the compile and runtime(Android 依賴在編譯和運行時有不同的版本)
Transitive dependencies for local aar library(本地 aar 庫的傳遞依賴)
主站蜘蛛池模板: 综合久| 欧美黑人体内she精在线观看 | aaaa网站| 国产精品人人做人人爽 | 91大神在线资源观看无广告 | 国产一区二区三区 | 久久99精品久久久久 | 青青草精品视频 | 亚洲免费成人 | 日韩成人免费视频 | 久久精品亚洲精品 | 日本涩涩网| 久久精品一级 | 不卡在线一区 | 久久6视频| 在线中文字幕日韩 | 国产精品永久免费视频 | 欧州一区二区三区 | 亚洲精品久久嫩草网站秘色 | 亚洲高清三级 | 日韩中文字幕免费在线 | 日韩精品久久久久 | 久久综合一区 | www.天天操 | 欧美自拍日韩 | 特级一级黄色片 | 国产精品久久久av | www日本在线 | 色五月激情五月 | 日本在线中文 | 久久精品综合网 | 欧美日韩国产三级 | 国产91久久精品一区二区 | 一级毛片视频 | 精品国产伦一区二区三区观看体验 | 亚洲免费片 | 亚洲成人999 | 超碰在线人人 | 国产精品久久久久久久久久久久 | 日韩精品一 | 欧美日韩一区二区三区四区 |