Missing artifact com.android.support:support-v13:jar:18.0.0

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Missing artifact com.android.support:support-v13:jar:18.0.0

jellyice
Hi

I am a newbie in Maven and Cling, I'm trying to build Cling with eclipse

But there is an error I can't fix it

At project cling-demo-android, pom.xml shows:

"Missing artifact com.android.support:support-v13:jar:18.0.0"

When I try to execute "mvn clean install" on terminal, I also get:

"Failed to execute goal on project cling-demo-android-browser: Could not resolve dependencies for project org.fourthline.cling:cling-demo-android-browser:apk:2.0-SNAPSHOT: Could not find artifact com.android.support:support-v13:jar:18.0.0 in 4thline-repo (http://4thline.org/m2) -> [Help 1]"

I'm using Mac OS X 10.7.5 and eclipse 3.7.2

Please give me some advice on how to fix it, thanks a lot!!!
Reply | Threaded
Open this post in threaded view
|

Re: Missing artifact com.android.support:support-v13:jar:18.0.0

rooster
In the Android SDK manager, try installing Extras > Google Repository and Extras > Android Support Repository.


On Fri, Sep 6, 2013 at 4:10 AM, jellyice [via Mailinglists] <[hidden email]> wrote:
Hi
I am a newbie in Maven and Cling, I'm trying to build Cling with eclipse
But there is an error I can't fix it
At project cling-demo-android, pom.xml shows "Missing artifact com.android.support:support-v13:jar:18.0.0"
I also get "Failed to execute goal on project cling-demo-android-browser: Could not resolve dependencies for project org.fourthline.cling:cling-demo-android-browser:apk:2.0-SNAPSHOT: Could not find artifact com.android.support:support-v13:jar:18.0.0 in 4thline-repo (http://4thline.org/m2) -> [Help 1]" when I try to execute "mvn clean install" on terminal
I'm using Mac OS X 10.7.5 and eclipse 3.7.2
Please give me some advice on how to fix it, thanks a lot!!!


If you reply to this email, your message will be added to the discussion below:
http://mailinglists.945824.n3.nabble.com/Missing-artifact-com-android-support-support-v13-jar-18-0-0-tp4025923.html
To start a new topic under Cling users and developers, email [hidden email]
To unsubscribe from Cling users and developers, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Missing artifact com.android.support:support-v13:jar:18.0.0

jellyice
Hi

Thanks for reply

But I had already installed everything in the android sdk manager including Extras > Google Repository and Extras > Android Support Repository.

Any other possibilities?
Reply | Threaded
Open this post in threaded view
|

Re: Missing artifact com.android.support:support-v13:jar:18.0.0

Peter
In reply to this post by jellyice
I am getting the same error. I have the support library installed.

maven clean install -e shows:

[INFO] Reactor Summary:
[INFO]
[INFO] Cling ............................................. SUCCESS [0.155s]
[INFO] Cling Core ........................................ SUCCESS [1:19.809s]
[INFO] Cling Demo ........................................ SUCCESS [0.006s]
[INFO] Cling Demo Android ................................ SUCCESS [0.009s]
[INFO] Cling Demo Android Browser ........................ FAILURE [0.094s]
[INFO] Cling Demo Android Light .......................... SKIPPED
[INFO] Cling Demo OSGi ................................... SKIPPED
[INFO] Cling Demo OSGi Basic Device ...................... SKIPPED
[INFO] Cling Demo OSGi Lights ............................ SKIPPED
[INFO] Cling Support ..................................... SKIPPED
[INFO] Cling Workbench ................................... SKIPPED
[INFO] Cling MediaRenderer ............................... SKIPPED
[INFO] Cling OSGi ........................................ SKIPPED
[INFO] Cling OSGi Base Driver ............................ SKIPPED
[INFO] Cling Website ..................................... SKIPPED
[INFO] Cling Distribution ................................ SKIPPED
[INFO] Cling OSGi Tests .................................. SKIPPED
[INFO] Cling OSGi Test Common Library .................... SKIPPED
[INFO] Cling OSGi Test Simple Device ..................... SKIPPED
[INFO] Cling OSGi Test Integration ....................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:21.227s
[INFO] Finished at: Thu Oct 24 15:44:46 PDT 2013
[INFO] Final Memory: 21M/98M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cling-demo-android-browser: Could not resolve dependencies for project org.fourthline.cling:cling-demo-android-browser:apk:2.0-SNAPSHOT: Failure to find com.android.support:support-v13:jar:18.0.0 in http://4thline.org/m2 was cached in the local repository, resolution will not be reattempted until the update interval of 4thline-repo has elapsed or updates are forced -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project cling-demo-android-browser: Could not resolve dependencies for project org.fourthline.cling:cling-demo-android-browser:apk:2.0-SNAPSHOT: Failure to find com.android.support:support-v13:jar:18.0.0 in http://4thline.org/m2 was cached in the local repository, resolution will not be reattempted until the update interval of 4thline-repo has elapsed or updates are forced
        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
        at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.fourthline.cling:cling-demo-android-browser:apk:2.0-SNAPSHOT: Failure to find com.android.support:support-v13:jar:18.0.0 in http://4thline.org/m2 was cached in the local repository, resolution will not be reattempted until the update interval of 4thline-repo has elapsed or updates are forced
        at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
        at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
        ... 22 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find com.android.support:support-v13:jar:18.0.0 in http://4thline.org/m2 was cached in the local repository, resolution will not be reattempted until the update interval of 4thline-repo has elapsed or updates are forced
        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
        at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
        ... 23 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to find com.android.support:support-v13:jar:18.0.0 in http://4thline.org/m2 was cached in the local repository, resolution will not be reattempted until the update interval of 4thline-repo has elapsed or updates are forced
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
        at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
        ... 24 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure to find com.android.support:support-v13:jar:18.0.0 in http://4thline.org/m2 was cached in the local repository, resolution will not be reattempted until the update interval of 4thline-repo has elapsed or updates are forced
        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232)
        at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518)
        at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436)
        ... 26 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cling-demo-android-browser
Reply | Threaded
Open this post in threaded view
|

Re: Missing artifact com.android.support:support-v13:jar:18.0.0

Christian Bauer
Administrator
Peter wrote
I have the support library installed.
No, you don't. Seriously, none of these problems has anything to do with Cling. You need to read up on how to use Android and Maven. At the minimum, you need to understand that the SDK installation doesn't copy anything into your local Maven repository, you have to do this yourself (or create a symlink). Again, not related to Cling, something you should learn how to do anyway. (Yes, it sucks, but if you think this is painful, wait until you see more of Android.)

Reply | Threaded
Open this post in threaded view
|

Re: Missing artifact com.android.support:support-v13:jar:18.0.0

Jake
In reply to this post by jellyice
First:

In the Android SDK manager, try installing Extras > Google Repository and Extras > Android Support Repository.

Then:

Copy dir android-sdk\extras\android\m2repository\com\android\support\ to .m2\repository\com\android\