History log of /sdk/sdklauncher/sdklauncher.c
Revision Date Author Comments
58fd50795e20449fcf880022a9debbbcb2357376 11-Nov-2011 Raphael <raphael@google.com> SDK Manager Windows: detach from java process.

This fixes 2 issues:
- A bug in android.bat was that the bat+lib were
only copied if the arguments were 'update sdk'.
However since Tools R14 the sdkmanager doesn't
use these arguments anymore.
- Consequently when invoked as 'android sdk' it was
not copying itself in the temp folder and thus
was locking the tools folder, preventing updates.
- The new behavior is to always copy, like that we
don't care how the app is launched.

- The SDK Manager.exe was launching android.bat and
then waiting for it to finish, capturing its
stdout in care there's an error to display.
That locks SDK Manager.exe and thus prevent from
updating it too. So instead we just don't wait for
the bat to finish, don't capture/display its stdout.
If there's an error, the user can still use the
command line version to find out what's wrong.

SDK Bugs: 21212:SDK Setup.exe [keeps] an open file handle
SDK Bugs: 11989:SDK Manager.exe should be able to detach
(it doesn't do the part where the sdk manager could restart
itself after an update though. I'll file a different issue.)

Change-Id: Id473ce58d3f36d417b6c0ee5f07a039adbbe06c0
fb098496a1460ed7b4bab997bc2acd96934236e7 16-Sep-2011 Raphael <raphael@google.com> AVD Launcher.exe for the Windows SDK.

In Tools R14, the Windows SDK will have 2 icons in the root
of the SDK: one to launch the AVD window, and a different one
to launche the SDK Manager window.

I'll need to change the icon in a later CL. I don't have
any ICO editor at hand right now.

Change-Id: Ic651e3c3d71c2eac5fe851fba8ea2782eca5e594
859fa3ad3a72dd3cd140785c8b7b4dc166ae8cb8 22-Aug-2010 Raphael Moll <ralf@android.com> SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"

Merged from master to tools_r7

Change-Id: Ib8e702344dd2d593d7f7e6d56b0c3534480ff376
0913421ffd4ab078bc2f9472c73f1e5bbf9525c4 22-Aug-2010 Raphael Moll <ralf@android.com> SDK: Rename "SDK Setup.exe" to "SDK Manager.exe"

Change-Id: Id62b59e75e92fe14376353211dd59d89f4ee63c6
63e26969a95147b5cc266e0b7a49a956931256f3 28-Apr-2010 Raphael Moll <ralf@android.com> SDK Setup fixes.

- SDK Setup: cd to the SDK dir, to cope with the case
where the setup is executed from a shortcut with a
different base directory.

- SDK Manager: properly detect "update sdk" and "update avds"
commands.

(Merge SDK Setup fix from master open Change I1f0d32ff)

Change-Id: I35fc55a5967225f19def89d5c3015dd72f26a36c
886a4f368cf3e793403b1b637e8f54f7a3ffb8e4 28-Apr-2010 Raphael Moll <ralf@android.com> SDK Setup fixes.

- SDK Setup: cd to the SDK dir, to cope with the case
where the setup is executed from a shortcut with a
different base directory.

- SDK Manager: properly detect "update sdk" and "update avds"
commands.

Change-Id: I1f0d32fffd71d3fa0856e753a80505f3dcd076d1
d4963dc4347c871be5faa76920709001490e1d2a 24-Feb-2010 The Android Open Source Project <initial-contribution@android.com> snapshot
ea66c92f80d9745721cfa28e22f2726b76579158 27-Jan-2010 Raphael <raphael@google.com> SDK Launcher: capture stdout from batch file.

Change-Id: Iab4e8f54bf2039cd9a17b1e814ffdc3ccd3deb23
e13151727c63786342cddc3ea355425582bd4e7a 13-Jan-2010 The Android Open Source Project <initial-contribution@android.com> android-2.1_r1 snapshot
312c9ed171a7fff530b3b7a4e6a87ead9b0d6522 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
6508be1224ddec08910c464d2a905c4c2e1f7d80 12-Oct-2009 Raphael <raphael@google.com> New "SDK Launcher" for Windows.

This simple .exe will sit at the root of the Windows SDK
and currently simply executes tools\android.bat

It uses the same icon as the emulator.

Eventually it should simply replace the batch file.

Change-Id: I5359971fd476d6809d4ccb6bc0a0bcd34e30a3e6