Android studio 降低编译版本报错

swz1993 2017-08-22 03:50:47
开发过程中需要降低编译版本,我从25降低到23的时候报错

以下是错误信息:

D:\Project\EWATERSYS-APP\EWATERSYS-AndroidV1.0\Development\EwaterAndroid\app\build\intermediates\res\merged\debug\values\values.xml
Error:(629) Attribute "radius" has already been defined
Error:(629) Attribute "radius" has already been defined
D:\Project\EWATERSYS-APP\EWATERSYS-AndroidV1.0\Development\EwaterAndroid\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
Error:(4) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
Error:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt

以下是我的gradle配置:

android {

compileSdkVersion 23
buildToolsVersion "23.0.2"

defaultConfig {
applicationId "com.ewater.test.ewatersys"
minSdkVersion 16
targetSdkVersion 23
versionCode 1
versionName '1.0'

multiDexEnabled true // 启用multiDex支持。
multiDexKeepProguard file('multiDexKeep.pro') // keep specific classes using proguard syntax
multiDexKeepFile file('multiDexKeep.txt') // keep specific classes
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

packagingOptions {
exclude '*.apk'
}

dexOptions {
jumboMode true
javaMaxHeapSize "4g"
}

lintOptions {
abortOnError false
}

signingConfigs {
release {
storeFile file("JPD.jks")
storePassword "mediaplatform"
keyAlias "mediaplatform"
keyPassword "mediaplatform"
v2SigningEnabled false
}
}

}

dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile project(':chartlibrary')
compile project(':ui')
compile files('libs/BaiduLBS_Android.jar')
compile files('libs/BaiduTraceSDK_v3_0_1.jar')
compile files('libs/bos-android-sdk-1.0.2.jar')
compile files('libs/pinyin4j-2.5.0.jar')
compile files('libs/INetSDK.jar')
compile files('libs/IPlaySDK.jar')
compile files('libs/libToUProxy.jar')
compile 'com.android.support:design:25.1.0'
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:support-v4:25.1.0'
compile 'com.android.support:recyclerview-v7:25.1.0'
compile 'com.facebook.rebound:rebound:0.3.8'
compile 'com.mylhyl:zxingscanner:1.2.1'
compile 'com.mylhyl:commonrefreshlayout:1.0'
compile 'com.tencent.mm.opensdk:wechat-sdk-android-with-mta:1.0.2'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.jakewharton:butterknife:8.8.1'
testCompile 'junit:junit:4.12'
}
请教大神该怎么解决。
...全文
10002 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复
内容概要:本文围绕“基于共享储能服务的智能楼宇双层优化配置”展开研究,提出了一种结合上层共享储能配置优化与下层楼宇内部能源调度优化的双层协同模型,通过Matlab代码实现,旨在提升智能楼宇在复杂能源环境下的运行效率与经济性。研究充分考虑光伏出力、负荷需求等不确定性因素,引入多维核密度估计、场景生成与削减等技术进行不确定性建模,并融合需求响应、微电网调度等先进理念,实现了对综合能源系统中储能资源的高效配置与动态调控,具有较强的理论深度与工程应用价值。; 适合人群:具备电力系统、可再生能源、优化算法或综合能源系统等相关背景,从事科研、工程应用或课题研究的研发人员、研究生及高年级本科生。; 使用场景及目标:①应用于智能楼宇、园区微电网、虚拟电厂等场景中的储能规划与运行优化;②支撑高水平学术论文(如EI/SCI)的复现、课题申报、毕业设计及实际项目的双层优化建模与求解实践。; 阅读建议:建议结合提供的Matlab代码进行实操演练,重点理解双层优化架构的设计逻辑、求解策略(如Benders分解、主从博弈等)及不确定性处理方法,同时可参考文中关联技术(如场景生成、需求响应)拓展研究思路与应用场景。

3,119

社区成员

发帖
与我相关
我的任务
社区描述
塞班系统(Symbian系统)是塞班公司为手机而设计的操作系统,它的前身是英国宝意昂公司的 EP ( Electronic Piece of cheese)操作系统。
社区管理员
  • Symbian社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧