我使用新的 SDK 工具(修订版 23)更新了 Eclipse,但现在当 Eclipse 启动时,我收到错误消息:
此 Android SDK 需要 Android Developer Toolkit 版本 23.0.0 或更高版本。当前版本是 22.6.3.v201404151837-1123206。请将 ADT 更新到最新版本。
使用 “检查更新”未 找到更新。如果我尝试 “安装新软件” ,我可以看到版本 23,但由于以下错误,我无法升级:
Cannot complete the install because of a conflicting dependency. Software being installed: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622) Software currently installed: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290) Only one of the following can be installed at once: ADT Package 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.package 22.6.3.v201404151837-1123206) ADT Package 23.0.0.1245622 (com.android.ide.eclipse.adt.package 23.0.0.1245622) Cannot satisfy dependency: From: Android Development Tools 23.0.0.1245622 (com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622) To: com.android.ide.eclipse.adt.package [23.0.0.1245622] Cannot satisfy dependency: From: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206) To: com.android.ide.eclipse.adt.package [22.6.3.v201404151837-1123206] Cannot satisfy dependency: From: ADT Package 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.feature.group 22.2.1.v201309180102-833290) To: com.android.ide.eclipse.adt.feature.group 22.2.0 Cannot satisfy dependency: From: Android Developer Tools 22.2.1.v201309180102-833290 (com.android.ide.eclipse.adt.package.product 22.2.1.v201309180102-833290) To: com.android.ide.eclipse.adt.package.feature.group [22.2.1.v201309180102-833290]
从网站下载最后一个 ADT 后,似乎还有另一个问题。
使用 SDK 工具修订版。23 proguard未安装,文件夹SDKdir/tools/proguard丢失,其他工具丢失。这个版本包含几个错误。
dir/tools/proguard
Google 发布了 ADT v23.0.2。这解决了以前 ADT 版本 23 的许多问题。
一步步:
https://dl-ssl.google.com/android/eclipse
注意:我安装新版ADT时,没有包含新版“Android Native Development Tools”包。相反,我先安装了其余的包,然后安装了“Android Native Development Tools”。出于某种原因,如果我尝试安装包括“Android Native Development Tools”在内的所有新软件包,安装将失败。