I got the following message:
The following classes could not be instantiated: - android.support.v7.widget.GridLayout (Open Class, Show Error Log)
So I looked for a solution and I found that:
- Setting up Android support package v7 for eclipse - GridLayout Not working
- Gridview v7 support for older api android.support.v7.widget.Gridlayout failed to instaniate Not working
- Eclipse giving an error of android.support.v7.widget.GridLayout failed to instantiate Not working
Yes, none of these solutions worked for me...
Here is the layout.xml which is pretty simple:
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.GridLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</android.support.v7.widget.GridLayout>
Minimum API is 10.
Thanks.