如何安装源的android.jar [英] How to attach source to android.jar
问题描述
我是新来的Android。我工作在Windows操作系统与Eclipse IDE中。我简单的应用程序有一个微调框填充从数据库列一个清单。当我点击微调类,文件编辑表示,源未发现的android.jar没有源代码连接。
I am new to Android. I am working in the Windows OS with the Eclipse IDE. My simple application has a spinner that populates a list from database column. When I click on the spinner Class, the file Editor says that source not found and the android.jar has no source attachment.
我下载的源$ C $ c和把它放在这个位置:
I downloaded the source code and placed it in this location:
Android的SDK-WINDOWS \平台\ android的-8
然后,我附在此源通过以下步骤:
Then, I attached this source by these steps:
右键单击该项目=>构建路径=>配置构建路径=>库=>源附件=>注明出处code下载的路径。
right click the project => build path=> configure build path=> libraries => source attachment => give the path of the source code downloaded.
不过,我没有得到我的调试任何解决方案。此外,在微调一下,当它打开了的android.jar没有源代码连接调试。
But, I didn't get any solution for my debug. Again, when clicking on the spinner it opens the debug that android.jar has no source attachment.
推荐答案
要重视源头$ C $下的android.jar,您可以按照本教程下面的链接: http://android.opensourceror.org/2010/01/18/android-源/ 请确保选择正确的平台版本。
To attach source code for android.jar, you may follow the tutorial at the link below: http://android.opensourceror.org/2010/01/18/android-source/ Make sure to choose the correct platform version.
如果您符合difficutly与微调,尽量使样品code,看看它是如何工作的: http://developer.android.com/resources/samples/get.html
If you meet difficutly with spinner, try to get the sample code and see how it works: http://developer.android.com/resources/samples/get.html
祝你好运。 :)
这答案很过时了,请考虑其他的答案。
This answer is quite out of date, please consider other answers.
这篇关于如何安装源的android.jar的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!