Я не понимаю, почему я получаю
ERROR: Module 'app': platform 'Google Inc.:Glass Development Kit Preview:19' not found.
Потому что я уже установил GDK Preview 19
см. Скриншот
уровень приложения build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion "Google Inc.:Glass Development Kit Preview:19"
buildToolsVersion "29.0.2"
defaultConfig {
applicationId "com.example.myapplication"
minSdkVersion 19
targetSdkVersion 29
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
}
верхний уровень build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Я использую Android Studio 3.5
и при синхронизации получаю Проблемы с установкой SDK , где указано «Приложение» модуля: платформа «Google Inc.