Rendering error while creating project for android ICS -


i switching android studio. have created blank activity android ics sdk.

after configure startup wizard application. getting build error in layout file view.

view layout file getting error :

rendering problems rendering failed known bug. please try rebuild.  following classes not instantiated: - android.support.v7.widget.toolbar (open class, show exception, clear cache)  tip: use view.isineditmode() in custom views skip code or show sample data when shown in ide  exception details java.lang.nosuchfielderror: view_theme   at android.support.v7.internal.widget.viewutils.themifycontext(viewutils.java:124)   at android.support.v7.widget.toolbar.<init>(toolbar.java:198)   at android.support.v7.widget.toolbar.<init>(toolbar.java:192)   at java.lang.reflect.constructor.newinstance(constructor.java:526)   at android.view.layoutinflater.rinflate_original(layoutinflater.java:806)   at android.view.layoutinflater_delegate.rinflate(layoutinflater_delegate.java:64)   at android.view.layoutinflater.rinflate(layoutinflater.java:782)   at android.view.layoutinflater.rinflate_original(layoutinflater.java:809)   at android.view.layoutinflater_delegate.rinflate(layoutinflater_delegate.java:64)   at android.view.layoutinflater.rinflate(layoutinflater.java:782)   at android.view.layoutinflater.inflate(layoutinflater.java:504)   at android.view.layoutinflater.inflate(layoutinflater.java:414)   at com.android.layoutlib.bridge.bars.bridgeactionbar.<init>(bridgeactionbar.java:84)   at com.android.layoutlib.bridge.bars.appcompatactionbar.<init>(appcompatactionbar.java:56) copy stack clipboard  failed find style corresponding id 2147418120 (3 similar errors not shown)  

below content of build.gradle (module:app)

apply plugin: 'com.android.application'  android {     compilesdkversion 22     buildtoolsversion "22.0.1"      defaultconfig {         applicationid "ec.ys.com.counter"         minsdkversion 16         targetsdkversion 22         versioncode 1         versionname "1.0"     }     buildtypes {         release {             minifyenabled false             proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro'         }     } }  dependencies {     compile filetree(dir: 'libs', include: ['*.jar'])     compile 'com.android.support:appcompat-v7:22.1.1' } 


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -