2014-09-19 134 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

相關問題