Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

appcompat-v7 sources missing in the android repository

Tags:

java

android

In SDK Manager there is a position named: "Android Support Repository"

In that I can find a jar sources for the libraries like cardview, like support-v4, as well as javadoc jar files. However, in some of the projects, like appcompat or gridlayout there is no sources jar file, or javadoc file.

I was wondering why is that, and also if there is other place where I can get the newest (ver 21.0.0) sources for both? The official android git repository does not contain new java files (for example there is no ActionBarDrawerToggle java file, as well as many others).

like image 699
Lucas Avatar asked Jan 10 '23 14:01

Lucas


1 Answers

Sources for appcompat-v7 are available within "API21/Sources for Android SDK" package which can be downloaded with SDK Manager, the path is \sdk\sources\android-21\android\support\v7\

Android Studio will allow you to browse lib source code when you point this dir as appcompat-v7 source dir root.

like image 184
tomash Avatar answered Jan 19 '23 03:01

tomash