您好目前我已经在我的游戏中实现了应用程序索引,深层链接,但它是使用整个google-play-services.jar文件开发的,API级别越来越高,因此我在哪里可以获得特定的游戏服务-appindexing:维护Max API级别的8.4.0.aar文件?
答案 0 :(得分:0)
enter code here- apply plugin: 'com.android.library'android {
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/BCKEY.DSA'
exclude 'META-INF/services/javax.annotation.processing.Processor'
exclude 'META-INF/maven/com.google.guava/guava/pom.properties'
exclude 'META-INF/maven/com.google.guava/guava/pom.xml'
exclude 'META-INF/BCKEY.SF'
exclude 'AUTHORS'
}
compileSdkVersion 23
buildToolsVersion "23.0.2"
sourceSets {
main {
//Path to your <span id="IL_AD2" class="IL_AD">source code</span>
java {
srcDir 'src/main/java'
}
}
}
defaultConfig {
minSdkVersion 15
targetSdkVersion 23
multiDexEnabled = true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
lintOptions {
abortOnError false
}
}
}
enter code here- dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.google.android.gms:play-services:8.4.0'
compile files('release/AppIndexingPlugin.jar')}