I am facing the error when try to upgrade to android 15
error: failed to load include path D:\AndroidSDK\platforms\android-35\android.jar.
But I have installed the Android 35 (after start facing the error, tried uninstall and reinstall android 35, invalidate caching on android studio, clear the .gradle folder..etc)
Android Studio 2025.1.1 Patch 1
App level gradle
defaultConfig {
multiDexEnabled true
applicationId "com.myapp"
minSdkVersion 21
targetSdkVersion 35
versionCode 156
versionName "3.1.2"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
signingConfig signingConfigs.debug
}
Project level gradle
repositories {
google()
jcenter()
maven {url "https://jitpack.io"}
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0'
classpath 'com.google.gms:google-services:4.3.14'
//Safe args
classpath 'androidx.navigation:navigation-safe-args-gradle-plugin:2.4.1'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.7'
}
Is there anyone found a solution?