java - Design library and support library -


i want use 'com.android.support:design:22.2.0' in android studio(1.3) project when add 'com.android.support:design:22.2.0' dependencies{} 103 errors , can not rid of errors.

same happens if try use new version of appcompat. have compile 'com.android.support:appcompat-v7:19.+' in build.gradle.

anyone have idea?

my errors:

information:gradle tasks [:generatedebugsources, :generatedebugandroidtestsources] :prebuild up-to-date :predebugbuild up-to-date :checkdebugmanifest :prereleasebuild up-to-date :preparecomandroidsupportappcompatv72220library up-to-date :preparecomandroidsupportcardviewv72211library up-to-date :preparecomandroidsupportdesign2220library up-to-date :preparecomandroidsupportsupportv42220library up-to-date :preparecomgoogleandroidgmsplayservices6111library up-to-date :preparepaketekbeaconestimotesdkunspecifiedlibrary up-to-date :preparedebugdependencies :compiledebugaidl :compiledebugrenderscript up-to-date :generatedebugbuildconfig up-to-date :generatedebugassets up-to-date :mergedebugassets up-to-date :generatedebugresvalues up-to-date :generatedebugresources up-to-date :mergedebugresources :processdebugmanifest :processdebugresources /users/matejl/documents/androidstudio projects/paketek-beacon/build/intermediates/exploded-aar/com.google.android.gms/play-services/6.1.11/res/values/wallet_colors.xml error:(2) attribute "color" has been defined /users/matejl/documents/androidstudio projects/paketek-beacon/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/res/values-v21/values-v21.xml error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.inverse'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.large.inverse'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.medium.inverse'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.small.inverse'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.progressbar'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.progressbar.horizontal'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.spinner'. error:(2) error retrieving parent item: no resource found matches given name 'android:theme.material'. error:(2) error retrieving parent item: no resource found matches given name 'android:theme.material.light'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.autocompletetextview'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.button'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.body1'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.body2'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.caption'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.display1'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.display2'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.display3'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.display4'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.headline'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.large'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.popupmenu.large'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.popupmenu.small'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.medium'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.menu'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.searchresult.subtitle'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.searchresult.title'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.small'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.subhead'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.title'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionbar.menu'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionbar.subtitle'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionbar.subtitle.inverse'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionbar.title'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionbar.title.inverse'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionmode.subtitle'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionmode.title'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.popupmenu.large'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.popupmenu.small'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.button'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.textview.spinneritem'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionbar.subtitle'. error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.actionbar.title'. error:(120, 21) no resource found matches given name: attr 'android:coloraccent'. error:(124, 21) no resource found matches given name: attr 'android:colorbuttonnormal'. error:(122, 21) no resource found matches given name: attr 'android:colorcontrolactivated'. error:(123, 21) no resource found matches given name: attr 'android:colorcontrolhighlight'. error:(121, 21) no resource found matches given name: attr 'android:colorcontrolnormal'. error:(118, 21) no resource found matches given name: attr 'android:colorprimary'. error:(119, 21) no resource found matches given name: attr 'android:colorprimarydark'. error:(127, 21) no resource found matches given name: attr 'android:windowelevation'. error:(120, 21) no resource found matches given name: attr 'android:coloraccent'. error:(124, 21) no resource found matches given name: attr 'android:colorbuttonnormal'. error:(122, 21) no resource found matches given name: attr 'android:colorcontrolactivated'. error:(123, 21) no resource found matches given name: attr 'android:colorcontrolhighlight'. error:(121, 21) no resource found matches given name: attr 'android:colorcontrolnormal'. error:(118, 21) no resource found matches given name: attr 'android:colorprimary'. error:(119, 21) no resource found matches given name: attr 'android:colorprimarydark'. error:(127, 21) no resource found matches given name: attr 'android:windowelevation'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.actionbar.tabtext'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.actionbar.tabview'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.actionbutton'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.actionbutton.closemode'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.actionbutton.overflow'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.button'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.button.borderless'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.button.borderless.colored'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.button.small'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.buttonbar'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.compoundbutton.checkbox'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.compoundbutton.radiobutton'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.dropdownitem.spinner'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.light.actionbar.tabtext'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.light.actionbar.tabtext'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.light.actionbar.tabview'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.light.popupmenu'. error:(213, 21) no resource found matches given name: attr 'android:overlapanchor'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.listpopupwindow'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.listview'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.listview.dropdown'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.popupmenu'. error:(213, 21) no resource found matches given name: attr 'android:overlapanchor'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.ratingbar'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.spinner'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.spinner.underlined'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.textview.spinneritem'. error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.toolbar.button.navigation'. error:(120, 21) no resource found matches given name: attr 'android:coloraccent'. error:(124, 21) no resource found matches given name: attr 'android:colorbuttonnormal'. error:(122, 21) no resource found matches given name: attr 'android:colorcontrolactivated'. error:(123, 21) no resource found matches given name: attr 'android:colorcontrolhighlight'. error:(121, 21) no resource found matches given name: attr 'android:colorcontrolnormal'. error:(118, 21) no resource found matches given name: attr 'android:colorprimary'. error:(119, 21) no resource found matches given name: attr 'android:colorprimarydark'. error:(120, 21) no resource found matches given name: attr 'android:coloraccent'. error:(124, 21) no resource found matches given name: attr 'android:colorbuttonnormal'. error:(122, 21) no resource found matches given name: attr 'android:colorcontrolactivated'. error:(123, 21) no resource found matches given name: attr 'android:colorcontrolhighlight'. error:(121, 21) no resource found matches given name: attr 'android:colorcontrolnormal'. error:(118, 21) no resource found matches given name: attr 'android:colorprimary'. error:(119, 21) no resource found matches given name: attr 'android:colorprimarydark'. error:execution failed task ':processdebugresources'. > com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command '/users/matejl/library/android/sdk/build-tools/19.1.0/aapt'' finished non-zero exit value 1 information:build failed information:total time: 5.222 secs information:103 errors information:0 warnings information:see complete output in console 

and build.gradle:

buildscript {     repositories {         mavencentral()     }     dependencies {         classpath 'com.android.tools.build:gradle:1.3.0'     } }  apply plugin: 'android' dependencies {     compile filetree(dir: 'libs', include: '*.jar')     compile 'com.android.support:appcompat-v7:19.+'  //   compile 'com.android.support:support-v4:21.0.0'     compile 'com.google.android.gms:play-services:6.1.11'     compile 'com.android.support:cardview-v7:22.1.1'     compile 'com.android.support:design:22.2.0'     compile project(':estimote-sdk') } android {     signingconfigs {         releaseconfig {             keyalias 'mobile'             keypassword '85922881'             storefile file('/users/matejl/documents/androidstudio projects/mobileworker-sz/release-mobileworker.jks')             storepassword '85922881'             //master passsowr 85922881         }     }     lintoptions {         checkreleasebuilds false         abortonerror false     }     compilesdkversion 19     buildtoolsversion '19.1.0'     sourcesets {         main {             manifest.srcfile 'androidmanifest.xml'             java.srcdirs = ['src']             resources.srcdirs = ['src']             aidl.srcdirs = ['src']             renderscript.srcdirs = ['src']             res.srcdirs = ['res']             assets.srcdirs = ['assets']         }         // move tests tests/java, tests/res, etc...         instrumenttest.setroot('tests')         debug.setroot('build-types/debug')         release.setroot('build-types/release')     }     dexoptions {         predexlibraries = false     }     defaultconfig {         minsdkversion 11         targetsdkversion 19      } productflavors { } } 

thanks :d

if using support , design v22 have compile against sdk 22 have modify compilesdkversion , buildtoolsversion:

compilesdkversion 22 buildtoolsversion '22.0.1' 

remember download api sdk 22 sdk manager.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

python - build a suggestions list using fuzzywuzzy -