Giter Club home page Giter Club logo

Comments (3)

kezong avatar kezong commented on August 28, 2024

不能将libPackageName改为aarPackageName,改了后资源合并就失效了。

能否将修改之前的错误信息发出来,并告知下com.android.tools.build:gradle版本以及gradle的版本。

from fat-aar-android.

docwei2050 avatar docwei2050 commented on August 28, 2024

您这个插件,亲测两个library合成一个aar是没问题。。如果一个library的lib下有个Aaar,那么合并的时候,Aaar的资源id提示找不到符号

Task :blibrary:compileRsDebug FAILED

符号: 变量 layout_behavior
位置: 类 attr
/Users/Mac/Desktop/testaar/testaar/blibrary/build/intermediates/exploded-aar/r/com/paaa/sppppboard/R.java:31: 错误: 找不到符号
public static int layout_dodgeInsetEdges = com.paaa.fcaa.blibrary.R.attr.layout_dodgeInsetEdges;

classpath 'com.android.tools.build:gradle:3.2.1'
distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip

from fat-aar-android.

kezong avatar kezong commented on August 28, 2024

如果在一个library的lib下直接放一个aar会有问题,所有需要合并的aar都需要在lib-main中�embed,不然无法合并。建议参考example中的lib-aar-local方式引入本地的aar包,并且如果子library如果需要引用该aar的话可以以compileOnly的形式添加依赖。

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.