添加风味后Flutter插件中的AndroidX问题

时间:2020-03-27 14:30:22

标签: flutter androidx

在Flutter中添加Flavors之后,每个插件都开始显示此错误

失败:构建失败,并出现异常。

* What went wrong:
A problem occurred configuring root project 'connectivity'.
> SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 0s


The plugin connectivity could not be built due to the issue above.

0 个答案:

没有答案