|
[插件开发]
自定义模块编译报错(使用升级环境)
[复制链接]
我使用的本地配置是:
compileSdkVersion 23
buildToolsVersion "25.0.0"
defaultConfig {
minSdkVersion 16
targetSdkVersion 22
本地编译成功,在上传到ApiCloud上进行编译时报错 ,
在ApiCloud上编译时,使用Android6.0(API23),使用升级环境编译
报错内容为:Error retrieving parent for item: No resource found that matches the given name 'ThemeOverlay.AppCompat.Dark.ActionBar'.
No resource found that matches the given name: attr 'colorAccent'.
No resource found that matches the given name: attr 'colorPrimary'.
No resource found that matches the given name: attr 'colorPrimaryDark'.
因为使用了第三方的aar,其中包含了页面文件,
在第三方的aar中包含了以上的属性,自己的模块中没有使用这些属性
求解:是因为名称和Apicloud的某些命名冲突了吗? 解决方案是 改变第三方AAR包中的报错的属性的命名吗?
|
|