java - Error retrieving parent for item in Android Studio -


new android development. have created "hello world" project in android studio (version 1.3.1). experimenting how show logs , see how app run. here have in mainactivity.java automatically created android studio , added log tag.

public class mainactivity extends appcompatactivity {      private static final string tag = "mjmessagefromactivities"     @override     protected void oncreate(bundle savedinstancestate) {         super.oncreate(savedinstancestate);         setcontentview(r.layout.activity_main);         log.i(tag, "oncreate");     }      @override     public boolean oncreateoptionsmenu(menu menu) {          getmenuinflater().inflate(r.menu.menu_main, menu);         return true;     }      @override     public boolean onoptionsitemselected(menuitem item) {          int id = item.getitemid();          if (id == r.id.action_settings) {             return true;         }          return super.onoptionsitemselected(item);     } } 

when run app see logs in ddms, receive below 3 error:

error:(2) error retrieving parent item: no resource found matches given name 'android:textappearance.material.widget.button.inverse'  error:(2) error retrieving parent item: no resource found matches given name 'android:widget.material.button.colored'  error:execution failed task ':app:processdebugresources'. > com.android.ide.common.process.processexception: org.gradle.process.internal.execexception: process 'command 'c:\users\smart\appdata\local\android\sdk\build-tools\23.0.0\aapt.exe'' finished non-zero exit value 1 

and here build.gradle content:

buildscript {     repositories {         jcenter()     }     dependencies {         classpath 'com.android.tools.build:gradle:1.3.0'          // note: not place application dependencies here; belong         // in individual module build.gradle files     } }  allprojects {     repositories {         jcenter()     } } 

could please guide me on how fix above error in order see logs?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -