I am running into trouble either setting up the support v7 GridLayout library in my IntelliJ project, or properly referencing it in my code.
I currently use the Acti
A little simpler solution:
First you need to add dependency to gradle anyway, so open build.gradle and
dependencies {
compile 'com.android.support:support-v4:13.0.+'
compile "com.android.support:gridlayout-v7:18.0.+"
}
This is what http://developer.android.com/tools/support-library/setup.html# but it does not seem to work fully. So then you need to make android studio recognize it.
after rebuilding project it started working for me.