【问题标题】:Entrypoint isn't within the current project入口点不在当前项目中
【发布时间】:2023-01-17 14:49:52
【问题描述】:

我已将我的 android studio 更新为 Android Studio Electric Eel | 2022.1.1.

更新后,它给出了错误入口点不在当前项目中.我在下面附上了我的项目结构。

【问题讨论】:

  • 你的main函数在哪里定义的?
  • 在 lib 目录中。

标签: flutter android-studio dart


【解决方案1】:

我推荐这个步骤(通过这样做,我成为了)

  1. 删除三个目录(android Studio退出后)
    • .android,
    • .ios,
    • .idea
  2. 打开android studio并等待
  3. 并使缓存失效

【讨论】:

    猜你喜欢
    • 2021-02-25
    • 1970-01-01
    • 2014-05-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-08-24
    相关资源
    最近更新 更多