Error while compiling in Android Studio

Asked

Viewed 5,462 times

1

I made a first project in android studio, but when compiling 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'.

It seems to me that it is error in some library, probably of different versions of Android, only I could not change. If you can help, I appreciate.

Edit: I found q was. A versioning compatibility error. I only went to build.Radle and changed the compileSdkVerision and targetSdkVersion to 23

2 answers

2

Behold that answer in Stackoverflow in English.

It may be an incompatibility between the version of your compiled SDK and the version of the "support library". Check that both are equal and if they are not, change one of them.

1

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

Remove them.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.