Maven to add v7 GridLayout support

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

你可能感兴趣的:(layout)