由于任务 ':react-native-image-picker:testDebugUnitTest' 执行失败,无法创建 azure 持续集成构建管道
Unable to make azure continuous integration build pipeline due to Execution failed for task ':react-native-image-picker:testDebugUnitTest'
我正在使用 "react-native": "0.62.2" 并且我的 gradle 设置看起来像,
buildToolsVersion = "28.0.3"
minSdkVersion = 23
compileSdkVersion = 28
targetSdkVersion = 28
glideVersion = "4.9.0"
kotlin_version = "1.3.50"
supportLibVersion = "28.0.0"
我在 Azure CI 管道上构建项目时遇到问题
失败:构建失败,出现异常。
- 出了什么问题:
任务 ':react-native-image-picker:testDebugUnitTest' 执行失败。
There were failing tests. See the report at: file:///home/vsts/work/1/s/node_modules/react-native-image-picker/android/build/reports/tests/testDebugUnitTest/index.html
请帮我解决这个问题。
我先添加
解决了这个问题
lintOptions {
abortOnError false
disable 'InvalidPackage'
checkReleaseBuilds false
}
然后
roject.ext.react = [
entryFile: "index.js",
]
我正在使用 "react-native": "0.62.2" 并且我的 gradle 设置看起来像,
buildToolsVersion = "28.0.3"
minSdkVersion = 23
compileSdkVersion = 28
targetSdkVersion = 28
glideVersion = "4.9.0"
kotlin_version = "1.3.50"
supportLibVersion = "28.0.0"
我在 Azure CI 管道上构建项目时遇到问题
失败:构建失败,出现异常。
- 出了什么问题: 任务 ':react-native-image-picker:testDebugUnitTest' 执行失败。
There were failing tests. See the report at: file:///home/vsts/work/1/s/node_modules/react-native-image-picker/android/build/reports/tests/testDebugUnitTest/index.html
请帮我解决这个问题。
我先添加
解决了这个问题 lintOptions {
abortOnError false
disable 'InvalidPackage'
checkReleaseBuilds false
}
然后
roject.ext.react = [
entryFile: "index.js",
]