当我运行“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有关... 谁能告诉我我可以尝试解决这个错误吗?