安卓出现了个问题,查了好久,改不动。。

港岛爷爷zx 2017-04-22 01:28:05
Error:In <declare-styleable> ConstraintSet, unable to find attribute android:elevation
Error:org.gradle.process.internal.ExecException: Process 'command 'D:\zx\Laboratory\SDK\2\androidsdk\build-tools\25.0.1\aapt.exe'' finished with non-zero exit value 1
Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Error while executing process D:\zx\Laboratory\SDK\2\androidsdk\build-tools\25.0.1\aapt.exe with arguments {package -f --no-crunch -I D:\zx\Laboratory\SDK\2\androidsdk\platforms\android-14\android.jar -M \\?\D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\res\merged\debug -m -J \\?\D:\zx\Laboratory\an\NEWUTSIM\app\build\generated\source\r\debug -F D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package com.uts -0 apk --output-text-symbols \\?\D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\symbols\debug --no-version-vectors}
Error:com.android.ide.common.process.ProcessException: Error while executing process D:\zx\Laboratory\SDK\2\androidsdk\build-tools\25.0.1\aapt.exe with arguments {package -f --no-crunch -I D:\zx\Laboratory\SDK\2\androidsdk\platforms\android-14\android.jar -M \\?\D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\manifests\full\debug\AndroidManifest.xml -S D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\res\merged\debug -m -J \\?\D:\zx\Laboratory\an\NEWUTSIM\app\build\generated\source\r\debug -F D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\res\resources-debug.ap_ --debug-mode --custom-package com.uts -0 apk --output-text-symbols \\?\D:\zx\Laboratory\an\NEWUTSIM\app\build\intermediates\symbols\debug --no-version-vectors}
Error:com.android.ide.common.process.ProcessException: Failed to execute aapt
Error:java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Failed to execute aapt
...全文
10807 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
eastellar 2017-06-13
  • 打赏
  • 举报
回复
我也 遇到这个问题了,困惑了好久。 The android:elevation attribute is pretty new. It defines the lift of the view on which its applied. It's used in Material Design in the newest Android Versions. 意思是android:elevation这个参数是较新版本上才出现的。旧版本不支持? 修改biuld.gradle 文件。 android { compileSdkVersion 25 buildToolsVersion '25.0.0'
bu会水的鱼 2017-05-04
  • 打赏
  • 举报
回复
解决了吗?我也遇到同样的问题,很蛋疼啊
_周星星 2017-04-24
  • 打赏
  • 举报
回复
你看 是不是 jar包 引用重复了 就是导入了相同的jar包 重复了 还有一个可能是xml文件中资源引用错误 反正 那个错误 0和1 就是这2种情况 具体那种 我记不得了
内容概要:本文详细介绍了利用Simulink进行变压器开路试验的电路连接配置与仿真实现方法,重点在于通过仿真手段还原实际电力系统中变压器在空载条件下的电气特性,从而深入理解其工作原理与性能表现。文章作为电力系统仿真系列研究的一部分,系统阐述了从电路模型搭建、参数设定、仿真运行到结果分析的完整流程,突出展示了MATLAB/Simulink在电力设备建模与教学科研中的强大功能与应用价值。; 适合人群:具备电力系统基础知识,熟悉MATLAB/Simulink仿真环境,从事电气工程、自动化及相关领域的研发人员,以及高年级本科生和研究生。; 使用场景及目标:①掌握变压器开路试验的基本原理与Simulink仿真建模的具体步骤;②通过仿真实验深入理解空载电流、铁芯损耗及励磁特性等关键参数的物理意义;③为后续开展变压器短路试验、暂态过程分析以及其他电力设备的仿真研究奠定理论与实践基础。; 阅读建议:建议结合Simulink软件动手实践,逐步构建并调试电路模型,重点关注各元件参数的设置方法与测量模块的应用技巧,同时推荐参考文中提及的其他相关仿真案例进行拓展学习,以全面提升对电力系统仿真实践的整体认知与操作能力。

3,119

社区成员

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

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