分发后的gradle问题4.10.2

时间:2019-03-23 12:00:37

标签: gradle flutter

我按照所有的要求进行了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'.

我不知道该怎么办

0 个答案:

没有答案