如题,原生插件内引用了第三方sdk,第三方sdk基于aar的包形式。
在as中开发插件进行调试,插件build.gredle中使用 compileOnly 引入aar,第三方插件运行报错,插件可以打包,打包后uniapp引入本地插件,自定义调试基座运行,第三方插件没有正常运行。
使用 implementation 引入aar,第三方插件运行正常
但是插件无法打包,报错:Direct local .aar file dependencies are not supported when building an AAR。
liyangDXL100 (作者)
好的,我尝试一下
2023-01-06 15:43