Closed GoogleCodeExporter closed 9 years ago
Stephan will be looking into improving the setup experience.
Workaround: make compatibility jars in android-sdk extras available in your
local maven repository (they are not on maven central).
I used this tool: https://github.com/mosabua/maven-android-sdk-deployer (mvn
install -P 4.3 was enough).
Original comment by vale...@google.com
on 18 Nov 2013 at 6:05
Running maven-android-sdk-deployer is required. After that, everything should
work. Resolving the bug, but it you still have issues, feel free to reopen.
Original comment by vale...@google.com
on 9 Jan 2014 at 7:35
[ERROR] Failed to execute goal on project testapp: Could not resolve
dependencies for project
com.google.android.apps.common.testing:testapp:apk:1.1: The following artifacts
could not be resolved: android.support:compatibility-v4:jar:19.0.1,
android.support:compatibility-v7-appcompat:jar:19.0.1,
android.support:compatibility-v7-appcompat:apklib:19.0.1: Failure to find
android.support:compatibility-v4:jar:19.0.1 in
http://repo.maven.apache.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced -> [Help 1]
First I run the mvn install -P 4.4, but it doesn't help at all.
Original comment by TomR...@gmail.com
on 9 Jan 2014 at 8:19
TomR: `mvn install -P 4.4` was not enough for me. I also had to go into the
'maven-android-sdk-deployer/extras/compatibility-v4/' directory and run `mvn
install` from there.
Original comment by antoine....@gmail.com
on 15 Feb 2014 at 2:06
https://github.com/robolectric/robolectric explains how to resolve the
support-v4 dependancy
Original comment by markreid...@gmail.com
on 11 Jun 2014 at 9:02
I had to update the pom.xml so I didn't have to downgrade my SDK:
<android.v4.support.version>20.0.0</android.v4.support.version>
<android.v7.support.version>20.0.0</android.v7.support.version>
Original comment by Brot...@gmail.com
on 14 Oct 2014 at 8:36
Original issue reported on code.google.com by
mar...@greenrobot.de
on 15 Nov 2013 at 10:48