无法使用Eclipse创建新的Android项目 [英] Cannot create a new Android Project using Eclipse
问题描述
我试图创建一个新的Android应用程序项目。
我填写了所有需要的字段来创建一个新的项目,但是当我来到创建一个新的Android应用程序项目的最后一页时,会出现:
此模板取决于Android支持库,该库不是安装的,或者模板取决于您所安装的版本的更新版本。
必需版本:8
已安装版本:未安装
然后它还显示此链接。
http://developer.android.com/sdk/compatibility-library.html
它还有两个按钮:
- 安装/升级
- 再次检查
当我点击第一个按钮时,它不是下载,安装或升级我的任何软件。此消息显示在我的控制台:
[2012-07-15 21:55:08 - SDK Manager]获取https: //dl-ssl.google.com/android/repository/addons_list-2.xml
[2012-07-15 21:55:16 - SDK经理]成功获得的附加组件
[2012 -07-15 21:55:16 - SDK经理]获取网址:https://dl-ssl.google.com/android/repository/repository-7.xml
[2012-07-15 21:55 :37 - SDK Manager]完成加载包。
[2012-07-15 21:55:37 - Android兼容性JAR未找到:] D:\Software\Eclipse\v4\android-support-v4.jar
按钮二根本没有做任何事情。
我下载了压缩文件android-sdk_r20-windows,并将其解压缩到我的硬盘。我使用它来下载以下内容:
- Android SDK工具
- Android SDK Platform-tools
- SDK Platform API8
- Google API 8
我不明白我的问题是什么,我的eclipse工作正常,当我还没有更新它。我忘记了下载一些所需的工具吗?
请帮助我。
添加: 当我导入我以前的Android应用程序(我的应用程序在我的模拟器上运行)时,我的eclipse工作正常,唯一的问题是我无法创建一个新的Android应用程序。
在您下载的Android SDK r20内打开 SDK Manager.exe
。在软件列表中,向下滚动到底部的Extras,然后选择Android支持库。
I recently updated my sdk version from 18 to 20.
I tried to create a new Android Application Project. I filled up all the needed fields to create a new project but when I came to the last page of the creating a new Android Application Project, this appears:
" This templates depends on the Android support library, which is either not installed, or the template depends on a more recent version than the one you have installed.
Required version: 8 Installed version: Not installed "
Then it also displays this link. http://developer.android.com/sdk/compatibility-library.html
It also has two buttons:
- Install/Upgrade
- Check again
When I click the first button, it's not downloading, installing or upgrading any of my software. And this messages display to my Console:
[2012-07-15 21:55:08 - SDK Manager] Fetching https://dl-ssl.google.com/android/repository/addons_list-2.xml
[2012-07-15 21:55:16 - SDK Manager] Fetched Add-ons List successfully
[2012-07-15 21:55:16 - SDK Manager] Fetching URL: https://dl-ssl.google.com/android/repository/repository-7.xml
[2012-07-15 21:55:37 - SDK Manager] Done loading packages.
[2012-07-15 21:55:37 - Android Compatibility JAR not found:] D:\Software\Eclipse\v4\android-support-v4.jar
The button two does not do anything at all.
I downloaded the compressed file 'android-sdk_r20-windows' and extracted it to my hard drive. I used it to download the following:
- Android SDK Tools
- Android SDK Platform-tools
- SDK Platform API8
- Google APIs 8
I don't understand what my problem is, my eclipse works properly when I still haven't updated it yet. Did I forget do download some required tools or something?
Please help me.
Add: My eclipse works fine when I imported my previous Android Applications (my app runs on my emulator), the only problem is that I can't create a new Android Application.
Open SDK Manager.exe
within the Android SDK r20 that you downloaded. In the list of software, scroll down to Extras at the bottom, and choose Android Support Library.
这篇关于无法使用Eclipse创建新的Android项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!