2014-09-19 218 views

回答

2

似乎chartboost罐子不发布到公共Maven仓库,所以你需要通过文件引用它:

dependency { 
    // references a file relative to the project folder 
    files('libs/chartboost.jar') 
} 

添加谷歌玩,你可以使用像这样引用它的服务:

dependencies { 
    // Google Play Services 
    compile 'com.google.android.gms:play-services:5.0.77' 

    // Note: these libraries require the "Google Repository" and "Android Repository" 
    //  to be installed via the SDK manager. 
} 
+0

我需要把这个依赖关系放在哪? – Nahro 2015-09-05 16:33:15

相关问题