Giter Club home page Giter Club logo

Comments (5)

pzl237 avatar pzl237 commented on July 23, 2024

@fantianwen 在gradle 2.2.0之后版本,你修复了编译问题,能否把修改后的贴出来参考?

from android-skin-loader.

fantianwen avatar fantianwen commented on July 23, 2024

@pzl237

把这两个task像这样写就行了~

task copySkinFileDebug {
    println("====================begin copy skin file.=========================")

    def dir = new File(TARGET_SKIN_DIR)
    if (!dir.exists()) {
        dir.mkdirs()
    }

    def f = new File(TARGET_SKIN_DIR + SAMPLE_NAME)
    if (f.exists()) {
        f.delete()
    }

    copy {
        from('build/outputs/apk')
        into(TARGET_SKIN_DIR)
        include '*.apk'
        exclude '**/*-unaligned.apk'
        rename ('android-skin-loader-sample-debug.apk', SAMPLE_NAME)
    }

    println("====================skin file copyed .=====================")

}

copySkinFileDebug.dependsOn('assembleDebug')

from android-skin-loader.

zxp0505 avatar zxp0505 commented on July 23, 2024

我看见这两个task操作都是一样的 是重复操作吗?

from android-skin-loader.

fantianwen avatar fantianwen commented on July 23, 2024

@zxp0505

参见:https://developer.android.com/studio/build/building-cmdline.html

from android-skin-loader.

pzl237 avatar pzl237 commented on July 23, 2024

@fantianwen 谢谢啊,按照你的修改方法编译通过了。

from android-skin-loader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.