无法在Eclipse中创建活动 [英] Unable to create activity in eclipse

查看:188
本文介绍了无法在Eclipse中创建活动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚才下载的是Eclipse朱诺,当我创建活动,它没有显示在我的项目了。我曾尝试安装 http://dl-ssl.google.com/android/eclipse/正如其他人建议,但与此错误出现:

 您的原始请求已经被修改。  Android的Traceview已经安装,所以更新将代替执行。
  Android开发工具已经安装,所以更新将代替执行。
  Android的DDMS已经安装,所以更新将代替执行。
  Android的层次结构查看器已经安装,这样的更新将被代替执行。
  Android本机开发工具已经安装,所以更新将代替执行。
  对于OpenGL ES的示踪已经安装,所以更新将代替执行。
无法完成安装,因为冲突的依赖。
  正在安装软件:Android开发工具23.0.2.1259578(com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578)
  软件目前已安装:月食23.0.0.1245622(adtproduct 23.0.0.1245622)
  只有以下情况之一可立即安装:
    Android的开发工具包23.0.2.1259578(com.android.ide.eclipse.adt 23.0.2.1259578)
    Android的开发工具包23.0.0.1245622(com.android.ide.eclipse.adt 23.0.0.1245622)
  不能满足依赖性:
    来源:月食23.0.0.1245622(adtproduct 23.0.0.1245622)
    要:com.android.ide.eclipse.adt.feature.feature.group [23.0.0.1245622]
  不能满足依赖性:
    来源:Android开发工具23.0.0.1245622(com.android.ide.eclipse.adt.feature.feature.group 23.0.0.1245622)
    要:com.android.ide.eclipse.adt [23.0.0.1245622]
  不能满足依赖性:
    来源:Android开发工具23.0.2.1259578(com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578)
    要:com.android.ide.eclipse.adt [23.0.2.1259578]


这是谷歌提供的最新捆绑的错误。请参见 HTTP://$c$c.google.com/ p /安卓/问题/细节?ID = 72912


  • 有没有办法更新,你可能已经下载了现有的ADT包。

  • 您可以做两个选项之一:


    1. 从eclipse.org安装Eclipse所指向的更新站点安装ADT: HTTPS ://dl-ssl.google.com/android/eclipse


    2. 从这里下载软件包:




  

Linux的64位虚拟机:
   http://dl.google.com/android/adt /adt-bundle-linux-x86_64-20140702.zip


  
  

在Linux 32位虚拟机:
   http://dl.google.com/android/adt /adt-bundle-linux-x86-20140702.zip


  
  

MAC:
   http://dl.google.com/android/adt /adt-bundle-mac-x86_64-20140702.zip


  
  

Win32的:
   http://dl.google.com/android/adt /adt-bundle-windows-x86-20140702.zip


  
  

Win64的:
   http://dl.google.com/android/adt /adt-bundle-windows-x86_64-20140702.zip


与ADT包23.0.2开始,你应该能够更新到ADT的未来版本。

I have just downloaded eclipse juno and when I create an activity, it isn't showing up in my project. I have tried installing http://dl-ssl.google.com/android/eclipse/ as others have suggested but it comes up with this error:

Your original request has been modified.

  "Android Traceview" is already installed, so an update will be performed instead.
  "Android Development Tools" is already installed, so an update will be performed instead.
  "Android DDMS" is already installed, so an update will be performed instead.
  "Android Hierarchy Viewer" is already installed, so an update will be performed instead.
  "Android Native Development Tools" is already installed, so an update will be performed instead.
  "Tracer for OpenGL ES" is already installed, so an update will be performed instead.
Cannot complete the install because of a conflicting dependency.
  Software being installed: Android Development Tools 23.0.2.1259578 (com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578)
  Software currently installed: eclipse 23.0.0.1245622 (adtproduct 23.0.0.1245622)
  Only one of the following can be installed at once: 
    Android Development Toolkit 23.0.2.1259578 (com.android.ide.eclipse.adt 23.0.2.1259578)
    Android Development Toolkit 23.0.0.1245622 (com.android.ide.eclipse.adt 23.0.0.1245622)
  Cannot satisfy dependency:
    From: eclipse 23.0.0.1245622 (adtproduct 23.0.0.1245622)
    To: com.android.ide.eclipse.adt.feature.feature.group [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 [23.0.0.1245622]
  Cannot satisfy dependency:
    From: Android Development Tools 23.0.2.1259578 (com.android.ide.eclipse.adt.feature.feature.group 23.0.2.1259578)
    To: com.android.ide.eclipse.adt [23.0.2.1259578]

解决方案

This is a bug with the latest bundle provided by Google. See http://code.google.com/p/android/issues/detail?id=72912.

  • There is no way to update an existing ADT bundle that you might have downloaded.
  • You can do one of two options:

    1. Install eclipse from eclipse.org and install ADT by pointing to the update site: https://dl-ssl.google.com/android/eclipse

    2. Download bundles from here:

linux 64 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip

linux 32 bit vm: http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip

mac: http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip

win32: http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip

win64: http://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip

Starting with ADT bundle 23.0.2, you should be able to update to future versions of ADT.

这篇关于无法在Eclipse中创建活动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆