转载:http://my.oschina.net/panqing/blog/287851
android SDK更新到23.0.2后创建新项目无法创建MainActivity和默认布局,这个时候就需要更新ADT到23.0.2
更新时报如下错误
Your original request has been modified.
“Android DDMS” is already installed, so an update will be performed instead.
“Android Development Tools” 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.
“Android Traceview” 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 Hierarchy Viewer 23.0.2.1259578 (com.android.ide.eclipse.hierarchyviewer.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:
Hierarchy Viewer 23.0.2.1259578 (com.android.ide.eclipse.hierarchyviewer 23.0.2.1259578) Hierarchy Viewer 23.0.0.1245622 (com.android.ide.eclipse.hierarchyviewer 23.0.0.1245622)
Cannot satisfy dependency:
From: eclipse 23.0.0.1245622 (adtproduct 23.0.0.1245622) To: com.android.ide.eclipse.hierarchyviewer.feature.feature.group [23.0.0.1245622]
Cannot satisfy dependency:
From: Android Hierarchy Viewer 23.0.0.1245622 (com.android.ide.eclipse.hierarchyviewer.feature.feature.group 23.0.0.1245622) To: com.android.ide.eclipse.hierarchyviewer [23.0.0.1245622]
Cannot satisfy dependency:
From: Android Hierarchy Viewer 23.0.2.1259578 (com.android.ide.eclipse.hierarchyviewer.feature.feature.group 23.0.2.1259578) To: com.android.ide.eclipse.hierarchyviewer [23.0.2.1259578]
试了好多办法都没法更新,最终找到了解决方法,现在分享出来
原文链接:https://code.google.com/p/android/issues/detail?id=73102
最终解决办法就是 下载最新的ADT完整包
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
附网盘下载链接链接:http://pan.baidu.com/s/1jGDon6Q 密码:uqii