I am getting the following error in Android Studio layout preview :
Rendering Problems The following classes could not be found:android.support.v7.widget.Toolbar (Fix Build Path, Create Class)
Tip: Try to build the project."
I am using Android Studio 1.3 Preview 3 release. with buildToolsVersion "21.1.2", com.android.tools.build:gradle:1.3.0-beta1", compileSdkVersion 21.
The App builds successfully and runs perfectly on my phone though. How can solve this issue? Note that the problem is NOT of instantiation as pointed by the possible duplicate. The issue is only in rendering, the App builds and runs without issues.