我安装了
Android studio并创建了一个简单的应用程序后,我收到了错误.
步骤如下:
>新鲜下载&安装了Android studio.
>创建一个新项目.
当项目加载时,毕业生失败,错误:
Error:The 'java' plugin has been applied,but it is not compatible with the Android plugins.
模块Gradle文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "info.ankitjc.happybirthday"
minSdkVersion 15
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'