Error running App

1

I have an app developed in AndroidStudio to add some activities but when trying to execute I have the following error message:

  

Error: (3) Error retrieving parent for item: No resource found that   matches the given name 'android: Widget.Material.Spinner.Underlined'.

    
asked by Efrain Mejias C 30.07.2016 в 00:39
source

1 answer

1

The class that has the problem is Material Design, what you must ensure is to have at least API 21 specified in your project.

android {
    compileSdkVersion 21
    buildToolsVersion '23.0.0'
    ...
    }

and

dependencies {
    compile 'com.android.support:appcompat-v7:21.0.+'
    compile 'com.android.support:cardview-v7:21.0.+'
    compile 'com.android.support:recyclerview-v7:21.0.+'
}

review the document Maintain compatibility of the documentation.

    
answered by 30.07.2016 / 00:46
source