java - First app in android studio, R class -
i've install android studio learning developing apps in android. i've installed newest java , android studio in first generated hello world project, have many issues r
class. android version rendering 5.1.1.
when click on activity_main.xml
, don't have smartphone illustration design. there following error:
note: project contains java compilation errors, can cause rendering failures custom views. fix compilation problems first. following classes not instantiated: - android.support.v7.internal.widget.actionbaroverlaylayout (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.noclassdeffounderror: not initialize class android.support.v7.internal.widget.actionbaroverlaylayout at java.lang.reflect.constructor.newinstance(constructor.java:422) at android.view.layoutinflater.inflate(layoutinflater.java:482) 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)
how can resolve error?
in preview tab, change preview version "automatically pick best" "21" , should work fine.
Comments
Post a Comment