Home | History | Annotate | Download | only in 1.5_r3
      1 page.title=Android SDK 
      2 @jd:body
      3 
      4 
      5 <p>Android SDK SDK [<a href="{@docRoot}sdk/index.html"></a>] SDK </p>
      6 
      7 <p><a href="#installnotes"></a></p>
      8 
      9 <h4 style="margin-top"></h4>
     10 <p>SDK <a href="upgrading.html"><strong></strong>SDK </a></b> 
     11 </p>
     12 
     13 
     14 <h2 id="setup"></h2>
     15 
     16 <p><a href="requirements.html"></a>
     17 </p>
     18 
     19 <p>Eclipse  Android Development ToolsADTAndroid  Eclipse 3.3 Eclipse : </p>
     20 
     21 <p style="margin-left:2em;"><a href=
     22 "http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a></p>
     23 
     24 <p>Eclipse  Java  RCP  </p>
     25 
     26 <h2 id="installingsdk">SDK </h2>
     27 
     28 <p>SDK  .zip SDK  <code>android_sdk_<em>&lt;platform</em>&gt;_<em>&lt;release&gt;</em></code>   <code>documentation.html</code> <code>tools/</code><code>add-ons/</code><code>platforms/</code> <code>platforms/</code>  <code>samples/</code> </p>
     29 
     30 <p> SDK Android SDK  SDK </p>
     31 
     32 <p>SDK  <code>tools</code>  PATH <code>tools/</code> SDK <code>tools</code> Android Debug Bridgeadb  <a href="{@docRoot}guide/developing/tools/index.html"></a> </p>
     33 <ul>
     34     <li>Linux  <code>~/.bash_profile</code>  <code>~/.bashrc</code> PATH  <code>tools/</code> PATH :</li>
     35 
     36     <ul><code>export PATH=${PATH}:<em>&lt;your_sdk_dir&gt;</em>/tools</code></ul>
     37 
     38     <li>Mac  <code>.bash_profile</code>  Linux  <code>.bash_profile</code>  </li>
     39 
     40     <li>Windows [ ] [] []  []  []  [Path]  Path  <code>tools/</code>  </li>
     41   </ul>
     42 
     43 <p> SDK PATH  SDK  PATH </p>
     44 
     45 <p>Eclipse IDE Android Development Tools  Eclipse Eclipse  IDE  Android SDK <a href="#next"></a></p>
     46 
     47 
     48 <h2 id="installingplugin">Eclipse  ADT </h2>
     49 
     50 <p>Android Android Development ToolsADT Eclipse IDE  Android  Eclipse  Android  UI Android Framework API Android SDK  APK </p>
     51 
     52 <p> Android ADT  Eclipse Android Eclipse  IDE Eclipse  ADT SDK </p>
     53 
     54 <p><a href="#setup"></a> Eclipse  ADT  Eclipse  </p>
     55 
     56 <table style="font-size:100%">
     57 <tr><th>Eclipse 3.3Europa</th><th>Eclipse 3.4Ganymede</th></tr>
     58 <tr>
     59 <td width="45%">
     60 <!-- 3.3 steps -->
     61 <ol>
     62     <li>Eclipse [<strong></strong>] &gt; [<strong></strong>] &gt; [<strong></strong>]  </li>
     63     <li> [<strong></strong>]  [<strong></strong>]  </li>
     64     <li>[<strong></strong>]  </li>
     65     <li>  : Android PluginURL :
     66         <pre>https://dl-ssl.google.com/android/eclipse/</pre>
     67         <p>URL httpshttphttps </p>
     68         <p>[<strong>OK</strong>] </p> </li>
     69     <li>[<strong></strong>]  </li>
     70     <li> [] Android PluginAndroid DDMSAndroid Development Tools[<strong></strong>] </li>
     71     <li>[<strong></strong>]  </li>
     72     <li>  [<strong></strong>]  </li>
     73     <li>ADT [<strong></strong>]  </li>
     74     <li>Eclipse  </li>
     75 </ol>
     76 
     77 </td>
     78 <td>
     79 
     80 <!-- 3.4 steps -->
     81 <ol>
     82     <li>Eclipse [<strong></strong>] &gt; [<strong></strong>] </li>
     83     <li> [<strong></strong>]  </li>
     84     <li>[<strong></strong>]  </li>
     85     <li>:
     86       <pre>https://dl-ssl.google.com/android/eclipse/</pre>
     87         <p> URL httpshttphttps </p>   
     88       <p>[<strong>OK</strong>] </p></li>
     89     <li>[]  URL Developer ToolsDeveloper Tools[<strong></strong>] </li>
     90     <li> Android DDMSAndroid Development Tools[<strong></strong>]  </li>
     91     <li>[<strong></strong>] </li>
     92     <li>Eclipse  </li>
     93 </ol>
     94 
     95 </td>
     96 </tr>
     97 </table>
     98 
     99 <p>Eclipse Android SDK :</p>
    100 <ol>
    101     <li>[<strong></strong>] &gt; [<strong></strong>] [] Mac  [<strong>Eclipse</strong>] &gt; [<strong></strong>]</li>
    102     <li> [<strong>Android</strong>]  </li>
    103     <li>  [<em>SDK Location</em>]  [<strong></strong>]  SDK  </li>
    104     <li>[<strong></strong>] [<strong>OK</strong>] </li>
    105 </ol>
    106 
    107 <p>Android <a href="#next"></a> </p>
    108 
    109 
    110 <h3 id="troubleshooting">ADT </h3>
    111 <p> 
    112 ADT : </p>
    113 
    114 <ul>
    115   <li>Eclipse  ADT   URL  https  http   URL :
    116   <pre>http://dl-ssl.google.com/android/eclipse/</pre></li>
    117   <li>Eclipse Eclipse 3.3/3.4 Eclipse   [<strong></strong>]Mac  [<strong>Eclipse</strong>]&gt; [<strong></strong>] &gt; [<strong></strong>] &gt; [<strong></strong>] </li>
    118 </ul>
    119 <p> 
    120  Eclipse  ADT ADT zip  :
    121 </p>
    122 <ol>
    123   <li><a href="{@docRoot}sdk/adt_download.html">ADT zip </a></li>
    124   <li> 1  2 </li>
    125   <li>Eclipse 3.3  [<strong></strong>] <br/>Eclipse 3.4  [<strong></strong>] [<strong></strong>] </li>
    126   <li> zip </li>
    127   <li> 5 </li>
    128 </ol>
    129 <p>zip </p>
    130 
    131 <h4> </h4>
    132 
    133 <p> Eclipse WST  ADT ADT  Eclipse  Eclipse   <a href="{@docRoot}resources/faq/troubleshooting.html#installeclipsecomponents">ADT : "requires plug-in org.eclipse.wst.sse.ui"</a> </p>
    134 
    135 <h4>Linux </h4>
    136 <p>Eclipse  ADT  
    137 <pre>
    138 An error occurred during provisioning.
    139 Cannot connect to keystore.
    140 JKS</pre>
    141 <p>
    142  Java VM Sun Java 6 ADT </p>
    143 
    144 
    145 <h2 id="next"></h2>
    146 <p>: </p>
    147 
    148 <p><strong>Android </strong></p>
    149 <ul>
    150   <li><a href="{@docRoot}guide/index.html"> </a></li>
    151   <li>Android  <a
    152   href="{@docRoot}guide/basics/what-is-android.html">Android </a></li>
    153   <li><a href="{@docRoot}guide/topics/fundamentals.html"></a>Android </li>
    154   <li>[<a
    155   href="{@docRoot}reference/packages.html"></a>]  Android Framework API </li>
    156 </ul>
    157 
    158 <p><strong>SDK </strong></p>
    159 <ul>
    160   <li><a
    161   href="{@docRoot}guide/developing/tools/index.html"></a></li>
    162   <li><a
    163   href="{@docRoot}guide/developing/eclipse-adt.html">Eclipse/ADT</a> <a href="{@docRoot}guide/developing/other-ide.html"> IDE</a> 
    164   </li>
    165 </ul>
    166 
    167 <p><strong> </strong></p>
    168 <ul>
    169   <li><a href="{@docRoot}resources/tutorials/hello-world.html">Hello World </a> Eclipse </li>
    170   <li><a href="{@docRoot}resources/tutorials/notepad/index.html">Notepad </a> Android  </li>
    171   <li><code><em>&lt;sdk&gt;</em>/platforms/<em>&lt;platfrom&gt;</em>/samples</code>  </li>
    172 </ul>
    173 
    174 <p><strong>Android  </strong></p>
    175 <ul>
    176   <li>[<a
    177   href="{@docRoot}resources/community-groups.html"></a>] Android   <a href="http://groups.google.com/group/android-developers">Android Developers</a> Android  </li>
    178 </ul>
    179 
    180 
    181 <h2 id="installnotes"></h2>
    182 
    183 <h3>Ubuntu Linux </h3>
    184 
    185 <ul>
    186   <li> Java : 
    187     <ul>
    188       <li><a href="https://help.ubuntu.com/community/Java">https://help.ubuntu.com/community/Java </a></li>
    189       <li><a href="https://help.ubuntu.com/community/Java">https://help.ubuntu.com/community/JavaInstallation</a></li>
    190     </ul>
    191   </li>
    192   <li>Android SDK  ADT Java  Eclipse 
    193     <ol>
    194       <li> 64 <code>apt-get:</code>  <code>ia32-libs</code> :
    195       <pre>apt-get install ia32-libs</pre>
    196       </li>
    197       <li> Java : <pre>apt-get install sun-java6-bin</pre></li>
    198       <li>Ubuntu  Eclipse 3.3 eclipse.org <a
    199       href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a>  Eclipse Eclipse  Java  RCP </li>
    200       <li> SDK  ADT  </li>
    201     </ol>
    202   </li>
    203 </ul>
    204 
    205 <h3> Linux </h3>
    206 
    207 <ul>
    208   <li> JDK <a href="requirements.html"></a> JDK 1.4  Gnu Compiler for Java  Android </li>
    209 </ul>
    210 
    211 
    212 
    213