如何解决Flutter 构建 APK 失败
当我运行“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有关... 谁能告诉我我可以尝试解决这个错误吗?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。