1. check out the deployer https://github.com/mosabua/maven-android-sdk-deployer
2. cd maven-android-sdk-deployer/extras/compatibility-v7-gridlayout
3. mvn install
add the following into the pom.xml
<dependency> <groupId>android.support</groupId> <artifactId>compatibility-v7-gridlayout</artifactId> <version>${compatibility.version}</version> <type>apklib</type> </dependency> <dependency> <groupId>android.support</groupId> <artifactId>compatibility-v7-gridlayout</artifactId> <version>${compatibility.version}</version> <type>jar</type> </dependency>
Maven build your android project