2017-04-01 60 views
0

當我嘗試啓動我的Android Studio中的應用程序,它創建了3個錯誤這樣的:沒有資源發現,賜名「機器人相匹配:TextAppearance.Material.Widget.Button.Colored

錯誤:(3)檢索項的父項時出錯:未找到與給定名稱'android:TextAppearance.Material.Widget.Button.Borderless.Colored'匹配的資源。

錯誤:(4)檢索父項的錯誤:找不到與給定名稱'android:TextAppearance.Material.Widget.Button.Colored'匹配的資源。

錯誤:執行任務':app:processDebugResources'失敗。

com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Games\AndroidSDK\build-tools\25.0.2\aapt.exe'' finished with non-zero exit value 1 Here is an image of what I see when I try to start the App

+2

顯示gradle文件,請 –

回答

0

將您的compileSdkVersion設置爲24或更高。現在,看起來您的compileSdkVersion低於24,但您正在使用一些資源(例如,Android支持庫),這些資源的要求爲compileSdkVersion爲24或更高。

相關問題