Error:Execution failed for task':app:process DebugResources';

来源:互联网 发布:电脑健身软件 编辑:程序博客网 时间:2024/05/17 23:59

问题:   ror:Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\AppData\A\build-tools\24.0.0\aapt.exe'' finished with non-zero exit value 1

> Project with path ':sTLivenessLibrary' could not be found in project ':app'.

Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

一:

 右键工程选择 ——Open Module Settings ——Properties

    检查下:compileSdkVersion                 

                     buildToolsVersion 

    两个属性:看下版本是否过高或者过低

二:

     看下  build.gradle 文件。 注意是你所依赖的Module 里的build.gradle文件里的

                 dependencies{

                       compile fileTree(include:[“*。jar”],dir:‘libs’             //注释掉这行,重新clean  run一下。当然这个要根据你依赖的module具体情况用途来确定。

                         }                               

 

 

 

 

 

 

 

0 0
原创粉丝点击