gradle - 分发 4.10.2 后的 gradle 问题
问题描述
我按照所有建议进行 androidX 迁移,但是当我更改分布时
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip
我有这个错误
The Gradle project does not define a task suitable for the requested build.
Review the android/app/build.gradle file and ensure it defines a debug build type.
FAILURE: Build failed with an exception.
* What went wrong:
Task 'null' not found in root project 'android'.
我不知道该怎么办
解决方案
推荐阅读
- php - Codeigniter 3.1.11 / Jquery (AJAX) 不使用 $.cookie 获取 csrf_cookie_name 的值
- python - Fastapi - UploadFile 在 Swagger / docs 中工作时无法使用 HTML 表单
- keycloak - 从 KeyCloak 的帐户管理控制台禁用身份验证器、会话、应用程序、日志和我的资源选项
- java - 如何从多行 PostgreSQL ResultSet 中获取一行并将其存储在 Java 中?
- php - 关系或WhereDoesntHave 不起作用,如何解决?
- javascript - ReactJS:创建 Row 和 Col 的“动态”渲染
- android - 自动更新企业(实习生)应用程序
- redux - 2021 年我应该使用什么 redux-saga 或 redux-thunk?
- python-3.x - 无法从 Heroku 项目中的 AWS S3 读取文件
- angular - 角度静态资产的文件缓存破坏/恢复