0

如何在新的 Google Android SDK 中打开 Android 示例?使用最新的 Google Android SDK 创建新的 android 项目时,似乎现在缺少从现有源创建项目的能力?

4

3 回答 3

3

Go to File menu in Eclipse->New->Others

enter image description here

so you will get open dialog like below image & select "Android Sample Project" then select api level for which you want sample project.

enter image description here

于 2012-08-21T10:11:44.510 回答
1

您可以从 File - Import - Android - Existing Android Code Into Workspace 导入项目

于 2012-08-21T10:13:59.060 回答
1
  1. 在 Eclipse -> Window -> Preferences-> Android 中,确保您已设置 SDK Location 然后 Apply 并按 OK
  2. 选择文件 -> 新建 -> Android 项目
  3. 单击从现有示例创建项目
  4. 选择 SDK 版本并选择您想要的示例
于 2012-08-21T10:18:35.820 回答