我正在尝试将现有项目从 Eclipse 转换为 Android Studio
我想尽可能多地放置从 jcenter() 或 mavenCentral() 存储库中提取的 Gradle 插件
我对如何搜索这些感到有些困惑 我发现的三个网站都没有返回令人满意的结果
三者中最好的似乎是 mvnrepository
这三个都没有返回 Microsoft Live SDK 的结果。假设不存在此插件并且我必须将其包含为项目是否正确?
我通过导入 Studio 生成的依赖项 - 我更改的 Facebook 除外
dependencies {
compile 'com.facebook.android:facebook-android-sdk:3.23.1'
compile project(':liveSdk')
compile 'com.google.http-client:google-http-client-gson:1.19.0'
compile 'com.google.code.gson:gson:2.1'
compile 'com.android.support:mediarouter-v7:18.0.0'
compile 'com.android.support:appcompat-v7:18.0.0'
compile 'com.google.android.gms:play-services:+'
compile files('libs/YouTubeAndroidPlayerApi.jar')
compile files('libs/dropbox-android-sdk-1.5.4.jar')
compile files('libs/google-api-client-1.18.0-rc.jar')
compile files('libs/google-api-client-android-1.18.0-rc.jar')
compile files('libs/google-api-services-drive-v2-rev119-1.18.0-rc.jar')
compile files('libs/google-http-client-1.18.0-rc.jar')
compile files('libs/google-http-client-android-1.18.0-rc.jar')
compile files('libs/google-oauth-client-1.18.0-rc.jar')
compile files('libs/jackson-annotations-2.2.2.jar')
compile files('libs/jackson-core-2.2.2.jar')
compile files('libs/jackson-databind-2.2.2.jar')
compile files('libs/json_simple-1.1.jar')
}