我觉得我很蠢或者我错过了一些东西 - 希望后者 - 但是我无法正确导入依赖.
我在〜/ .m2/repository中有存储库,在目录中我可以看到部署.
maven setting.xml有
<localRepository>${user.home}/.m2/repository</localRepository>
Run Code Online (Sandbox Code Playgroud)
这是gradle文件:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':lib_facebook')
compile project(':lib_dslrdashboard')
apt "org.androidannotations:androidannotations:3.2"
compile 'org.androidannotations:androidannotations-api:3.2'
compile 'de.livereach:rpc-objects-android:1.0.0'//THIS IS THE LOCAL DEPENDENCY
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'org.slf4j:slf4j-android:1.6.1-RC1'
compile 'org.springframework.android:spring-android-rest-template:1.0.1.RELEASE'
compile 'com.fasterxml.jackson.core:jackson-databind:2.3.2'
compile 'de.keyboardsurfer.android.widget:crouton:1.8.5@aar'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
compile 'com.github.castorflex.smoothprogressbar:library:1.1.0'
compile('com.crashlytics.sdk.android:crashlytics:2.2.3@aar') {
transitive = true;
}
compile('com.twitter.sdk.android:twitter:1.4.0@aar') {
transitive = true;
}
Run Code Online (Sandbox Code Playgroud)
}
我在Mac OSx 10.10上
提前致谢!