Your steps are incorrect. Instead of this:
3)Clicked on my own project->Properties->Library pane->Add JARs (as seen below)
Do this (from the Adding libraries with resources section in the instructions):
- In the Project Explorer, right-click your project and select Properties.
- In the Library pane, click Add.
- Select the library project and click OK. For example, the appcompat project should be listed as android-support-v7-appcompat.
- In the properties window, click OK.
Except use gridlayout instead of appcompat, of course
Also, the remaining steps that you did (with the Build and Export tab) should be done to the gridlayout project, not your own project (also detailed in the same section of the instructions).