79721146

Date: 2025-07-31 10:39:03
Score: 5
Natty:
Report link

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?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Blacklisted phrase (2): anyone found
  • RegEx Blacklisted phrase (1): I am facing the error
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Waseem