开发者

Android in Eclipse autocompletes arg0, arg1,

Come on, I know this is simple, but I can't find an answer. When I autocomplete in Android in Eclipse, the methods get param names like arg0, arg1, etc. Presumably, this would be better if I had source or something for Android located somewhere, but there are 14,000 git repositories for it and I don't know开发者_StackOverflow中文版 which to grab or what to do after.

Can someone help?? I don't want "View arg0" I want "View v" or something. :-)


You are correct that adding the Android source will solve this problem for you. There are two options, you can follow the instructions to download the source, or alternatively, you can download a jar file from someone who has done the work for you. This bug report has links to various versions of the source.


You can use an Eclipse plugin created by some google devs (iiuc) on google code. Just use this update site in Eclipse and it will provide an android sources to all of your projects.

Slightly more info is available here (search this page for "Android Source")

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜