The Following Classes Couldn't Be Instantiated
On my homeactivity.xml it says: The following classes could not be instantiated: - android.support.design.widget.CoordinatorLayout (Open Class, Show Exception, Clear Cache) - and
Solution 1:
as commented you have to include the dependencies
for design which is like this, this will be added under the dependencies
block of the app
module of the build.gradle
compile'com.android.support:design:23.1.1'
it should be something like this ..
if the design
dependencies
is not included in the build.gradle
and you try to use mentioned classes
in your question you will not be able to render those classes
and the error you get in layout would be something like this
Solution 2:
I upgraded to Android Studio 2.0. That solve the problem for me. I can see the render now. My only error message at this point is: "
Post a Comment for "The Following Classes Couldn't Be Instantiated"