How to import a maven module to an Android Studio project -


i include retrofit module in android studio project (because plan on making few modifications retrofit library support json web tokens). problem retrofit maven project , android studio won't let me import it. there way around this?

a similar question has been asked before, received no answers.

use custom group and/or artifact in pom of clone, clone cannot confused original.

build , install clone of retrofit using maven usual: mvn install. (using command line or ide other android studio.) have build retrofit clone manually after each change make it, gradle see changes.

add local maven repository gradle script. see https://docs.gradle.org/2.5/dsl/org.gradle.api.artifacts.dsl.repositoryhandler.html#org.gradle.api.artifacts.dsl.repositoryhandler:mavenlocal():

repositories {     mavenlocal() } 

add gav of clone dependency gradle script:

dependencies {     compile 'com.yourgroup:retrofit:1.9.0-custom' } 

Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -