作者热门文章
- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
我在构建 gradle 时在 Android studio 中遇到此错误。
Error:null value in entry: mainDexListProguardOutputFile=null
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion '25.0.0'
defaultConfig {
applicationId "xxx"
minSdkVersion 15
targetSdkVersion 24
versionCode 14
versionName '2.4'
}
buildTypes {
release {
debuggable false
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
debuggable true
minifyEnabled true
}
}
productFlavors {
}
}
repositories {
mavenCentral()
}
dependencies {
---
}
apply plugin: 'com.google.gms.google-services'
clean build 没有工作,我该如何解决这个问题?
最佳答案
来不及回答我自己的问题:
delete .gradle folder from root directory then rebuild.
关于android - 错误 :null value in entry: mainDexListProguardOutputFile=null,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44540050/
我在构建 gradle 时在 Android studio 中遇到此错误。 Error:null value in entry: mainDexListProguardOutputFile=null
我是一名优秀的程序员,十分优秀!