91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

詳細android gradle 只編譯realse版本

發布時間:2020-07-08 20:45:14 來源:網絡 閱讀:4107 作者:tianyamop 欄目:移動開發

大部分來自于 

http://developer.android.com/sdk/installing/studio-build.html


gradle build 會生成默認的debug版本 和 release 版本

gradle assemblerelease  不生成debug版本,只生成release版本

gradle assembledebug  不生成release版本,只生成debug版本

可以在下面的命令顯示出得結果中看到版本的意思。


查看所有的task ,命令 :

gradle tasks


osdeMacBook-Pro:app os$ gradle tasks

:app:tasks


------------------------------------------------------------

All tasks runnable from project :app

------------------------------------------------------------


Android tasks

-------------

androidDependencies - Displays the Android dependencies of the project

signingReport - Displays the signing info for each variant


Build tasks

-----------

assemble - Assembles all variants of all applications and secondary packages.

assembleDebug - Assembles all Debug builds

assembleHiapk - Assembles all Hiapk builds

assembleHiapkDebug - Assembles the Debug build for flavor Hiapk

assembleHiapkDebugTest - Assembles the Test build for the HiapkDebug build

assembleHiapkRelease - Assembles the Release build for flavor Hiapk

assemblePlaystore - Assembles all Playstore builds

assemblePlaystoreDebug - Assembles the Debug build for flavor Playstore

assemblePlaystoreDebugTest - Assembles the Test build for the PlaystoreDebug build

assemblePlaystoreRelease - Assembles the Release build for flavor Playstore

assembleRelease - Assembles all Release builds

assembleTest - Assembles all the Test applications

build - Assembles and tests this project.

buildDependents - Assembles and tests this project and all projects that depend on it.

buildNeeded - Assembles and tests this project and all projects it depends on.

clean - Deletes the build directory.


Help tasks

----------

components - Displays the components produced by project ':app'.

dependencies - Displays all dependencies declared in project ':app'.

dependencyInsight - Displays the insight into a specific dependency in project ':app'.

help - Displays a help message

projects - Displays the sub-projects of project ':app'.

properties - Displays the properties of project ':app'.

tasks - Displays the tasks runnable from project ':app'.


Install tasks

-------------

installHiapkDebug - Installs the Debug build for flavor Hiapk

installHiapkDebugTest - Installs the Test build for the HiapkDebug build

installHiapkRelease - Installs the Release build for flavor Hiapk

installPlaystoreDebug - Installs the Debug build for flavor Playstore

installPlaystoreDebugTest - Installs the Test build for the PlaystoreDebug build

installPlaystoreRelease - Installs the Release build for flavor Playstore

uninstallAll - Uninstall all applications.

uninstallHiapkDebug - Uninstalls the Debug build for flavor Hiapk

uninstallHiapkDebugTest - Uninstalls the Test build for the HiapkDebug build

uninstallHiapkRelease - Uninstalls the Release build for flavor Hiapk

uninstallPlaystoreDebug - Uninstalls the Debug build for flavor Playstore

uninstallPlaystoreDebugTest - Uninstalls the Test build for the PlaystoreDebug build

uninstallPlaystoreRelease - Uninstalls the Release build for flavor Playstore


Verification tasks

------------------

check - Runs all checks.

connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected devices.

connectedAndroidTestHiapkDebug - Installs and runs the tests for Build 'hiapkDebug' on connected devices.

connectedAndroidTestPlaystoreDebug - Installs and runs the tests for Build 'playstoreDebug' on connected devices.

connectedCheck - Runs all device checks on currently connected devices.

deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.

deviceCheck - Runs all device checks using Device Providers and Test Servers.

lint - Runs lint on all variants.

lintHiapkDebug - Runs lint on the HiapkDebug build

lintHiapkRelease - Runs lint on the HiapkRelease build

lintPlaystoreDebug - Runs lint on the PlaystoreDebug build

lintPlaystoreRelease - Runs lint on the PlaystoreRelease build


Other tasks

-----------

compileHiapkDebugSources

compileHiapkDebugTestSources

compileHiapkReleaseSources

compilePlaystoreDebugSources

compilePlaystoreDebugTestSources

compilePlaystoreReleaseSources


Rules

-----

Pattern: clean<TaskName>: Cleans the output files of a task.

Pattern: build<ConfigurationName>: Assembles the artifacts of a configuration.

Pattern: upload<ConfigurationName>: Assembles and uploads the artifacts belonging to a configuration.


To see all tasks and more detail, run with --all.


BUILD SUCCESSFUL


Total time: 8.967 secs




然后,在build tasks 中選取需要單獨bulid的命令  



有中文翻譯版本在這,gradle編譯

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

凭祥市| 通州市| 布尔津县| 高州市| 昌宁县| 莱州市| 林州市| 蒙城县| 甘谷县| 大港区| 博湖县| 麻城市| 乐亭县| 荥经县| 大兴区| 吉首市| 南郑县| 洪泽县| 纳雍县| 吉林市| 水富县| 昂仁县| 保定市| 凉城县| 栖霞市| 淳安县| 东乡县| 安图县| 浮山县| 大石桥市| 金湖县| 桦甸市| 永安市| 资中县| 新余市| 图们市| 即墨市| 巴东县| 准格尔旗| 南溪县| 静海县|