1. 更新Android SDK時出現以下錯誤:
[post_tools_install.bat] Updating SDK Manager.exe
[post_tools_install.bat] 已複製 0 個文件。
[post_tools_install.bat] Error: 另一個程序正在使用此文件,進程無法訪問。
解決方法:
在你的SDK安裝包下,把Tools 文件夾copy一個副本在sdk下面,然後在你 copy出來的tools下麵點擊android.bat ,雙擊運行,這樣就可以了。 (在SDK 安裝或更新完後,可以將這個Tools副本刪除掉。 )
當然,在Eclipse下新建的Android工程就不再會報錯了。
2. 更新Android SDK時出現文件不能寫入的警告提示,并不能正常更新,提示內容類似:
-= Warning ! =-
A folder failed to be renamed or moved. On Windows this typically
means that a program is using that folder (for example Windows
Explorer.) Please close all running programs that may be locking the
directory ‘C:workandroid-sdk-windowstempPlatformPackage.new01′ and
try again.
些是只要下載unlocker軟體把使用到/tools目錄下的文件應用程序關閉即可,軟體下載地址:
http://download.cnet.com/Unlocker/3000-2248_4-10493998.html
這個是關閉使用當前文件或文件夾的進程軟體。
除非注明,干草博客文章均为原创,转载请以链接形式标明本文地址
本文地址:http://www.tmper.com/blog/android-study-notes-consolidation-error-problem-solving/
