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]
试了好多办法都没法更新,最终找到了解决方法,现在分享出来
最终解决办法就是 下载最新的ADT完整包