'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?
Solution 1:[1]
As per documentation they didn't publish 32 yet. Check this -
https://developer.android.com/studio/releases/platforms
Solution 2:[2]
32 is now published!
Old Solution
- Open the app
build.gradle
- Change
compileSdk
to 31 - Change
targetSdk
to 31
Go to the desired source and click the download
button at the top (warning message).
Close the tab and open the source again.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Al-Amin |
Solution 2 | modsfabio |