-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.3.8的fat-aar版本,AGP 7.3 Gradle7.4,资源文件没merge到一起,class什么的都merge到一起了。 #399
Comments
second:
|
我又试了一下,通过在second的gradle里面,添加sourceset 是可以生效的。怀疑是不是processResources的时序有问题。不是很懂。=-= |
又研究了一下,看起来是因为这笔提交导致的。AGP 7.3.0以上就有问题了。 可能要更改一下设置sourcesets的时机,大佬有空帮忙瞅瞅~,感谢。 |
Hi, i have the same problema but i have more embed project. |
|
@kirin521 I resolved with AGP 7.2.2 |
Yes, I downgrade the gradle version to 7.2.2 to circumvent this problem. |
I haven't really built Gradle plug-ins before, so I am definitely not an expert, but it appears that the resources are merged correctly into the R.txt, but the aar_rebundle directory needs to have the res contents from all the bundled AARs (and possibly a merged values.xml). |
如果是assets没合并进去可以这样做
同时加在你有资源的module和主包下 |
If the comment about assets was to me, then the issue is not assets. |
AGP7.3.0下生效吗?我试了一下好像不行哎 |
1.3.8的fat-aar版本,配合7.4的gradle,AGP是7.3.0. 资源文件没merge到一起,class什么的都merge到一起了。
res下的只生成了一个values目录,其他的多语言都丢失了。fat-aar没有什么异常日志。
Build Environment
The text was updated successfully, but these errors were encountered: