Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d1ecaf39 authored by Scott Main's avatar Scott Main Committed by Android Git Automerger
Browse files

am 15423b20: am 226e973f: am 8afb3ba4: Merge "docs: SDK r21.0.1 Release Notes" into jb-mr1-dev

* commit '15423b20':
  docs: SDK r21.0.1 Release Notes
parents 0aa3df58 15423b20
Loading
Loading
Loading
Loading
+25 −25
Original line number Diff line number Diff line
@@ -3,42 +3,42 @@ header.hide=1
page.metaDescription=Download the official Android SDK to develop apps for Android-powered devices.

sdk.win32_bundle_download=adt-bundle-windows-x86.zip
sdk.win32_bundle_bytes=417851015
sdk.win32_bundle_checksum=42d9a6c15113d405a97eed05e6d42e2b
sdk.win32_bundle_bytes=418030942
sdk.win32_bundle_checksum=ce32861d8f7c93ff6ff6971bd99d228e

sdk.win64_bundle_download=adt-bundle-windows-x86_64.zip
sdk.win64_bundle_bytes=417851515
sdk.win64_bundle_checksum=73bdd1168fce0e36a27255a4335c865d
sdk.win64_bundle_bytes=418155677
sdk.win64_bundle_checksum=f09aa4557bd1dc2703fde95dcdd6b92e

sdk.mac64_bundle_download=adt-bundle-mac-x86_64.zip
sdk.mac64_bundle_bytes=382957959
sdk.mac64_bundle_checksum=a320f8bbaee8572a36e68c434564bdd0
sdk.mac64_bundle_bytes=383216991
sdk.mac64_bundle_checksum=ea6c074ee30c426c503dab5c225a5076

sdk.linux32_bundle_download=adt-bundle-linux-x86.zip
sdk.linux32_bundle_bytes=411065882
sdk.linux32_bundle_checksum=39687b06fedfea7487ff0824a4d32ee8
sdk.linux32_bundle_bytes=411205048
sdk.linux32_bundle_checksum=e64594cd339b8d9a400b9d16c616b3c3

sdk.linux64_bundle_download=adt-bundle-linux-x86_64.zip
sdk.linux64_bundle_bytes=411217430
sdk.linux64_bundle_checksum=b0590fe9c1533da9b20ea65525b77677
sdk.linux64_bundle_bytes=411478695
sdk.linux64_bundle_checksum=582bfc9083ff4cbcfacc8223bd8c3be1



sdk.win_installer=installer_r21-windows.exe
sdk.win_installer_bytes=77523031
sdk.win_installer_checksum=29ca8cb8f0bc8db627fa2adc2139a3cc
sdk.win_installer=installer_r21.0.1-windows.exe
sdk.win_installer_bytes=76520869
sdk.win_installer_checksum=e2012262471a2583d4a559b15fcf45ff

sdk.win_download=android-sdk_r21-windows.zip
sdk.win_bytes=99093893
sdk.win_checksum=7311452823470365f7975a545f8a2be4
sdk.win_download=android-sdk_r21.0.1-windows.zip
sdk.win_bytes=99107847
sdk.win_checksum=613568d774c3bf25c5d24db16601af83

sdk.mac_download=android-sdk_r21-macosx.zip
sdk.mac_bytes=65792626
sdk.mac_checksum=67e46adca90dd18d7291443f6c15d6af
sdk.mac_download=android-sdk_r21.0.1-macosx.zip
sdk.mac_bytes=65804128
sdk.mac_checksum=30401c43a014cd5d6ec9d0c62854a1d9

sdk.linux_download=android-sdk_r21-linux.tgz
sdk.linux_bytes=91378351
sdk.linux_checksum=7f8d73b629f808cdcfc9f9900bbd7580
sdk.linux_download=android-sdk_r21.0.1-linux.tgz
sdk.linux_bytes=91394975
sdk.linux_checksum=eaa5a8d76d692d1d027f2bbcee019644



+4 −4
Original line number Diff line number Diff line
page.title=Installing the Eclipse Plugin
adt.zip.version=21.0.0
adt.zip.download=ADT-21.0.0.zip
adt.zip.bytes=13556487
adt.zip.checksum=7db4eaae5df6a34fd853317a2bd8250b
adt.zip.version=21.0.1
adt.zip.download=ADT-21.0.1.zip
adt.zip.bytes=13569302
adt.zip.checksum=acfb01bf3fd1240f1fc21488c3dd16bf

@jd:body

+119 −0
Original line number Diff line number Diff line
@@ -57,6 +57,125 @@ href="http://tools.android.com/knownissues">http://tools.android.com/knownissues
<div class="toggle-content opened">
  <p><a href="#" onclick="return toggleContent(this)">
    <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img"
      alt=""/>ADT 21.0.1</a> <em>(December 2012)</em>
  </p>

  <div class="toggle-content-toggleme">
<dl>
  <dt>Dependencies:</dt>

  <dd>
    <ul>
      <li>Java 1.6 or higher is required for ADT 21.0.1.</li>
      <li>Eclipse Helios (Version 3.6.2) or higher is required for ADT 21.0.1.</li>
      <li>ADT 21.0.1 is designed for use with <a href="{@docRoot}tools/sdk/tools-notes.html">SDK
      Tools r21.0.1</a>. If you haven't already installed SDK Tools r21.0.1 into your SDK, use the
      Android SDK Manager to do so.</li>
    </ul>
  </dd>

  <dt>General Notes:</dt>
  <dd>
    <ul>
      <li>Build
        <ul>
          <li>Updated build to detect and handle package name conflicts between an application and
            the libraries it depends on. Libraries cannot share package names unless all of them
            share the same package name.
            (<a href="http://code.google.com/p/android/issues/detail?id=40152">Issue 40152</a>,
             <a href="http://code.google.com/p/android/issues/detail?id=40273">Issue 40273</a>)
          </li>
          <li>Added a flag to disable dex merging to deal with cases where merging could generate
            a broken dex file. If this happens to your project, add the following setting to your
            {@code project.properties} file: {@code dex.disable.merger=true} This setting
            causes the build system to revert to the older, slower dex processing that does not
            pre-dex libraries.</li>
        </ul>
      </li>
    </ul>
  </dd>

  <dt>Bug fixes:</dt>
  <dd>
    <ul>
      <li>Lint
        <ul>
          <li>Corrected check for {@code 0px} values in style XML elements.
            (<a href="http://code.google.com/p/android/issues/detail?id=39601">Issue 39601</a>)
            </li>
          <li>Fixed incorrect flagging of formatting strings.
            (<a href="http://code.google.com/p/android/issues/detail?id=39758">Issue 39758</a>)
            </li>
          <li>Fixed problem where {@code tools:ignore} directive in the manifest file was ignored
            by the Lint tool.
            (<a href="http://code.google.com/p/android/issues/detail?id=40136">Issue 40136</a>)
            </li>
          <li>Fixed problem with flagging a wakelock release inside a conditional.
            (<a href="http://code.google.com/p/android/issues/detail?id=40424">Issue 40424</a>)
            </li>
          <li>Fixed incorrect reporting of missing {@code layout_width} and {@code layout_height}
            XML fields.
            (<a href="http://code.google.com/p/android/issues/detail?id=38958">Issue 38958</a>)
            </li>
          <li>Fixed handling of custom namespace attributes.</li>
          <li>Added fixes for filtering out library project warnings.</li>
          <li>Removed warnings about missing classes before a build.</li>
        </ul>
      </li>

      <li>Android Virtual Device Manager
        <ul>
          <li>Fixed handling of {@code devices.xml} file in other locales.
            (<a href="http://code.google.com/p/android/issues/detail?id=39704">Issue 39704</a>)
            </li>
          <li>Fixed problem where the AVD Manager would not allow you to create a new AVD using
            the <strong>4.0" WVGA</strong> or <strong> 4.65" 720p</strong> device definitions.
            (<a href="http://code.google.com/p/android/issues/detail?id=39939">Issue 39939</a>)
            </li>
          <li>Fixed problem where deleted device definitions were not removed.</li>
          <li>Fixed incorrect screen resolution setting for the Nexus One device definition.</li>
          <li>Fixed problem where writing of an AVD settings file does not properly escape
            {@code \\} path characters.</li>
        </ul>
      </li>

      <li>Layout Editor
        <ul>
          <li>Fixed problem where layout cannot render strings starting with {@code \@}.
            (<a href="http://code.google.com/p/android/issues/detail?id=40222">Issue 40222</a>)
            </li>
          <li>Fixed preview error when using the {@code android:numColumns} attribute in a layout.
            (<a href="http://code.google.com/p/android/issues/detail?id=21296">Issue 21296</a>)
            </li>
          <li>Fixed compatibility issue with IntelliJ layout preview caused by layout editor
            deleting the {@code .android/devices.xml} file.</li>
          <li>Added fixes to editor for {@link android.widget.GridLayout}.</li>
        </ul>
      </li>

      <li>Added support for {@code ldrtl} and {@code ldltr} resource qualifiers.</li>
      <li>Fixed problem where Android XML resources mistakenly get compiled into {@code *.out.xml}
        output files, causing project errors.
        (<a href="http://code.google.com/p/android/issues/detail?id=3767">Issue 3767</a>)</li>
      <li>Fixed error which caused resource refresh operations to fail.
        (<a href="http://code.google.com/p/android/issues/detail?id=39213">Issue 39213</a>)</li>
      <li>Updated the Custom View code template handle to library projects properly.</li>
      <li>Fixed support for library string resources ({@code strings.xml}) when exporting an
        application that references a library with string resources.
        (<a href="http://code.google.com/p/android/issues/detail?id=39751">Issue 39751</a>)</li>
      <li>Fixed problem where bad AVD setting files caused Device Manager and graphical XML editors
        to crash.
        (<a href="http://code.google.com/p/android/issues/detail?id=40400">Issue 40400</a>)</li>
    </ul>
  </dd>

</dl>
</div>
</div>

<div class="toggle-content closed">
  <p><a href="#" onclick="return toggleContent(this)">
    <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
      alt=""/>ADT 21.0.0</a> <em>(November 2012)</em>
  </p>

+103 −0
Original line number Diff line number Diff line
@@ -28,6 +28,109 @@ href="http://tools.android.com/knownissues">http://tools.android.com/knownissues
<div class="toggle-content opened">
  <p><a href="#" onclick="return toggleContent(this)">
    <img src="{@docRoot}assets/images/triangle-opened.png" class="toggle-content-img"
      alt=""/>SDK Tools, Revision 21.0.1</a> <em>(December 2012)</em>
  </p>

  <div class="toggle-content-toggleme">

    <dl>
    <dt>Dependencies:</dt>
    <dd>
      <ul>
        <li>Android SDK Platform-tools revision 16 or later.</li>
        <li>If you are developing in Eclipse with ADT, note that the SDK Tools r21.0.1 is
          designed for use with ADT 21.0.1 and later. If you haven't already, update your
        <a href="{@docRoot}tools/sdk/eclipse-adt.html">ADT Plugin</a> to 21.0.0.</li>
        <li>If you are developing outside Eclipse, you must have
          <a href="http://ant.apache.org/">Apache Ant</a> 1.8 or later.</li>
    </ul>
    </dd>

    <dt>General Notes:</dt>
    <dd>
      <ul>
        <li>Build
          <ul>
            <li>Updated build to detect and handle package name conflicts between an application and
              the libraries it depends on. Libraries cannot share package names unless all of them
              share the same package name.
              (<a href="http://code.google.com/p/android/issues/detail?id=40152">Issue 40152</a>,
               <a href="http://code.google.com/p/android/issues/detail?id=40273">Issue 40273</a>)
            </li>
            <li>Added a flag to disable dex merging to deal with cases where merging could generate
              a broken dex file. If this happens to your project, add the following setting to your
              {@code project.properties} file: {@code dex.disable.merger=true} This setting
              causes the build system to revert to the older, slower dex processing that does not
              pre-dex libraries.</li>
          </ul>
        </li>

        <li>Renderscript
          <ul>
            <li>Added support for
              <a href="{@docRoot}guide/topics/renderscript/compute.html#filterscript">Filterscript</a>
              compilation.</li>
            <li>Added new project setting to control the Renderscript compilation target separately
              from an Android project. Adding the following line to a {@code project.properties}
              file causes Renderscript code to be compiled for Android API Level 17, while the
              containing application can target a different (lower) API level:
              <pre>renderscript.target = 17</pre>
              Previously, the Renderscript compilation target was tied to the
              {@code android:minSdkVersion} setting in the manifest.
              (<a href="http://code.google.com/p/android/issues/detail?id=40487">Issue 40487</a>)
            </li>
          </ul>
        </li>

      </ul>
    </dd>


    <dt>Bug fixes:</dt>
    <dd>
      <ul>
        <li>Lint
          <ul>
            <li>Corrected check for {@code 0px} values in style XML elements.
              (<a href="http://code.google.com/p/android/issues/detail?id=39601">Issue 39601</a>)
              </li>
            <li>Fixed incorrect flagging of formatting strings.
              (<a href="http://code.google.com/p/android/issues/detail?id=39758">Issue 39758</a>)
              </li>
            <li>Fixed problem where {@code tools:ignore} directive in the manifest file was ignored
              by the Lint tool.
              (<a href="http://code.google.com/p/android/issues/detail?id=40136">Issue 40136</a>)
              </li>
            <li>Fixed problem with flagging a wakelock release inside a conditional.
              (<a href="http://code.google.com/p/android/issues/detail?id=40424">Issue 40424</a>)
              </li>
            <li>Fixed incorrect reporting of missing {@code layout_width} and {@code layout_height}
              XML fields.
              (<a href="http://code.google.com/p/android/issues/detail?id=38958">Issue 38958</a>)
              </li>
            <li>Fixed handling of custom namespace attributes.</li>
            <li>Added fixes for filtering out library project warnings.</li>
            <li>Removed warnings about missing classes before a build.</li>
          </ul>
        </li>

        <li>Fixed problem with UI Automator Viewer execution script where Android tools directory
          is not set.</li>
        <li>Fixed problem with the SDK Manager so that it auto-selects the most recently released
          platform on startup.</li>
        <li>Fixed Java finding script to look for the currently supported version of Java (1.6 or
          higher).</li>
        <li>Fixed the SDK Manager launcher in the ADT bundle so that it can properly launch the
          SDK Manager program when it is placed at the root of the bundle.</li>
      </ul>
    </dd>
    </dl>
  </div>
</div>

<div class="toggle-content closed">
  <p><a href="#" onclick="return toggleContent(this)">
    <img src="{@docRoot}assets/images/triangle-closed.png" class="toggle-content-img"
      alt=""/>SDK Tools, Revision 21</a> <em>(November 2012)</em>
  </p>