Skip to content

missing artifact com.android.support:support-v4:jar:21.0.0-rc1 #246

@simongladkoskok

Description

@simongladkoskok

Hi I am new to Maven. I am trying to convert existing Eclipse Android project to Maven Central. Its an open source project. support-v7-appcompat, support-v7-mediarouter and appcompat_v7 are dependencies in the project. So I used sdk deployer to add to local repo. But it gives me an error missing artifact com.android.support:support-v4:jar:21.0.0-rc1 in Eclipse and when I am trying to mvn clean install.
Here is my POM file.
Please help.


4.0.0
com.connectsdk
Connect-SDK-Android
1.3.1
pom
Connect SDK
Connect SDK is an open source framework that connects your
mobile apps with multiple TV platforms.

<licenses>
    <license>
        <name>Apache License, Version 2.0</name>
        <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
        <distribution>repo</distribution>
    </license>
</licenses>

<properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <platform.version> 4.1.1.4
    </platform.version>
    <android.plugin.version>3.6.0</android.plugin.version>
</properties>

<dependencies>
    <dependency>
        <groupId>org.java-websocket</groupId>
        <artifactId>Java-WebSocket</artifactId>
        <version>1.3.0</version>
    </dependency>
    <dependency>
        <groupId>android.support</groupId>
        <artifactId>compatibility-v7-appcompat</artifactId>
        <version>20.0.0</version>
        <type>apklib</type>
    </dependency>
    <dependency>
        <groupId>android.support</groupId>
        <artifactId>compatibility-v7-appcompat</artifactId>
        <version>20.0.0</version>
        <type>jar</type>
    </dependency>
    <dependency>
        <groupId>android.support</groupId>
        <artifactId>compatibility-v7-mediarouter</artifactId>
        <version>20.0.0</version>
        <type>apklib</type>
    </dependency>
    <dependency>
        <groupId>android.support</groupId>
        <artifactId>compatibility-v7-mediarouter</artifactId>
        <version>20.0.0</version>
        <type>jar</type>
    </dependency>
    <dependency>
        <groupId>com.android.support</groupId>
        <artifactId>appcompat-v7</artifactId>
        <version>21.0.0-rc1</version>
        <type>aar</type>
    </dependency>
</dependencies>
<build>

    <finalName>${project.artifactId}</finalName>
    <pluginManagement>
        <plugins>
            <plugin>
                <groupId>com.jayway.maven.plugins.android.generation2</groupId>
                <artifactId>android-maven-plugin</artifactId>
                <version>${android.plugin.version}</version>
                <extensions>true</extensions>
            </plugin>
        </plugins>
    </pluginManagement>
    <plugins>
        <plugin>
            <groupId>com.jayway.maven.plugins.android.generation2</groupId>
            <artifactId>android-maven-plugin</artifactId>
            <configuration>
                <sdk>
                    <platform>16</platform>
                </sdk>
            </configuration>
        </plugin>
    </plugins>
</build>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions