这些是我收到的错误;
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\AndyKhayaMhlanga\.gradle\daemon\helloWorld3\app\build.gradle' line: 1
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Could not create plugin of type 'AppPlugin'.
> com/android/ide/common/blame/MessageReceiver
* 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
CONFIGURE FAILED in 9s
ERROR: Unable to load class 'com.android.ide.common.blame.MessageReceiver'.
Possible causes for this unexpected error include:
Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.)
Re-download dependencies and sync project (requires network)
The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this problem.
Stop Gradle build processes (requires restart)
Your project may be using a third-party plugin which is not compatible with the other plugins in the project or the version of Gradle requested by the project.
In the case of corrupt Gradle processes, you can also try closing the IDE and then killing all Java processes.
最佳答案
您可以尝试它建议的一些操作。我将再次开始同步 Gradle:在 Android Studio 中,执行 File -> Sync Project with Gradle Files
这将确保下载所有依赖项。
关于java - 在 android studio 上创建我的第一个 HelloWorld 应用程序时出现问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54952924/