Expected BEGIN_OBJECT but was BEGIN_ARRAY at line 1 column 2 path
app级的build.gradle
// ignoreWarnings true 查看 Gradle 出现错误的 物理位置
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
// ignoreWarnings true
}
莫名的出现这个问题
方式签名失败 无法生成 apk
packagingOptions {//加上这写代码
exclude 'META-INF/MANIFEST.MF'
}
使用Gradle 编译apk 不用Build 进行编译
右上角 Gradle 项目名 #Tasks #build # assembleApk 名称
输出路径为 项目名 # app # build # outputs # apk # apk 名称 # release