Error compiling in Android Studio

1

I made a first project in android studio, but when compiling it it generates 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'.   Error: Execution failed for task ': app: processDebugResources'.

I think it's a mistake in some library, probably different versions of Android, but I could not change. If you can help, thank you.

Edit: I found what it was. A version compatibility error. I just went into build.grad and changed compileSdkVerision and targetSdkVersion to 23

    
asked by anonymous 25.08.2015 / 16:18

2 answers

2

See this response in Stackoverflow in English.

It may be an incompatibility between the version of your compiled SDK and the version of the "support library". Make sure both are the same and if they are not, change one.

    
27.08.2015 / 09:30
1

Look in the xml of some layout attributes: android:TextAppearance.Material.Widget.Button.Inverse android:Widget.Material.Button.Colored

Remove them.

    
27.08.2015 / 05:54