哪里可以找到android示例? [英] Where can the android samples be found?
问题描述
我检查了Google开发人员网站上Android开发中的一些练习和示例,并找到了以下网页:
I checked google developers website for some exercises and examples in Android Development and I found this webpage: http://developer.android.com/tools/samples/index.html which says
下载完成后,您可以找到所有程序的源代码.此位置的示例:/samples/android-
When the download is complete, you can find the source code for all samples at this location: /samples/android-
我找不到那个位置!我应该怎么办?而且,如果您知道适合初学者学习的更好的练习方式,请告诉我!
I didn't find that location! What should I do? And if you know a better practicing way for a beginner to learn,let me know please!
推荐答案
您需要确保已安装SDK示例:
You will need to make sure the SDK samples are installed:
此图像来自SDK Manager.一旦检查了所需API的样本并安装了所有内容,就可以轻松创建Eclipse项目:
This image is from the SDK Manager. Once you check off the samples for the APIs you want, and everything is installed, you can easily make an Eclipse project:
文件->新->其他->Android示例项目
File -> New -> Other -> Android Sample Project
或者您可以直接导航到路径.您可以从我的屏幕截图中看到,对我而言,它位于 Program Files \ Android \ android-sdk
中,示例位于 samples
子目录中.
Or you can navigate directly to the path. You can see from my screenshot, that for me it is in Program Files\Android\android-sdk
with the samples being in the samples
subdirectory.
这篇关于哪里可以找到android示例?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!