[英]Hello i am having an error while trying to run my first app on android studio
以下是我的错误信息,我需要帮助
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\Beejay\first_app\android\app\build.gradle' line: 24
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
> Could not create plugin of type 'AppPlugin'.
> Could not generate a decorated class for type AppPlugin.
> com/android/utils/ILogger
我期待在我的模拟器上运行该应用程序
首先,在您的项目中:
android/build.gadle
文件com.android.tools.build.gradle
,是这样的:buildscript {
...
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
...
}
}
参考这个查看版本, Android Gradle 插件发行说明
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.