【问题标题】:Problem with id 'com.android.application' not found未找到 id 'com.android.application' 的问题
【发布时间】:2020-04-27 16:54:28
【问题描述】:

我是 android 的初学者,但我遇到了问题。 我配置了我的第一个模拟器和我的第一个项目,但出现了一些错误。

            Consult IDE log for more details (Help | Show Log) (26 s 860 ms)

Android Studio is using the following JDK location when running Gradle:
            C:\Program Files\Android\Android Studio\jre
            Using different JDK locations on different processes might cause Gradle to
            spawn multiple daemons, for example, by executing Gradle tasks from a terminal
            while using Android Studio.

Caused by: org.gradle.api.plugins.UnknownPluginException: Plugin with id 'com.android.application' not found.```

【问题讨论】:

  • 发布你的 build.gradle 文件

标签: java android sdk android-ndk


【解决方案1】:

尝试清理项目并重建它。还要重新启动 AVD。

【讨论】:

  • 嗨。谢谢你的回答,但我明白了。我不记得我到底做了什么,但它奏效了。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2019-01-02
  • 2020-02-17
  • 1970-01-01
  • 2014-09-07
相关资源
最近更新 更多