gpt4 book ai didi

java - Google store 新规则 Api 23 到 28 为什么 Gradle Update 报错

转载 作者:行者123 更新时间:2023-11-30 05:06:29 26 4
gpt4 key购买 nike

我在不同的项目中有应用程序。应用程序 api 23 一切都在进行中,但当 api 升级又是一个错误时,谷歌新规则适用。如何修复错误?

App Gradle

apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.xxxxxxx.xxx"
minSdkVersion 14
targetSdkVersion 28
versionCode 110
versionName "3.1.6"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-project.txt'
}
}
}
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')

implementation files('libs/volley.jar')

implementation project(':pulltorefresh-and-loadmore')

implementation 'com.android.support:appcompat-v7:+'

implementation 'com.google.code.gson:gson:2.8.2'

implementation 'com.readystatesoftware.systembartint:systembartint:1.0.4'

implementation 'com.google.firebase:firebase-messaging:11.2.2'

implementation 'com.google.firebase:firebase-invites:11.2.2'

implementation 'com.google.android.gms:play-services-vision:11.2.2'

implementation 'me.saket:better-link-movement-method:2'

implementation 'commons-lang:commons-lang:2.6'

implementation 'com.android.support.constraint:constraint-layout:1.1.3'

implementation 'com.github.gcacace:signature-pad:1.2.1'
} apply plugin: 'com.google.gms.google-services'

Gradle 项目中的应用

buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
}
}
apply plugin: 'com.android.library'
apply plugin: 'maven-publish'repositories {
mavenCentral()
}
dependencies {
implementation 'com.android.support:support-v4:28.0.0'
}
android {
compileSdkVersion 28
defaultConfig {
minSdkVersion 7
targetSdkVersion 28
versionCode 1
versionName "1.0"
}

sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
res.srcDirs = ['res']
}
}
}
android.libraryVariants
publishing {
publications {
maven(MavenPublication) {
groupId 'com.costum.android.widget'
artifactId 'pullandloadmore-aar'
version '1.0'
artifact source: file("${project.buildDir}/outputs/aar/${project.name}-release.aar")
}
}
repositories {
maven {
url "file:${projectDir}/maven-repo"
}
}
}

Gradle 项目

buildscript {
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0'
classpath 'com.google.gms:google-services:4.2.0'
}
}
allprojects {
repositories {
jcenter()
maven { url "https://maven.google.com" }
google()
}
}

项目重建或同步得到这个错误

Illegal char at index 7: ....\l?brary_man?fest\debug\AndroidManifest.xml

全部错误 https://1drv.ms/t/s!AgfA3XSEsn0HhtFHUMKZQN_tnCuo-w

最佳答案

我有完全相同的错误。我将 Windows 显示语言从土耳其语更改为英语(美国),问题解决了。

关于java - Google store 新规则 Api 23 到 28 为什么 Gradle Update 报错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54498125/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com