Eclipse中更新Android SDK平台的失败



我正在尝试从Eclipse的SDK Manager中更新一些内容。确切:

  • Android 4.4.2:SDK平台从Rev. 2到3,Google Apis表单Rev. 2至3

执行此操作时,显示一个日志显示以下内容:

Failed to rename directory 
C:Mediaadt-bundle-windows-x86_64-20130522sdkplatformsandroid-19 to 
C:Mediaadt-bundle-windows-x86_64-20130522sdktempPlatformPackage.old01.
[find_lock] Directory locked by javaw.exe

然后,在此消息中出现一个窗口:

-=Warning!=-
The following processes:
- javaw.exe
are locking the following directory:
C:Mediaadt-bundle-windows-x86_64-20130522sdkplatformsandroid-19
Please close these aplications so that the installation can continue.

我什么也不做任何事情来安装它。我尝试关闭此过程,但我都无法做到这一点。

我不久前就面对了同样的问题。尝试重新启动计算机,打开任务管理器,通过任务管理器关闭所有Java应用程序/服务,使用Admin启动SDK Manager,然后重试。

如果那不起作用,则可能需要在启动SDK管理器后尝试关闭流程。如果您仍然遇到问题,您总是可以卸载所有内容并重新安装。

关闭Android Studio或Eclipse(无论运行什么)对我有用。

虽然 SDK Manager 无法一次识别有关该文件夹的解锁,因此在关闭Android Studio后,它在3-4次中弹出了相同的警告。因此,关闭Android Studio/Eclipse后,单击''几次(如果出现警告)。

最新更新