Comments (4)
查看一下是否有多个地方声明com.android.tools.build:gradle版本
from fat-aar-android.
没有额,我看了下项目源码中确实在com.kezong.fataar.VariantProcessor.processManifest(VariantProcessor.groovy:160) 这里有absolutePath 的调用。在3.2以上版本会调用,降低为3.1 版本后因为不走此逻辑,所以不会报错了。
from fat-aar-android.
代码中判断方法是小于gradle plugin 3.3才会走到processManifestTask.getManifestOutputDirectory().absolutePath这段逻辑,不是大于;
我判断的是引用插件的父工程所指定的gradle plugin版本,如果是3.4.1就不应该走这块逻辑,很奇怪,能提供出问题的demo到我邮箱吗?可以把源码都删掉,只留有可编译的工程目录。
from fat-aar-android.
@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)
- 1.3.8的fat-aar版本,AGP 7.3 Gradle7.4,资源文件没merge到一起,class什么的都merge到一起了。 HOT 11
- Duplicated *.so resources HOT 5
- packagingOptions的配置对这个插件生效吗
- resources not included on AGP 7.3.0 HOT 2
- 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 2
- 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 8
- 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
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.