i have maven android project depends on version 21.0.3 of compatibility-v4 , compatibility-v7-appcompat. can see how use maven-android-sdk-deployer obtain latest versions of these libraries (currently 22.0.1), incompatible.
how can obtain version 21.0.3 of these libraries , use them within maven build?
use gradle dependencies:
dependencies { com.android.support:appcompat-v7:21.0.3 // current 22.2.0 } some other previous versions:
- 22.0.0
- 21.1.1
- 21.1.0
- 21.0.3
- 21.0.0
- 19.1.0
- 19.0.2
- 19.0.1
you may need have versions downloaded need download them through android sdk manager:
https://developer.android.com/tools/support-library/setup.html#download
see support library docs here:
https://developer.android.com/tools/support-library/features.html
after making sure have correct dependencies locally, can use android sdk repo project's pom.xml:
<repositories> <repository> <id>android-support</id> <url>file://${env.android_home}/extras/android/m2repository</url> </repository> </repositories> ...... <dependency> <groupid>com.android.support</groupid> <artifactid>support-v4</artifactid> <version>19.0.1</version> </dependency>
Comments
Post a Comment