Я открыл проект AndroidStudio в моем IntelliJ. Я хотел бы поработать с IntelliJ в будущем, поэтому я бы хотел переключиться.
Но я получаю
Не удалось выполнить задачу ': app: compileDebugJavaWithJavac'
Ошибка при сборке и я понятия не имею, для чего решение. Я уже попробовал несколько подсказок, но теперь мне нужно спросить.
Мой выпускник:
apply plugin: 'com.android.application'
android {
lintOptions {
checkReleaseBuilds false
// Or, if you prefer, you can continue to check for errors in release builds,
// but continue the build even when errors are found:
abortOnError false
}
compileSdkVersion 27
buildToolsVersion '27.0.2'
defaultConfig {
applicationId "xxx"
minSdkVersion 19
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
// manifestPlaceholders = [versionCode:"161", versionName:"2.37"]
vectorDrawables.useSupportLibrary = true
}
buildTypes {
release {
minifyEnabled false
buildConfigField "String", "appID", "\"RELEASE\""
}
full {
buildConfigField "String", "appID", "\"FULL\""
}
debug {
}
}
compileOptions.encoding = 'ISO-8859-1'
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:27.0.2'
testCompile 'junit:junit:4.12'
compile 'org.apache.commons:commons-lang3:3.5'
}
В разделе «Структура проекта» -> Project SDK я установил Java SDK 1.8.
Может ли кто-нибудь помочь / дать мне подсказку?