How to find easily the source of an android class

前端 未结 6 1053
别那么骄傲
别那么骄傲 2021-01-02 12:56

I know I can access android source code from https://android.googlesource.com, but it\'s hard to select the right git repo if I only know the package and the name of an andr

6条回答
  •  自闭症患者
    2021-01-02 13:41

    In my opinion today the best way to look into android sources is the github repository :

    https://github.com/android/

    Public java classes can be found here https://github.com/android/platform_frameworks_base/tree/master/core/java/android

    Internal package is here https://github.com/android/platform_frameworks_base/tree/master/core/java/com/android/internal

    Resources are here https://github.com/android/platform_frameworks_base/tree/master/core/res/res

    Support library https://github.com/android/platform_frameworks_support

提交回复
热议问题