Flutter 构建 APK 失败

时间:2021-03-10 08:56:26

标签: flutter build apk androidx

当我运行“flutter build apk”时,我收到以下消息:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'launcher_assist'.
> The SDK directory '/home/simple/Android/Sdk' does not exist.

* 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

当我在调试器中运行应用程序时,它在模拟器上运行良好。我认为这与AndroidX有关... 谁能告诉我我可以尝试解决这个错误吗?

0 个答案:

没有答案