aboutsummaryrefslogtreecommitdiff
path: root/changes.txt
diff options
context:
space:
mode:
authorRaphael Moll <ralf@android.com>2010-12-29 14:57:38 -0800
committerRaphael Moll <ralf@android.com>2011-01-03 21:56:58 -0800
commit2b53c912359ac3016f20b7b19cf893acbddb82cc (patch)
tree0b653df61c3439a4885963d9f9e4ca27439ef557 /changes.txt
parent7cb26434691539a9091e618e623766be5b57dc26 (diff)
downloadsdk-2b53c912359ac3016f20b7b19cf893acbddb82cc.tar.gz
SDK Manager: Rework install logic.
This should get rid of the annoying behavior on Windows that prevent the "folder swap" operation due to the folders being locked. Cf public issue 4410. High level summary of the issue and the fix: the old behavior was to unzip in a temp folder, then rename the old folder to another temp file and finally rename the new folder at the desired location. This fails typically when there is a file indexer (e.g. anti-virus) scanning the new folder so we can't move that folder. The new logic is to try to move the old folder first into a temp folder. If the fail move, we have a lock on the old folder and ask the user to fix it manually. They probably have a file opened and it's a legit issue to report. Once that succeeded we can directly unzip the archive into the final destination without using a temp unzip location, thus avoiding the common "indexer in progress" issue. In case the unzip operation fails, we try to copy (not move) the old folder back. Change-Id: I5ed67ff626532fe7cc48a45e87d1dbaf6954f28a
Diffstat (limited to 'changes.txt')
-rw-r--r--changes.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/changes.txt b/changes.txt
index b06aa6804..1173d6065 100644
--- a/changes.txt
+++ b/changes.txt
@@ -6,9 +6,10 @@ Revision 10:
* ignore classes extending android.app.backup.BackupAgentHelper
- Ant lib rules now allow for overriding java.encoding, java.source, and java.target
- Default encoding for Ant javac is now UTF-8
+- Fix "folder locked" errors when installing packages in SDK Manager on Windows.
Revision 9:
-- fix packaging issue that broke draw9patch
+- Fix packaging issue that broke draw9patch
- Ant build rules will now check the Ant version
Revision 8: