我尝试在 build.gradle 文件中使用以下行添加。编译'com.kontakt.sdk.android:library:2.1.0'
它在获取构建文件时显示错误但是对于 sdk 版本 1.0.6 它的工作编译'com.kontakt.sdk.android:library:1.0.6'
请建议我正确的路径 build.gradle 文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
applicationId "com.slotic"
minSdkVersion 18
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions{
exclude 'main/AndroidManifest.xml'
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:design:23.2.1'
compile 'com.kontakt.sdk.android:library:2.1.0'
}