Android中间产品错误?appcompat-v7/cfc_跟踪器:processReleaseResources

Android中间产品错误?appcompat-v7/cfc_跟踪器:processReleaseResources,android,android-studio,gradle,Android,Android Studio,Gradle,我正在尝试导入一个开源项目,它可以在每个人的windows机器上运行,但不能在我的机器上运行 最奇怪的事情发生了,当我去构建应用程序时,中间层中的所有东西都爆炸了。特别是应用程序兼容的样式文件夹中的项目?不完全是做任何与主题相关的事情 /Users/x/repos/vv/hues/android/cfc_tracker/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-v11/v

我正在尝试导入一个开源项目,它可以在每个人的windows机器上运行,但不能在我的机器上运行

最奇怪的事情发生了,当我去构建应用程序时,中间层中的所有东西都爆炸了。特别是应用程序兼容的样式文件夹中的项目?不完全是做任何与主题相关的事情

/Users/x/repos/vv/hues/android/cfc_tracker/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-v11/values.xml
Error:(47, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(47, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(47, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(47, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
/Users/x/repos/vv/hues/android/cfc_tracker/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-v14/values.xml
Error:(17, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(17, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(17, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
Error:(17, 21) No resource found that matches the given name: attr 'android:actionModeShareDrawable'.
/Users/x/repos/vv/hues/android/cfc_tracker/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.0.0/res/values-v21/values.xml
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Large.Inverse'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Medium.Inverse'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Small.Inverse'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ProgressBar.Horizontal'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Spinner'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Dialog'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:Theme.Material.Light.Dialog'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Button'.
Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material'.
我看到的唯一错误是

Error:Execution failed for task ':cfc_tracker:processReleaseResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/Users/x/Library/Android/sdk/build-tools/21.1.2/aapt'' finished with non-zero exit value 1
如果我跑

/gradlew assembleDebug --stacktrace 
我明白了

我不知道发生了什么事。这是一台新的笔记本电脑,所以我可能没有正确设置路径

 ~/.profile


GRADLE_HOME=/usr/local/Cellar/gradle;
export GRADLE_HOME
export JAVA_HOME=$(/usr/libexec/java_home)

export PATH=$PATH:$GRADLE_HOME/bin:JAVA_HOME

经过大量挖掘,我发现一些人在谈论编译后的SDK

这个问题让我抓狂,因为在我的个人笔记本电脑上它工作正常,没问题!然而,笔记本电脑已经有一个月没有更新了

解决办法是 在没有任何问题的情况下使用CompileSDK版本21和TargetSDK版本21,并在sdk 19上部署

 ~/.profile


GRADLE_HOME=/usr/local/Cellar/gradle;
export GRADLE_HOME
export JAVA_HOME=$(/usr/libexec/java_home)

export PATH=$PATH:$GRADLE_HOME/bin:JAVA_HOME