【发布时间】:2020-11-12 21:39:39
【问题描述】:
我在 IOS 模拟器中编译我的应用程序,它运行 find,当我尝试在 android 模拟器或 android 手机上运行它时,它给了我这个错误。 我已经安装了所有的 SDK,但我仍然有这个问题。
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app_settings:compileDebugAidl'.
> Failed to find Platform SDK with path: platforms;android-R
我正在发布我的构建 gradle 文件和 sdk 管理器的屏幕截图: build gradle file
【问题讨论】:
-
项目结构有什么问题吗?
-
你真的安装了android SDK吗?在 AS 升级后,我发现有些东西丢失了 - 删除软件包并重新安装它们有时会有所帮助。
标签: android flutter android-fragments sdk android-gradle-plugin