问题
I can't find the source code for the Android Development Tools Plugin for Eclipse. It seems to have been moved a few times, and when I google the question, the answers point to the wrong places. Also http://source.android.com/discuss seems to be down.
回答1:
For Android open source project downloaded in May 2011, the source for the eclipse plugins was in <aosp_root>/sdk/eclipse/plugins
$ cd sdk/eclipse/plugins; ls
com.android.ide.eclipse.adt
com.android.ide.eclipse.hierarchyviewer
com.android.ide.eclipse.tests
com.android.ide.eclipse.ddms
com.android.ide.eclipse.pdt
com.android.ide.eclipse.traceview
回答2:
For me
git clone "https://android.googlesource.com/platform/sdk"
worked
回答3:
Source code for ADT 22.6 is here
https://android.googlesource.com/platform/sdk/+/tools_r22.6/eclipse/plugins/
For older versions, Check following link and search for respective branch name as "tools_{version}"
https://android.googlesource.com/platform/sdk/+refs
回答4:
You can find it here, try it:
https://android.googlesource.com/platform/sdk/+/tools_r22.6/eclipse/plugins/
来源:https://stackoverflow.com/questions/3487398/where-can-i-find-the-source-code-for-the-android-development-tools-adt-plugin