zoukankan      html  css  js  c++  java
  • gradle使用手册

    gradle常用命令

    gradlew compileDebugSources --stacktrace -info
    gradlew processView2018DebugResources --stacktrace -info

    指定具体渠道打包apk命令

    In Terminal
    gradlew clean assemble[productFlavor][buildType]
    eg:
    gradlew clean assembleXiaomiDebug 可简写 gradlew clean aXD

    示例

    gradlew processView2018DebugResources --stacktrace

    gradlew compileDebugSources --stacktrace -info
    gradlew processView2018DebugResources --stacktrace -info
    
    > Task :app:processView2018DebugResources FAILED
    Task ':app:processView2018DebugResources' is not up-to-date because:
      Task has failed previously.
    All input files are considered out-of-date for incremental task ':app:processView2018DebugResources'.
    Unable do incremental execution: full task run
    AAPT2 aapt2-3.2.1-4818971-windows Daemon #0: starting
    
    Execution failed for task ':app:processView2018DebugResources'.
    > Android resource linking failed
      Output:  C:fastAndroidProjectsViewappuildintermediatesmerged_manifestsview2018DebugprocessView2018DebugManifestmergedAndroidManifest.xml:37: error: attribute android:confi
    gHelper not found.
      error: failed processing manifest. 
    
  • 相关阅读:
    P2525 Uim的情人节礼物·其之壱
    prev_permutation()
    P1634 禽兽的传染病
    P1615 西游记公司
    P1888 三角函数
    __gcd()函数
    P4325
    unique函数
    vscode C++开发环境配置教程(教你如何用vscode写C++)
    codeforces-C. News Distribution-2019.5.15
  • 原文地址:https://www.cnblogs.com/jooy/p/13821167.html
Copyright © 2011-2022 走看看