帖子
帖子
用户
博客
课程
12下一页
返回列表 发新帖
显示全部楼层
102
帖子
2
勋章
831
Y币

[插件开发] 云编译报错

[复制链接]
发表于 2023-7-19 19:33:13
在本机demo开发是没问题的,打成模块编译就报如下错误。请支持

app:processReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     /data/.gradle/caches/transforms-2/files-2.1/b018c6dfbf0ef5b9584cebb40c173151/emmtunnel_509-louyu/res/values/values.xml:46:5-59:13: AAPT: error: style attribute 'attr/windowActionBar (aka com.jsxw.lzlz:attr/windowActionBar)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/b018c6dfbf0ef5b9584cebb40c173151/emmtunnel_509-louyu/res/values/values.xml:46:5-59:13: AAPT: error: style attribute 'attr/windowNoTitle (aka com.jsxw.lzlz:attr/windowNoTitle)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/b018c6dfbf0ef5b9584cebb40c173151/emmtunnel_509-louyu/res/values/values.xml:46:5-59:13: AAPT: error: style attribute 'attr/colorPrimary (aka com.jsxw.lzlz:attr/colorPrimary)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/b018c6dfbf0ef5b9584cebb40c173151/emmtunnel_509-louyu/res/values/values.xml:46:5-59:13: AAPT: error: style attribute 'attr/colorPrimaryDark (aka com.jsxw.lzlz:attr/colorPrimaryDark)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/b018c6dfbf0ef5b9584cebb40c173151/emmtunnel_509-louyu/res/values/values.xml:46:5-59:13: AAPT: error: style attribute 'attr/colorAccent (aka com.jsxw.lzlz:attr/colorAccent)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/31e7d51e53a9e61452fecd5cf4bdd8af/EMMCamera-v5.0.3/res/values/values.xml:4:5-17:13: AAPT: error: style attribute 'attr/windowActionBar (aka com.jsxw.lzlz:attr/windowActionBar)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/31e7d51e53a9e61452fecd5cf4bdd8af/EMMCamera-v5.0.3/res/values/values.xml:4:5-17:13: AAPT: error: style attribute 'attr/windowNoTitle (aka com.jsxw.lzlz:attr/windowNoTitle)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/31e7d51e53a9e61452fecd5cf4bdd8af/EMMCamera-v5.0.3/res/values/values.xml:4:5-17:13: AAPT: error: style attribute 'attr/colorPrimary (aka com.jsxw.lzlz:attr/colorPrimary)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/31e7d51e53a9e61452fecd5cf4bdd8af/EMMCamera-v5.0.3/res/values/values.xml:4:5-17:13: AAPT: error: style attribute 'attr/colorPrimaryDark (aka com.jsxw.lzlz:attr/colorPrimaryDark)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/31e7d51e53a9e61452fecd5cf4bdd8af/EMMCamera-v5.0.3/res/values/values.xml:4:5-17:13: AAPT: error: style attribute 'attr/colorAccent (aka com.jsxw.lzlz:attr/colorAccent)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/8504c327abfc31d48b0fe4052b6c34db/EMMBaseUI-v5.0.4/res/values/values.xml:1764:5-1777:13: AAPT: error: style attribute 'attr/windowActionBar (aka com.jsxw.lzlz:attr/windowActionBar)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/8504c327abfc31d48b0fe4052b6c34db/EMMBaseUI-v5.0.4/res/values/values.xml:1764:5-1777:13: AAPT: error: style attribute 'attr/windowNoTitle (aka com.jsxw.lzlz:attr/windowNoTitle)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/8504c327abfc31d48b0fe4052b6c34db/EMMBaseUI-v5.0.4/res/values/values.xml:1764:5-1777:13: AAPT: error: style attribute 'attr/colorPrimary (aka com.jsxw.lzlz:attr/colorPrimary)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/8504c327abfc31d48b0fe4052b6c34db/EMMBaseUI-v5.0.4/res/values/values.xml:1764:5-1777:13: AAPT: error: style attribute 'attr/colorPrimaryDark (aka com.jsxw.lzlz:attr/colorPrimaryDark)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/8504c327abfc31d48b0fe4052b6c34db/EMMBaseUI-v5.0.4/res/values/values.xml:1764:5-1777:13: AAPT: error: style attribute 'attr/colorAccent (aka com.jsxw.lzlz:attr/colorAccent)' not found.

     /data/.gradle/caches/transforms-2/files-2.1/8504c327abfc31d48b0fe4052b6c34db/EMMBaseUI-v5.0.4/res/values/values.xml:1798:5-1803:13: AAPT: error: style attribute 'attr/windowActionBar (aka com.jsxw.lzlz:attr/windowActionBar)' not found.


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.


BUILD FAILED in 47s


130
帖子
7
勋章
5万+
Y币
新加了什么模块了吗?
130
帖子
7
勋章
5万+
Y币
https://community.yonyou.com/thread-191332-1-1.html

下载里面androidv26 上传自定义插件 然后添加到应用里面 重新编译自定义loader试试
自定义模块?
102
帖子
2
勋章
831
Y币

对的,自定义模块,用到了v7 ,v7的包怎么支持?
102
帖子
2
勋章
831
Y币
Arly【520707liu】 · 2023-7-20 09:16新加了什么模块了吗?

对的,自定义模块,用到了v7 ,v7的包怎么支持?
JSXW · 2023-7-20 09:48对的,自定义模块,用到了v7 ,v7的包怎么支持?

你所有用到的文件 不要用链接的方式 全都需要下载aar然后本地包的方式引入 然后打包到模块里
130
帖子
7
勋章
5万+
Y币
JSXW · 2023-7-20 09:48对的,自定义模块,用到了v7 ,v7的包怎么支持?

https://community.yonyou.com/thread-191332-1-1.html

androidv26
102
帖子
2
勋章
831
Y币
勇可可 · 2023-7-20 09:49你所有用到的文件 不要用链接的方式 全都需要下载aar然后本地包的方式引入 然后打包到模块里

全都要丢到 上传的那个压缩包里么
JSXW · 2023-7-20 10:07全都要丢到 上传的那个压缩包里么

是的 他们编译只能本地aar引入
12下一页
您需要登录后才可以回帖 登录

本版积分规则