Showing posts with label wtfSDK. Show all posts
Showing posts with label wtfSDK. Show all posts

26 April 2012

11 July 2011

ADT 12: Not so shiny after all


For all the shininess that ADT 12 promised, it seems that it also broke one major feature of DDMS: Launching emulators.

After updating to ADT 12, I kept on seeing that error when launching an emulator instance. Restarting Eclipse doesn't help any.

Anyway, the apparent cause of this error is that ADT 12 has some problems with the SDK location having spaces. If you have already forgotten, it's in Window > Preferences > Android.

To work around this bug, it is either you move your SDK to a folder in a path without spaces; or, modify the existing path to either of the following:
  • If your SDK is in Program Files: C:/PROGRA~1/<path_to_sdk>
  • If your SDK is in Program Files(x86): C:/PROGRA~2/<path_to_sdk>
Edit (20110711 1943): A bug has already been filed for this issue. Star to be notified of updates.

26 October 2010

Missing hierarchyviewer in SDK 7

If you have SDK version 7, you are most probably missing the hierarchyviewer from your /tools folder. To check your SDK version, launch the SDK manager UI from your installation path, usually C:\android-sdk-windows, then click About.
To run hierarchyviewer, you need to manually create the hierarchyviewer.bat file and add it to your <install_path>/tools directory. The text of the batch file can be copied from here.

And so, you can now run hierarchyviewer as you would if the SDK release isn't effed up. Don't know how to run it? Follow these steps:
a. In Windows, open up a terminal by running cmd.
b. Navigate to your SDK's install path. Since I installed mine in C:\, I would have to type in cd C:\android-sdk-windows\tools
c. Type in hierarchyviewer at the prompt.