Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android API 32 Sources not Found

I am currently using Android Studio Arctic Fox and was trying to dig into the source code of several key Java classes in the Android API 32, however, it states that there are no packages found to download. Is the source for Android API 32 not available yet or is there a few steps I can take to get Android Studio to be able to look at the Java source code?

like image 473
user3394898 Avatar asked Jul 12 '26 13:07

user3394898


2 Answers

As per documentation they didn't publish 32 yet. Check this -
https://developer.android.com/studio/releases/platforms

enter image description here

like image 79
Al-Amin Avatar answered Jul 15 '26 01:07

Al-Amin


32 is now published!

Old Solution

  1. Open the app build.gradle
  2. Change compileSdk to 31
  3. Change targetSdk to 31

enter image description here

Go to the desired source and click the download button at the top (warning message).

enter image description here

Close the tab and open the source again.

enter image description here

like image 30
ILYAS_Kerbal Avatar answered Jul 15 '26 01:07

ILYAS_Kerbal