I downloaded the repository:
git://android.git.kernel.org/platform/frameworks/base.git
But I found it’s not enough. For example, most of the source code for the packages like java., javax. were not there.
What else repository do I need to download?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, that’s not really the source code to
android.jar. Theandroid.jaron your development machine is a JAR of stubs for the non-hidden classes and methods that form the basis of the SDK.Second, downloading one Git repository usually isn’t particularly useful if you want to work with the code. You are going to need all of the repositories, as is documented on the Android Open Source Project site.
Some of what you are seeking are in the libcore repository. Other classes are in other repositories, presumably.