I decided to learn a bit about programming for Android, so I started following the tutorial in the developer.android.com page. I installed Android Studio, created a project following the exact steps detailed here https://developer.android.com/training/basics/firstapp/creating-project.html and when I try to build it I get the following errors
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
Error:(2) Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
I cannot get past this error, googling about the error some suggested to change the SDK version but to no avail. With SDK Manager i have installed the build tools with revision 22.0.1, 23 and 24.3.4
EDIT: Here is the build.gradle file http://pastebin.com/X7635w6G
Change compile sdk to 23 into your build.gradle
from compileSdkVersion 22
to compileSdkVersion 23
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.