The official environment package after the new version of the Firebase crash library is confused will report an error:
Execution failed for task ':app:uploadCrashlyticsMappingFileRelease
Caused by: java.lang.IllegalArgumentException: Host name may not be empty
solution:
Add in build.gradle android{}:
gradle.taskGraph.whenReady {
tasks.each { task ->
if (task.name.contains("uploadCrashlyticsMappingFileRelease")) {
task.enabled = false
}
}
}