Home Android Studio 3.2 Canary 14: The following packages are not available "Package id platforms;android-28"
Reply: 0

Android Studio 3.2 Canary 14: The following packages are not available "Package id platforms;android-28"

user1998
1#
user1998 Published in May 27, 2018, 3:31 am

Just installed new Android Studio 3.2 Canary 14 build with clean config to try out new AndroidX. After creating new project going to Refactor -> Refactor to AndroidX and Studio asks to upgrade compileSdkVersion to 28. Doing the upgrade in build.gradle got Install missing platform tools and then error: The following packages are not available "Package id platforms;android-28" SDK Manager says that Platform P is partially installed (no source-code package). Update channel set to Canary, tried to completely redownload SDK - did not help. Using Mac OS High Sierra 10.13.4

Here is build.gradle:

apply plugin: 'com.android.application'

apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'

android {
    compileSdkVersion 28
    defaultConfig {
        applicationId "my.app.id"
        minSdkVersion 21
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])
    implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation 'com.android.support:appcompat-v7:28.1.1'
    implementation 'com.android.support.constraint:constraint-layout:1.1.0'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}

Here is my SDK Manager window: SDK Manager Screenshot

Here is my Android Studio build info: Update channel and AS build Screenshot

Thank you for help in advance!

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.307994 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO