Coder Social home page Coder Social logo

Comments (4)

kezong avatar kezong commented on May 28, 2024

查看一下是否有多个地方声明com.android.tools.build:gradle版本

from fat-aar-android.

yanjiangbo06 avatar yanjiangbo06 commented on May 28, 2024

没有额,我看了下项目源码中确实在com.kezong.fataar.VariantProcessor.processManifest(VariantProcessor.groovy:160) 这里有absolutePath 的调用。在3.2以上版本会调用,降低为3.1 版本后因为不走此逻辑,所以不会报错了。

from fat-aar-android.

kezong avatar kezong commented on May 28, 2024

代码中判断方法是小于gradle plugin 3.3才会走到processManifestTask.getManifestOutputDirectory().absolutePath这段逻辑,不是大于;
我判断的是引用插件的父工程所指定的gradle plugin版本,如果是3.4.1就不应该走这块逻辑,很奇怪,能提供出问题的demo到我邮箱吗?可以把源码都删掉,只留有可编译的工程目录。

from fat-aar-android.

kezong avatar kezong commented on May 28, 2024

@yanjiangbo06 你这个问题可能是因为 #28 该bug引起,看看root层级下的build.gradle中是否除了com.android.tools.build:gradle之外还依赖了其他name为gradle的库。

如果有的话,尝试将com.android.tools.build:gradle放在最后一行。
同时我会在之后的1.1.11版本中修复该bug.

from fat-aar-android.

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.