27
Oct
image

The Android 4.0 API that was released together with the unveiling of the Galaxy Nexus also brought us, developers, ADT 14 and SDK Tools r14, which quite a few people started having problems with almost immediately. The tools were released in an incomplete state based on my experience with ADT 14-preview, as some serious and known bugs weren't fixed when 14-final came out. I have a feeling the ICS event kind forced the corresponding ADT/tools 14 release and prompted Google to roll it out in what I consider a broken state (many reported crashes, broken Logcat, etc).

Thankfully, the tools team (hi, Tor and Xav!) persistently worked on the issues and just released ADT 15 and SDK Tools 15, brining much relief to those of us experiencing said problems (the un-pausable scrolling Logcat was killing me in the last few weeks).

SNAGHTML28a42d7b SNAGHTML28a6af95

ADT 15 is updateable from within Eclipse (Help -> Check for updates), while SDK Tools are updatable from within themselves - just start them up and have them check for updates.

Here is what the updates bring to the table.

ADT 15

ADT 15.0.0 (October 2011)

Dependencies:
ADT 15.0.0 is designed for use with SDK Tools r15. If you haven't already installed SDK Tools r15 into your SDK, use the Android SDK and AVD Manager to do so.
Bug fixes:
  • Fixed build issue when using Renderscript in projects that target API levels 11-13 (Issue 21006).
  • Fixed issue when creating projects from existing source code.
  • Fixed issues in the SDK Manager (Issue 20939, Issue 20607).
  • Fixed scrolling issue in the new Logcat panel of DDMS.

SDK Tools r15

SDK Tools, Revision 15 (October 2011)

Important: To download the new Android 4.0 system components from the Android SDK Manager, you must first update the SDK tools to revision 14 or later and restart the Android SDK Manager. If you do not, the Android 4.0 system components will not be available for download.

Dependencies:
  • Android SDK Platform-tools revision 9 or later.
  • If you are developing in Eclipse with ADT, note that the SDK Tools r15 is designed for use with ADT 15.0.0 and later. If you haven't already, we highly recommend updating your ADT Plugin to 15.0.0.
  • If you are developing outside Eclipse, you must have Apache Ant 1.8 or later.
Bug fixes:
  • Fixed emulator crash on Linux due to improper webcam detection (Issue 20952).
  • Fixed emulator issue when using the -wipe-data argument.
  • Fixed build issue when using Renderscript in projects that target API levels 11-13 (Issue 21006).
  • Fixed issue when creating an AVD using the GoogleTV addon (Issue 20963).
  • Fixed ant test (Issue 20979).
  • Fixed android update project (Issue 20535).
  • Fixed scrolling issue in the new Logcat panel of DDMS.
  • Fixed issue with MonkeyRunner (Issue 20964).
  • Fixed issues in the SDK Manager (Issue 20939, Issue 20607).

Happy coding!

Artem Russakovskii
Artem is a die-hard Android fan, passionate tech blogger, obsessive-compulsive editor, bug hunting programmer, and the founder of Android Police.
Most of the time, you will find Artem either hacking away at code or thinking of the next 15 blog posts.

  • http://www.cs.uml.edu/~nvervoor Nick Ver Voort

    Oh my god thank the Googly heavens for this. Almost every single one of these bugs were driving me insane.

  • powell

    Great, I was waiting for these fixes.

  • Dominick

    SDK r15 won't update on my windows machine. It keeps telling me to disable my anti-virus software (which I did) yet it still won't work. Very frustrating

    • http://www.AndroidPolice.com Artem Russakovskii

      Are you sure you don't have adb running? Exit Eclipse, then go to your task manager and kill adb if it's hanging around there. That's likely the issue.

      • Dominick

        Nah - adb isn't running - I made sure by typing 'adb kill-server' from the platform-tools directory, but it's still hanging up. It's my work laptop and even thought I stopped and disabled Symantec, I would bet that something related to our corporate software is scanning those directories....thanks though....

        • http://www.AndroidPolice.com Artem Russakovskii

          Hrm, well, try rebooting and start just the SDK Manager. Otherwise, try filing a bug at http://b.android.com.

        • http://www.AndroidPolice.com Artem Russakovskii

          Same problem now on my work win7x64 machine. Try the solution offered by Andrew below - it worked for me (comment #13 in that link).

  • someone

    Why didn't they make the emulator faster as they promised and help with the screen fragmentation problems?

  • Andrew

    The bug is 2 years old :(

    These instructions helped me to upgrade:
    http://code.google.com/p/android/issues/detail?id=4410#c38

  • appelflap

    what does the scrolling issue solve? Does it solve that there's no automatic scrolling in the log cat viewer? If so, I rather stay with adt 14 :) Never found a way to stop the log cat from scrolling in other versions. (Or does anybody know of a magic trick. Read somewhere that a scroll lock helps... but none of my new keyboards has that function anymore lol)

  • kibria3

    I am having a problem with the installation, I saw the release of ICS and thought I might as well update, but then every time I restart the SDK manager it keeps telling me to install the same updates even though it says its installed..

    • http://www.AndroidPolice.com Artem Russakovskii

      I actually had the same issue on one of my machines. Ended up blowing up the whole install and redoing it from scratch.

  • bas

    If you get the error with anti virus
    Navigate to android sdk
    Make a copy of the tools directory and place it in the same directory (tools-copy)
    Execute android.bat from tools-copy
    Do the update
    Close the manager and remove tools-copy folder its actually done in normal tools map

    • Dominick

      aaah sweet. That worked.

      Thanks everyone for your help - the Android community truly is the best!!

  • Kunal

    Hello, I am an android developer from India. Today, that is 3rd Nov at 8:30 p.m. IST, when I opened the SDK Manager it shows rev 15 only available for download...I wanted an old platform...Is there an issue with the android repository or am I missin something...?????:-(