Comments (3)
不能将libPackageName改为aarPackageName,改了后资源合并就失效了。
能否将修改之前的错误信息发出来,并告知下com.android.tools.build:gradle版本以及gradle的版本。
from fat-aar-android.
您这个插件,亲测两个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.
如果在一个library的lib下直接放一个aar会有问题,所有需要合并的aar都需要在lib-main中�embed,不然无法合并。建议参考example中的lib-aar-local方式引入本地的aar包,并且如果子library如果需要引用该aar的话可以以compileOnly的形式添加依赖。
from fat-aar-android.
Related Issues (20)
- Build fat AAR file from flutter module
- Binding Resouces (.BR) not created for sub lib,
- java.lang.NoSuchFieldError: No static field ic_rapido_splash of type I in class Lcom/rapido/passenger/R$drawable; or its superclasses
- Could not resolve all dependencies for configuration ':dsrrdlibrary:embed HOT 1
- Android Resource linking failed
- Support for Gradle 8+, AGP 8+ HOT 3
- 如何过滤abi,打出来的最终AAR包含了x86,armeabi,armeabi-v7a,arm64-v8a所有的so,不想要这么多,abiFilters不生效
- Failed to apply plugin [id 'com.kezong.fat-aar'] HOT 4
- java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/lifecycle/runtime/R$id; HOT 1
- 完全不生效
- Task with name 'transformClassesWithTransformRForFataarDebug' not found in project HOT 2
- 一种安全的替换 fat-aar-android 插件的方法 HOT 11
- Is there a package relocation for the embed dependencies?
- 请问下如何配置Gradle 8.0版本 HOT 1
- How to exlcude "org.jetbrains.kotlin:kotlin-stdlib" HOT 2
- Cannot Merge SmartRefreshLayout 打包Module无法合并SmartRefreshLayout
- No such property: builtBy for class: org.gradle.api.internal.artifacts.DefaultResolvedArtifact
- Check out this fork with latest AGP support HOT 1
- 各种bug 已经放弃维护更新了 最新版本8.5.0编译器 直接不能使用 含泪放弃
- Task :xxx:extractDeepLinksDebug FAILED
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fat-aar-android.