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

港岛爷爷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
...全文
9127 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种情况 具体那种 我记不得了

3,120

社区成员

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

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