diff options
19 files changed, 0 insertions, 5715 deletions
diff --git a/docs/html-intl/intl/in/sdk/index.jd b/docs/html-intl/intl/in/sdk/index.jd deleted file mode 100644 index 53019fba8e14..000000000000 --- a/docs/html-intl/intl/in/sdk/index.jd +++ /dev/null @@ -1,432 +0,0 @@ -page.title=Unduh Android Studio dan SDK Tools -page.tags=sdk, android studio -page.image=images/cards/android-studio_2x.png -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=Unduh Android IDE resmi dan alat pengembang untuk membuat aplikasi bagi ponsel, tablet, perangkat wearable, TV Android dan lainnya. - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">Unduh</h1> - -<p class="sdk-terms-intro">Sebelum menginstal Android Studio atau alat SDK mandiri, -Anda harus menyetujui ketentuan dan persyaratan berikut.</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">Ketentuan dan Persyaratan</h2> -Ini adalah Perjanjian Lisensi Kit Pengembangan Perangkat Lunak Android - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>Beberapa saat lagi Anda akan dapat membuat aplikasi untuk Android!</p> - <p>Sebentar lagi, Anda akan dialihkan ke - <a id="next-link" href="{@docRoot}sdk/installing/index.html">Menginstal Android SDK</a>.</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">Saya telah membaca dan menyetujui ketentuan dan persyaratan di atas</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" -srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" -width="760" alt="" /> - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">Android IDE resmi</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>Android Studio IDE</li> -<li>Android SDK Tools</li> -<li>Platform Android 6.0 (Marshmallow)</li> -<li>Citra sistem emulator Android 6.0 dengan Google API</li> -</ul> - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -Untuk mendapatkan Android Studio atau alat SDK mandiri, kunjungi <a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> -</p> -</div> - -<ul> - <li><a href="#Requirements">Kebutuhan Sistem</a></li> - <li><a href="#Other">Opsi Unduhan Lain</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">Beralih ke Android Studio</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">Ikuti Survei</a></li> -</ul> - - - - -<h2 class="feature norule" >Editor kode cerdas</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Yang menjadi inti Android Studio adalah editor kode cerdas dengan kemampuan - penyelesaian kode, optimalisasi, dan analisis kode yang canggih.</p> - <p>Editor kode yang andal ini membantu Anda menjadi pengembang aplikasi Android yang lebih produktif.</p> -</div> - - - - - -<h2 class="feature norule">Template kode dan integrasi GitHub</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Pemandu proyek yang baru membuat proses memulai proyek baru menjadi jauh lebih mudah.</p> - - <p>Mulai proyek dengan menggunakan kode template untuk pola seperti navigation-drawer dan view-pager, - dan bahkan impor contoh kode Google dari GitHub.</p> -</div> - - - - -<h2 class="feature norule">Pengembangan aplikasi multilayar</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Buat aplikasi untuk ponsel dan tablet Android, Android Wear, - Android TV, Android Auto dan Google Glass.</p> - <p>Dengan Android Project View yang baru dan dukungan modul di Android Studio, jadi semakin mudah - mengelola proyek dan sumber daya aplikasi. -</div> - - - - -<h2 class="feature norule">Perangkat virtual untuk semua ukuran dan bentuk</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio sudah dikonfigurasi dengan citra emulator yang dioptimalkan.</p> - <p>Virtual Device Manager yang telah diperbarui dan dibuat lebih efisien menyediakan - profil perangkat yang sudah didefinisikan untuk perangkat Android umum.</p> -</div> - - - - -<h2 class="feature norule"> -Pembuatan Android berkembang dengan Gradle</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Buatlah berbagai APK untuk aplikasi Android Anda dengan aneka fitur menggunakan proyek yang sama.</p> - <p>Kelola dependensi aplikasi dengan Maven.</p> - <p>Buat APK dari Android Studio atau baris perintah.</p> -</div> - - - - -<h2 class="feature norule">Selengkapnya tentang Android Studio</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>Dibuat dengan IntelliJ IDEA Community Edition, JAVA IDE populer karya JetBrains.</li> - <li>Sistem pembuatan berbasis Gradle yang fleksibel.</li> - <li>Buat berbagai generasi APK dan variannya.</li> - <li>Dukungan template bertambah untuk Google Services dan aneka tipe perangkat.</li> - <li>Editor layout yang lengkap dengan dukungan untuk pengeditan tema.</li> - <li>Alat penambal untuk solusi kinerja, kegunaan, kompatibilitas versi, dan masalah lain.</li> - <li>ProGuard dan kemampuan penandatanganan aplikasi.</li> - <li>Dukungan bawaan untuk Google Cloud Platform, mempermudah integrasi Google Cloud - Messaging dan App Engine.</li> - </ul> - -<p style="margin:0"> -Untuk detail selengkapnya tentang fitur-fitur yang tersedia di Android Studio, -bacalah panduan <a href="{@docRoot}tools/studio/index.html">Dasar-Dasar Android Studio</a>.</p> -</div> - - -<p>Jika Anda menggunakan Eclipse dengan ADT, ingatlah bahwa Android Studio sekarang merupakan IDE resmi -untuk Android, jadi Anda harus beralih ke Android Studio untuk menerima semua -pembaruan terakhir IDE. Untuk bantuan dalam memindahkan proyek, -lihat <a href="{@docRoot}sdk/installing/migrate.html">Beralih ke Android -Studio</a>.</p> - - - - - - - -<h2 id="Requirements">Kebutuhan Sistem</h2> - -<h3>Windows</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003 (32 atau 64-bit)</li> -<li>RAM minimum 2 GB, RAM yang direkomendasikan 4 GB</li> -<li>Ruang hard-disk 400 MB</li> -<li>Setidaknya 1 GB untuk Android SDK, citra sistem emulator, dan cache</li> -<li>Resolusi layar minimum 1280 x 800</li> -<li>Java Development Kit (JDK) 7 </li> -<li>Opsional untuk emulator akselerasi: Prosesor Intel® dengan dukungan untuk Intel® VT-x, Intel® EM64T -(Intel® 64), dan fungsionalitas Execute Disable (XD) Bit</li> -</ul> - - -<h3>Mac OS X</h3> - -<ul> -<li>Mac® OS X® 10.8.5 atau yang lebih tinggi, hingga 10.9 (Mavericks)</li> -<li>RAM minimum 2 GB, RAM yang direkomendasikan 4 GB</li> -<li>Ruang hard-disk 400 MB</li> -<li>Setidaknya 1 GB untuk Android SDK, citra sistem emulator, dan cache</li> -<li>Resolusi layar minimum 1280 x 800</li> -<li>Java Runtime Environment (JRE) 6</li> -<li>Java Development Kit (JDK) 7</li> -<li>Opsional untuk emulator akselerasi: Prosesor Intel® dengan dukungan untuk Intel® VT-x, Intel® EM64T -(Intel® 64), dan fungsionalitas Execute Disable (XD) Bit</li> -</ul> - -<p>Pada Mac OS, jalankan Android Studio dengan Java Runtime Environment (JRE) 6 untuk rendering -font yang dioptimalkan. Kemudian Anda bisa mengonfigurasi proyek untuk menggunakan Java Development Kit (JDK) 6 atau JDK 7.</p> - - - -<h3>Linux</h3> - -<ul> -<li>Desktop GNOME atau KDE</li> -<li>GNU C Library (glibc) 2.15 atau yang lebih baru</li> -<li>RAM minimum 2 GB, RAM yang direkomendasikan 4 GB</li> -<li>Ruang hard-disk 400 MB</li> -<li>Setidaknya 1 GB untuk Android SDK, citra sistem emulator, dan cache</li> -<li>Resolusi layar minimum 1280 x 800</li> -<li>Oracle® Java Development Kit (JDK) 7 </li> -</ul> -<p>Telah diuji pada Ubuntu® 14.04, Trusty Tahr (distribusi 64-bit yang mampu menjalankan -aplikasi 32-bit).</p> - - - - -<h2 id="Other" style="clear:left">Opsi Unduhan Lain</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/in/sdk/installing/adding-packages.jd b/docs/html-intl/intl/in/sdk/installing/adding-packages.jd deleted file mode 100644 index 2fc5c3eb0cd8..000000000000 --- a/docs/html-intl/intl/in/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,226 +0,0 @@ -page.title=Menambahkan Paket SDK - -page.tags=sdk manager - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -Secara default, Android SDK tidak mencakup segala sesuatu yang Anda perlukan untuk memulai pengembangan. -SDK memisahkan alat, platform, dan komponen lain ke dalam paket yang bisa Anda -unduh bila diperlukan dengan menggunakan -<a href="{@docRoot}tools/help/sdk-manager.html">Android SDK Manager</a>. -Jadi, sebelum Anda bisa memulai, ada beberapa paket yang harus Anda tambahkan ke Android SDK Anda.</p> - -<p>Untuk mulai menambahkan paket, jalankan Android SDK Manager dengan salah satu cara berikut:</p> -<ul> - <li>Di Android Studio, klik <strong>SDK Manager</strong> -<img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" /> di toolbar.</li> - <li>Jika Anda tidak menggunakan Android Studio: - <ul> - <li>Windows: Klik ganda file <code>SDK Manager.exe</code> pada akar direktori Android -SDK.</li> - <li>Mac/Linux: Buka sebuah terminal dan arahkan ke direktori <code>tools/</code> di -lokasi instalasi Android SDK, lalu jalankan <code>android sdk</code>.</li> - </ul> - </li> -</ul> - -<p>Bila Anda membuka SDK Manager untuk pertama kali, beberapa paket akan dipilih secara -default. Biarkan dipilih, namun pastikan bahwa Anda mempunyai semua yang Anda perlukan -untuk persiapan dengan mengikuti langkah-langkah ini:</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">Dapatkan alat-alat SDK terbaru</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>Setidaknya saat menyiapkan Android SDK, - Anda harus mengunduh platform Android dan alat-alat terbaru:</p> - <ol> - <li>Buka direktori Tools dan pilih: - <ul> - <li><strong>Android SDK Tools</strong></li> - <li><strong>Android SDK Platform-tools</strong></li> - <li><strong>Android SDK Build-tools</strong> (versi tertinggi)</li> - </ul> - </li> - <li>Buka folder Android X.X (versi terbaru) yang pertama dan pilih: - <ul> - <li><strong>SDK Platform</strong></li> - <li>Sebuah citra sistem untuk emulator, seperti <br> - <strong>ARM EABI v7a System Image</strong></li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">Dapatkan pustaka dukungan untuk API tambahan</h2> - - <div class="sidebox"> - <p>Pustaka dukungan diperlukan untuk:</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a></li> - <li><a href="{@docRoot}tv/index.html">Android TV</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - </ul> - - <p>Pustaka ini juga menyediakan API populer:</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">Drawer - navigasi</a></li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">Tampilan usap</a></li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">Action-bar - yang kompatibel dengan versi lama</a></li> - </ul> - </div> - - <p><a href="{@docRoot}tools/support-library/features.html">Android Support Library</a> -menyediakan set API tambahan yang kompatibel dengan sebagian besar versi Android.</p> - - <p>Buka direktori <strong>Extras</strong> dan pilih:</p> - <ul> - <li><strong>Android Support Repository</strong></li> - <li><strong>Android Support Library</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">Dapatkan Google Play services untuk API yang lebih banyak lagi</h2> - - <div class="sidebox"> - - <p>API Google Play services menyediakan beragam fitur dan layanan untuk aplikasi Android -Anda, misalnya:</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">Autentikasi pengguna</a></li> - <li><a href="{@docRoot}google/play-services/maps.html">Google Maps</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - <li><a href="{@docRoot}google/play-services/games.html">Skor dan - papan peringkat permainan</a></li> - <li><a href="{@docRoot}google/play-services/index.html">Dan masih banyak lagi</a></li> - </ul> - </div> - - <p>Untuk mengembangkan aplikasi dengan Google API, Anda memerlukan paket Google Play services:</p> - <p>Buka direktori <strong>Extras</strong> dan pilih:</p> - <ul> - <li><strong>Google Repository</strong></li> - <li><strong>Google Play services</strong></li> - </ul> - - <p class="note"><strong>Catatan:</strong> API Google Play services tidak tersedia pada semua -perangkat berbasis Android, namun tersedia pada semua perangkat dengan Google Play Store. Untuk menggunakan API ini - dalam emulator Android, Anda juga harus menginstal citra sistem <strong>Google API</strong> - dari direktori Android X.X terbaru di SDK Manager.</p> -</li> - - -<li> - <h2 id="Install" class="norule">Instal paket tersebut</h2> - <p>Setelah Anda memilih semua paket yang diinginkan, teruskan untuk menginstal:</p> - <ol> - <li>Klik <strong>Install X packages</strong>.</li> - <li>Di jendela berikutnya, klik ganda masing-masing nama paket di sebelah kiri - untuk menyetujui perjanjian lisensinya masing-masing.</li> - <li>Klik <strong>Install</strong>.</li> - </ol> - <p>Kemajuan pengunduhan diperlihatkan di bagian bawah jendela SDK Manager. - <strong>Jangan keluar dari SDK Manager</strong> karena hal itu akan membatalkan pengunduhan.</p> -</li> - -<li> - <h2 id="Build" class="norule">Bangun sesuatu!</h2> - -<p>Dengan adanya semua paket di atas di Android SDK, maka Anda siap untuk membangun aplikasi -untuk Android. Dengan tersedianya berbagai alat baru dan API lainnya, maka tinggal jalankan SDK Manager -untuk mengunduh paket baru bagi SDK Anda.</p> - -<p>Inilah beberapa opsi cara Anda untuk melanjutkan:</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>Persiapkan</h3> -<p>Jika Anda masih baru dengan pengembangan Android, pelajari dasar-dasar aplikasi Android dengan mengikuti -panduan untuk <strong><a href="{@docRoot}training/basics/firstapp/index.html">Membangun Aplikasi Pertama Anda</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Bangun untuk perangkat wearable</h3> -<p>Jika Anda siap memulai pembangunan aplikasi untuk perangkat wearable Android, lihat panduan untuk -<strong><a href="{@docRoot}wear/preview/start.html">Membangun Aplikasi untuk Android Wear</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Gunakan Google API</h3> -<p>Untuk mulai menggunakan Google API, seperti Maps atau -layanan Play Game, lihat panduan untuk -<strong><a href="{@docRoot}google/play-services/setup.html">Mempersiapkan Google Play -Services</a></strong>.</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - diff --git a/docs/html-intl/intl/ja/sdk/index.jd b/docs/html-intl/intl/ja/sdk/index.jd deleted file mode 100644 index f7454c0b8ed6..000000000000 --- a/docs/html-intl/intl/ja/sdk/index.jd +++ /dev/null @@ -1,432 +0,0 @@ -page.title=Android Studio と SDK Tools のダウンロード -page.tags=sdk, android studio -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=公式 Android IDE とデベロッパー ツールをダウンロードして、Android 版のモバイル端末、タブレット、ウェアラブル端末、TV などの端末向けのアプリをビルドする。 - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">ダウンロード</h1> - -<p class="sdk-terms-intro">Android Studio またはスタンドアロンの SDK Tools をインストールする前に、次の利用規約に同意する必要があります。 -</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">利用規約</h2> -以下は、Android Software Development Kit の使用許諾契約です。 - - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>数ステップで、Android 向けアプリのビルドを開始できます。</p> - <p>まもなく、<a id="next-link" href="{@docRoot}sdk/installing/index.html">Installing the Android SDK</a>へリダイレクトします。 -</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">上記の利用規約を読み、同意します。</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" width="760" height="400" /> - - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">公式 Android IDE</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>Android Studio IDE</li> -<li>Android SDK Tools</li> -<li>Android 6.0(Marshmallow)プラットフォーム</li> -<li>Google API を使用した Android 6.0 エミュレータのシステム イメージ</li> -</ul> - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -Android Studio または スタンドアロンの SDK Tools を入手するには、<a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> へアクセスしてください。 -</p> -</div> - -<ul> - <li><a href="#Requirements">システム要件</a></li> - <li><a href="#Other">他のダウンロード オプション</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">Android Studio への移行</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">アンケートに回答する</a></li> -</ul> - - - - - -<div class="cols"> -<h2 class="feature norule col-13" >インテリジェント コード エディタ</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio の中核であるインテリジェント コード エディタは、高度なコード補完機能、リファクタリング機能、解析機能を備えています。 -</p> - <p>このパワフルなコード エディタは、Android アプリ デベロッパーの生産性を高めます。</p> -</div> - - - - - -<h2 class="feature norule">コード テンプレートと GitHub との統合</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>新しいプロジェクト ウィザードでは、これまで以上に簡単に新規プロジェクトを開始できます。</p> - - <p>ナビゲーション ドロワーやビュー ページャーなどのパターンにテンプレート コードを使用してプロジェクトを開始できます。加えて GitHub から Google のコード サンプルをインポートできます。 -</p> -</div> - - - - -<h2 class="feature norule">マルチスクリーン アプリの開発</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android 携帯電話、タブレット、Android Wear、Android TV、Android Auto、Google Glass 向けのアプリをビルドできます。 -</p> - <p>Android Studio の新しい Android プロジェクト ビューとモジュールのサポートによって、アプリのプロジェクト管理やリソース管理がさらに簡単になります。 - -</div> - - - - -<h2 class="feature norule">あらゆる形状の端末をサポートする仮想デバイス</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio には最適化されたエミュレータ イメージが事前構成されています。</p> - <p>アップデートされ合理化された仮想デバイス マネージャーには、一般的な Android 端末向けにあらかじめ定義されたプロファイルが用意されています。 -</p> -</div> - - - - -<h2 class="feature norule"> -Gradle で進化する Android のビルド</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>1 つのプロジェクトで、Android アプリのための、異なる機能を持つ複数の APK を作成できます。</p> - <p>Maven を使用してアプリの依存関係を管理します。</p> - <p>APK は Android Studio でもコマンドラインでもビルドできます。</p> -</div> - - - -<h2 class="feature norule">Android Studio のその他の特徴</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>人気の高い JetBrains の Java IDE である IntelliJ IDEA Community Edition が基盤</li> - <li>Gradle ベースの柔軟なビルドシステム</li> - <li>ビルド バリアントと複数の APK 生成機能</li> - <li>Google サービスやさまざまな端末向けのテンプレート サポートの拡充</li> - <li>テーマの編集が可能なレイアウト エディタ</li> - <li>パフォーマンス、ユーザビリティ、バージョン互換性、その他の問題を検出する Lint ツール</li> - <li>ProGuard とアプリの署名機能</li> - <li>Google Cloud Messaging や App Engine との統合をサポートする Google Cloud プラットフォームの組み込みサポート -</li> - </ul> - -<p style="margin:0"> -Android Studio の機能の詳細については、「<a href="{@docRoot}tools/studio/index.html">Android Studio の基礎</a>」をご覧ください。 -</p> -</div> - - -<p>Eclipse で ADT を使用している場合、Android Studio が Android の公式 IDE になったため、Android Studio に移行して IDE の最新アップデートを入手する必要があります。 - -プロジェクトの移行については、「<a href="{@docRoot}sdk/installing/migrate.html">Migrating to Android Studio</a>」をご覧ください。 - -</p> - - - - - - - -<h2 id="Requirements">システム要件</h2> - -<h3>Windows の場合</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003(32-bit 版または 64-bit 版)</li> -<li>2 GB 以上のシステム メモリ(RAM)、4 GB 以上を推奨</li> -<li>400 MB の空き容量のあるハードディスク</li> -<li>Android SDK、エミュレータのシステム イメージ、キャッシュ用には少なくとも 1 GB 以上</li> -<li>1280 x 800 以上の画面解像度</li> -<li>Java Development Kit (JDK) 7 </li> -<li>エミュレータ アクセラレータ向け(任意): Intel® VT-x、Intel® EM64T(Intel® 64)、Execute Disable(XD)ビット機能対応の Intel® プロセッサ -</li> -</ul> - - -<h3>Mac OS X の場合</h3> - -<ul> -<li>Mac ®OS X® 10.8.5 以降、10.9(Mavericks)まで</li> -<li>2 GB 以上のシステム メモリ(RAM)、4 GB 以上を推奨</li> -<li>400 MB の空き容量のあるハードディスク</li> -<li>Android SDK、エミュレータのシステム イメージ、キャッシュ用には少なくとも 1 GB 以上</li> -<li>1280 x 800 以上の画面解像度</li> -<li>Java Runtime Environment (JRE) 6</li> -<li>Java Development Kit (JDK) 7</li> -<li>エミュレータ アクセラレータ向け(任意): Intel® VT-x、Intel® EM64T(Intel® 64)、Execute Disable(XD)ビット機能対応の Intel® プロセッサ -</li> -</ul> - -<p>Mac OSで最適化されたフォントのレンダリングを使用するには、Android Studio を Java Runtime Environment (JRE) 6 と共に実行する必要があります。 -その後、Java Development Kit(JDK)6 または JDK 7 を使用するようプロジェクトを構成できます。</p> - - - -<h3>Linux の場合</h3> - -<ul> -<li>GNOME または KDE デスクトップ</li> -<li>GNU C Library (glibc) 2.15 以降</li> -<li>2 GB 以上のシステム メモリ(RAM)、4 GB 以上を推奨</li> -<li>400 MB の空き容量のあるハードディスク</li> -<li>Android SDK、エミュレータのシステム イメージ、キャッシュ用には少なくとも 1 GB 以上</li> -<li>1280 x 800 以上の画面解像度</li> -<li>Oracle® Java Development Kit (JDK) 7 </li> -</ul> -<p>Ubuntu® 14.04、Trusty Tahr(32-bit 版アプリケーションを実行可能な 64-bit 版)でテスト済み。 -</p> - - - - -<h2 id="Other" style="clear:left">他のダウンロード オプション</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/ja/sdk/installing/adding-packages.jd b/docs/html-intl/intl/ja/sdk/installing/adding-packages.jd deleted file mode 100644 index af5dcd0a4989..000000000000 --- a/docs/html-intl/intl/ja/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,227 +0,0 @@ -page.title=SDK パッケージの追加 - -page.tags=sdk manager -helpoutsWidget=true - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -Android SDK では、デフォルトの状態で、開発の開始に必要なすべてのものが用意されているわけではありません。 -Android SDK では、ツール、プラットフォーム、その他のコンポーネントがパッケージに分けられており、<a href="{@docRoot}tools/help/sdk-manager.html">Android SDK Manager</a> を使って必要に応じてダウンロードできます。 - - -そのため、開始前に、Android SDK にいくつかのパッケージを追加する必要があります。</p> - -<p>パッケージの追加を開始するには、次のいずれかの方法で Android SDK Manager を起動します。</p> -<ul> - <li>Android Studio で、ツールバーの [<strong>SDK Manager</strong>] <img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" /> をクリックします。 -</li> - <li>Android Studio を使用しない場合: - <ul> - <li>Windows の場合: Android SDK のルート ディレクトリにある <code>SDK Manager.exe</code> ファイルをダブルクリックします。 -</li> - <li>Mac または Linux の場合: ターミナルを開いて Android SDK がインストールされているロケーションの <code>tools/</code> ディレクトリに移動し、<code>android sdk</code> を実行します。 -</li> - </ul> - </li> -</ul> - -<p>SDK Manager を初めて開く場合、いくつかのパッケージがデフォルトで選択されています。 -この選択はそのままにしますが、開始に必要なすべてのものが揃っているか、次の手順でご確認ください。 -</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">最新の SDK Tools を入手する</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>Android SDK をセットアップする場合、少なくとも最新の SDK Tools と Android プラットフォームのダウンロードが必要です。 -</p> - <ol> - <li>[Tools] ディレクトリを開き、以下のツールを選択します。 - <ul> - <li><strong>Android SDK Tools</strong></li> - <li><strong>Android SDK Platform-tools</strong></li> - <li><strong>Android SDK Build-tools</strong>(最新バージョンのもの)</li> - </ul> - </li> - <li>1 番上の [Android X.X] フォルダ(最新バージョンのフォルダ)を開き、以下を選択します。 - <ul> - <li><strong>SDK Platform</strong></li> - <li>「<strong>ARM EABI v7a System Image</strong>」などのエミュレータ用のシステム イメージ<br> -</li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">追加 API 用のサポート ライブラリを取得する</h2> - - <div class="sidebox"> - <p>以下を使用するには、サポート ライブラリが必要です。</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a></li> - <li><a href="{@docRoot}tv/index.html">Android TV</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - </ul> - - <p>サポート ライブラリは、以下の人気の API も提供しています。</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">ナビゲーション ドロワー</a> -</li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">スワイプビュー</a></li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">下位互換のアクションバー</a> -</li> - </ul> - </div> - - <p><a href="{@docRoot}tools/support-library/features.html">Android サポート ライブラリ</a> は、大部分のバージョンの Android に対応する API の拡張セットを提供しています。 -</p> - - <p>[<strong>Extras</strong>] ディレクトリを開き、以下を選択します。</p> - <ul> - <li><strong>Android Support Repository</strong></li> - <li><strong>Android Support Library</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">その他の API 用の Google Play サービスを入手する</h2> - - <div class="sidebox"> - - <p>Google Play services API は、Android アプリのための次のようなバラエティに富んだ機能やサービスを提供しています。 -</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">ユーザー認証</a></li> - <li><a href="{@docRoot}google/play-services/maps.html">Google マップ</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - <li><a href="{@docRoot}google/play-services/games.html">ゲームの実績とリーダーボード</a> -</li> - <li><a href="{@docRoot}google/play-services/index.html">その他多数の機能</a></li> - </ul> - </div> - - <p>Google API を利用して開発を行うには、Google Play サービス パッケージが必要です。</p> - <p>[<strong>Extras</strong>] ディレクトリを開き、以下を選択します。</p> - <ul> - <li><strong>Google Repository</strong></li> - <li><strong>Google Play サービス</strong></li> - </ul> - - <p class="note"><strong>注:</strong> Google Play services API は、Android が搭載されたすべての端末で利用できるわけではありませんが、Google Play ストアを使用するとすべての端末で利用できます。 -これらの API を Android エミュレータで使用するには、SDK Manager の最新の [Android X.X] ディレクトリから <strong>Google API</strong> のシステム イメージもインストールする必要があります。 - -</p> -</li> - - -<li> - <h2 id="Install" class="norule">パッケージをインストールする</h2> - <p>必要なパッケージをすべて選択したら、インストールを続行します。</p> - <ol> - <li>[<strong>Install X packages</strong>] をクリックします。</li> - <li>次のウィンドウで、左側のパッケージ名を 1 つずつダブルクリックし、各パッケージの使用許諾契約に同意します。 -</li> - <li>[<strong>Install</strong>] をクリックします。</li> - </ol> - <p>SDK Manager のウィンドウの 1 番下に、ダウンロードの進捗状況が表示されます。 - <strong>SDK Manager を終了しないでください</strong>。SDK Manager を終了すると、ダウンロードはキャンセルされます。</p> -</li> - -<li> - <h2 id="Build" class="norule">アプリを作成する</h2> - -<p>Android SDK にインストールしたパッケージを使用して、アプリを作成できるようになりました。 -新しいツールとその他の API を入手できるようになった場合は、SDK Manager を起動して SDK に新しいパッケージをダウンロードしてください。 -</p> - -<p>必要に応じて以下を参考にしてください。</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>スタートガイド</h3> -<p>Android 開発が初めての場合は、Android アプリの基本を<strong><a href="{@docRoot}training/basics/firstapp/index.html">初めてのアプリ作成</a></strong>に関するガイドに従って学習してください。 -</p> - -</div> -<div class="col-4 box"> -<h3>ウェアラブル端末向けにアプリを作成する</h3> -<p>Android ウェアラブル端末向けにアプリを開発するには、「<strong><a href="{@docRoot}wear/preview/start.html">Android Wear アプリの作成</a></strong>」のガイドをご覧ください。 -</p> - -</div> -<div class="col-4 box"> -<h3>Google API を使用する</h3> -<p>マップや Play ゲーム サービスなどの Google API の使用を開始するには、「<strong><a href="{@docRoot}google/play-services/setup.html">Setting Up Google Play Services</a></strong>」のガイドをご覧ください。 - - -</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - diff --git a/docs/html-intl/intl/ko/sdk/index.jd b/docs/html-intl/intl/ko/sdk/index.jd deleted file mode 100644 index d68d736fd5c8..000000000000 --- a/docs/html-intl/intl/ko/sdk/index.jd +++ /dev/null @@ -1,431 +0,0 @@ -page.title=Android Studio 및 SDK 도구 다운로드 -page.tags=sdk, android studio -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=Android 휴대폰, 태블릿, 웨어러블, TV 등을 위한 앱을 구축하는 데 사용할 수 있는 공식 Android IDE 및 개발자 도구를 다운로드하세요. - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">다운로드</h1> - -<p class="sdk-terms-intro">Android Studio 또는 독립 실행형 SDK 도구를 설치하려면, -먼저 다음 사용 약관에 동의해야 합니다.</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">사용 약관</h2> -이것은 Android SDK(소프트웨어 개발 키트)에 대한 라이선스 계약입니다. - - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>이제 금방 Android용 앱 구축을 시작할 수 있게 됩니다!</p> - <p>곧 -<a id="next-link" href="{@docRoot}sdk/installing/index.html">Android SDK 설치하기</a> 페이지로 이동됩니다.</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">본인은 상기 사용 약관을 읽었으며 이에 동의합니다.</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" width="760" height="400"/> - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">공식 Android IDE</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>Android Studio IDE</li> -<li>Android SDK Tools</li> -<li>Android 6.0(Marshmallow) 플랫폼</li> -<li>Google API를 사용하는 Android 6.0 에뮬레이터 시스템 이미지</li> -</ul> - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -Android Studio 또는 독립 실행형 SDK 도구를 얻으려면 <a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> 페이지를 방문하십시오. -</p> -</div> - -<ul> - <li><a href="#Requirements">시스템 요건</a></li> - <li><a href="#Other">기타 다운로드 옵션</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">Android Studio로 마이그레이션</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">설문조사 참여</a></li> -</ul> - - - - - -<h2 class="feature norule" >지능형 코드 편집기</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio의 핵심에는 고급 코드 작성, 리팩터링, 코드 분석이 가능한 지능형 -코드 편집기가 있습니다.</p> - <p>이 강력한 코드 편집기를 사용하면 여러분이 더욱 생산적인 Android 앱 개발자가 되는 데 도움이 됩니다.</p> -</div> - - - - - -<h2 class="feature norule">코드 템플릿 및 GitHub 통합</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>새 프로젝트 마법사를 통해 새로운 프로젝트를 더욱 쉽게 시작할 수 있습니다.</p> - - <p>탐색 드로어 및 보기 호출기와 같은 패턴에 대한 템플릿 코드를 사용해 프로젝트를 시작하고, -GitHub에서 Google 코드 샘플을 가져올 수도 있습니다.</p> -</div> - - - - -<h2 class="feature norule">다중 화면 앱 개발</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android 휴대폰, 태블릿, Android Wear, Android TV, -Android Auto 그리고 Google Glass용 앱을 구축할 수 있습니다.</p> - <p>Android Studio의 새로운 Android 프로젝트 보기 및 모듈 지원 기능을 통해 -앱 프로젝트 및 리소스 관리를 더욱 쉽게 수행할 수 있습니다. -</div> - - - - -<h2 class="feature norule">모든 모양 및 크기를 지원하는 가상 기기</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio는 최적화된 에뮬레이터 이미지로 사전 구성된 형태로 제공됩니다.</p> - <p>업데이트되고 간소화된 Virtual Device Manager는 일반 Android 기기에 대해 -사전 정의된 기기 프로필을 제공합니다.</p> -</div> - - - - -<h2 class="feature norule"> -Gradle을 통해 진화된 Android 빌드</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>동일한 프로젝트를 사용하여 다양한 기능을 갖춘 Android 앱을 위한 여러 APK를 생성할 수 있습니다.</p> - <p>Maven을 통해 앱 종속관계를 관리할 수 있습니다.</p> - <p>Android Studio 또는 명령줄에서 APK를 구축할 수 있습니다.</p> -</div> - - - - -<h2 class="feature norule">Android Studio에 대한 추가 정보</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>JetBrains에서 제공하는 인기 있는 Java IDE인 IntelliJ IDEA Community Edition 기반</li> - <li>유연한 Gradle 기반 빌드 시스템</li> - <li>빌드 변형 및 여러 APK 생성</li> - <li>템플릿 지원 확대를 통해 Google Services 및 다양한 기기 유형 지원</li> - <li>테마 편집을 지원하는 고급 레이아웃 편집기</li> - <li>성능, 유용성, 버전 호환성 및 기타 문제를 파악하는 Lint 도구</li> - <li>ProGuard 및 앱 서명 기능</li> - <li>Google Cloud Messaging 및 App Engine의 통합을 용이하게 하는 Google Cloud Platform에 대한 -기본 지원 기능</li> - </ul> - -<p style="margin:0"> -Android Studio에서 사용할 수 있는 기능에 대한 자세한 내용은 -<a href="{@docRoot}tools/studio/index.html">Android Studio 개요</a> 가이드를 참조하세요.</p> -</div> - - -<p>ADT와 함께 Eclipse를 사용하고 있었다면 현재 Android의 공식 IDE는 -Android Studio이므로, 모든 최신 IDE 업데이트를 받을 수 있도록 Android Studio로 -마이그레이션해야 합니다. 프로젝트 이동에 대한 도움말은 -<a href="{@docRoot}sdk/installing/migrate.html">Migrating to Android -Studio</a>를 참조하세요.</p> - - - - - - - -<h2 id="Requirements">시스템 요건</h2> - -<h3>Windows</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003(32비트 또는 64비트)</li> -<li>최소 2GB RAM, 4GB RAM 권장</li> -<li>400MB 하드 디스크 공간</li> -<li>Android SDK, 에뮬레이터 시스템 이미지 및 캐시용 최소 1GB</li> -<li>1280 x 800 이상의 화면 해상도</li> -<li>JDK(Java Development Kit) 7 </li> -<li>가속 에뮬레이터를 위한 선택 사항: Intel® VT-x, Intel® EM64T(Intel® 64) 및 XD(Execute Disable) Bit -기능 지원 Intel® 프로세서</li> -</ul> - - -<h3>Mac OS X</h3> - -<ul> -<li>Mac® OS X® 10.8.5 이상, 최대 10.9(Mavericks)</li> -<li>최소 2GB RAM, 4GB RAM 권장</li> -<li>400MB 하드 디스크 공간</li> -<li>Android SDK, 에뮬레이터 시스템 이미지 및 캐시용 최소 1GB</li> -<li>1280 x 800 이상의 화면 해상도</li> -<li>JRE(Java Runtime Environment) 6</li> -<li>JDK(Java Development Kit) 7</li> -<li>가속 에뮬레이터를 위한 선택 사항: Intel® VT-x, Intel® EM64T(Intel® 64) 및 XD(Execute Disable) Bit -기능 지원 Intel® 프로세서</li> -</ul> - -<p>Mac OS에서는 최적화된 글꼴 렌더링을 위해 JRE(Java Runtime Environment) 6에서 Android Studio를 -실행하십시오. 그런 다음, JDK(Java Development Kit) 6 또는 JDK 7을 사용하여 프로젝트를 구성할 수 있습니다.</p> - - - -<h3>Linux</h3> - -<ul> -<li>GNOME 또는 KDE 데스크톱</li> -<li>GNU C Library(glibc) 2.15 이상</li> -<li>최소 2GB RAM, 4GB RAM 권장</li> -<li>400MB 하드 디스크 공간</li> -<li>Android SDK, 에뮬레이터 시스템 이미지 및 캐시용 최소 1GB</li> -<li>1280 x 800 이상의 화면 해상도</li> -<li>Oracle® JDK(Java Development Kit) 7 </li> -</ul> -<p>Ubuntu® 14.04, Precise Pangolin(32비트 애플리케이션 실행 가능 64비트 버전)에서 -테스트됨</p> - - - - -<h2 id="Other" style="clear:left">기타 다운로드 옵션</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/ko/sdk/installing/adding-packages.jd b/docs/html-intl/intl/ko/sdk/installing/adding-packages.jd deleted file mode 100644 index b935d87afee9..000000000000 --- a/docs/html-intl/intl/ko/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,226 +0,0 @@ -page.title=SDK 패키지 추가하기 - -page.tags=sdk manager - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -기본적으로 Android SDK에는 개발을 시작하는 데 필요한 모든 것이 포함되어 있지 않습니다. -SDK는 도구, 플랫폼과 기타 구성요소를 여러 개의 -패키지로 구분하여 필요에 따라 -<a href="{@docRoot}tools/help/sdk-manager.html">Android SDK Manager</a>를 사용하여 다운로드할 수 있습니다. -따라서 시작하기 전에 Android SDK에 추가해야 하는 패키지가 몇 개 있습니다.</p> - -<p>패키지를 추가하려면, 다음 중 한 가지 방법을 사용하여 Android SDK Manager를 시작합니다.</p> -<ul> - <li>Android Studio의 도구 모음에서 <strong>SDK Manager</strong> -<img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" />를 클릭합니다.</li> - <li>Android Studio를 사용하지 않는 경우: - <ul> - <li>Windows: Android - SDK 디렉터리의 루트에 있는 <code>SDK Manager.exe</code> 파일을 더블 클릭합니다.</li> - <li>Mac/Linux: 터미널을 열고 Android SDK가 설치된 <code>tools/</code> 디렉터리로 -이동한 후 <code>android sdk</code>를 실행합니다.</li> - </ul> - </li> -</ul> - -<p>SDK Manager를 처음 열 때에는, 여러 개의 패키지가 기본적으로 선택되어 -있습니다. 이들은 선택된 상태로 두십시오. 다만 다음 단계를 따라 시작하는 데 필요한 모든 것을 -갖추고 있는지 확인해야 합니다.</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">최신 SDK 도구 다운로드</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>Android SDK를 설정할 때는 -최신 도구와 Android 플랫폼 다운로드가 최소한의 준비 사항입니다.</p> - <ol> - <li>도구 디렉터리를 열고 다음을 선택합니다. - <ul> - <li><strong>Android SDK Tools</strong></li> - <li><strong>Android SDK Platform-tools</strong></li> - <li><strong>Android SDK Build-tools</strong>(최상위 버전)</li> - </ul> - </li> - <li>첫 번째 Android X.X 폴더(최신 버전)를 열고 다음을 선택합니다. - <ul> - <li><strong>SDK Platform</strong></li> - <li>에뮬레이터용 시스템 이미지(다음 예시 참조) <br> - <strong>ARM EABI v7a 시스템 이미지</strong></li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">추가 API를 위한 지원 라이브러리 가져오기</h2> - - <div class="sidebox"> - <p>지원 라이브러리는 다음 용도에 필요합니다.</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a></li> - <li><a href="{@docRoot}tv/index.html">Android TV</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - </ul> - - <p>또한 다음과 같은 인기 API를 제공하기도 합니다.</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">탐색 -창</a></li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">보기 스와이프</a></li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">이전 버전 호환 -동작 막대</a></li> - </ul> - </div> - - <p><a href="{@docRoot}tools/support-library/features.html">Android 지원 라이브러리</a>는 - 대부분의 Android 버전과 호환되는 광범위한 집합의 API를 제공합니다.</p> - - <p><strong>Extras</strong> 디렉터리를 열고 다음을 선택합니다.</p> - <ul> - <li><strong>Android 지원 리포지토리</strong></li> - <li><strong>Android 지원 라이브러리</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">더 많은 API를 위해 Google Play 서비스 가져오기</h2> - - <div class="sidebox"> - - <p>Google Play 서비스 API는 Android - 앱에 다음과 같이 다양한 기능과 서비스를 제공합니다.</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">사용자 인증</a></li> - <li><a href="{@docRoot}google/play-services/maps.html">Google Maps</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - <li><a href="{@docRoot}google/play-services/games.html">게임 도전 과제 및 - 리더보드</a></li> - <li><a href="{@docRoot}google/play-services/index.html">그 외 다수</a></li> - </ul> - </div> - - <p>Google API로 개발하려면 Google Play 서비스 패키지가 필요합니다.</p> - <p><strong>Extras</strong> 디렉터리를 열고 다음을 선택합니다.</p> - <ul> - <li><strong>Google Repository</strong></li> - <li><strong>Google Play 서비스</strong></li> - </ul> - - <p class="note"><strong>참고:</strong> Google Play 서비스를 모든 Android 구동 기기에서 -사용할 수 있는 것은 아니지만, Google Play Store가 있는 기기에서는 모두 사용할 수 있습니다. 이와 같은 API를 -Android 에뮬레이터에서 사용하려면, SDK Manager의 최신 Android X.X 디렉터리에서 <strong>Google API</strong> - 시스템 이미지도 설치해야 합니다.</p> -</li> - - -<li> - <h2 id="Install" class="norule">패키지 설치</h2> - <p>원하는 패키지를 모두 선택하면 계속 진행하여 설치합니다.</p> - <ol> - <li><strong>X 패키지 설치</strong>를 클릭합니다.</li> - <li>다음 창에서, 왼쪽에 있는 각 패키지 이름을 더블 클릭하여 각각의 -라이선스 동의서를 수락합니다.</li> - <li><strong>설치</strong>를 클릭합니다.</li> - </ol> - <p>다운로드 진행률이 SDK Manager 창 맨 아래에 표시됩니다. - <strong>SDK Manager를 종료하지 마십시오</strong>. 다운로드가 취소됩니다.</p> -</li> - -<li> - <h2 id="Build" class="norule">뭐든 구축하세요!</h2> - -<p>이제 Android SDK에 위의 패키지를 설치했으니 Android용 앱을 구축할 준비가 끝난 -셈입니다. 새로운 도구와 다른 API를 사용할 수 있게 되면, SDK Manager를 시작하여 -사용자의 SDK에 새 패키지를 다운로드할 수 있습니다.</p> - -<p>진행 방법에 대한 몇 가지 옵션을 소개합니다.</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>시작하기</h3> -<p>Android 개발이 처음인 경우, Android 앱의 기초를 배울 수 있는 -<strong><a href="{@docRoot}training/basics/firstapp/index.html">첫 앱 구축하기</a></strong> 가이드를 참조하십시오.</p> - -</div> -<div class="col-4 box"> -<h3>웨어러블용 앱 구축하기</h3> -<p>Android 웨어러블용 앱을 구축할 준비가 되었다면 -<strong><a href="{@docRoot}wear/preview/start.html">Android Wear용 앱 구축하기</a></strong> 가이드를 참조하십시오.</p> - -</div> -<div class="col-4 box"> -<h3>Google API 사용</h3> -<p>Maps 또는 Play Game 서비스와 같은 -Google API를 사용하려면 -<strong><a href="{@docRoot}google/play-services/setup.html">Google Play -서비스 설정하기</a></strong> 가이드를 참조하십시오.</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - diff --git a/docs/html-intl/intl/pt-br/sdk/index.jd b/docs/html-intl/intl/pt-br/sdk/index.jd deleted file mode 100644 index c8f82927e71c..000000000000 --- a/docs/html-intl/intl/pt-br/sdk/index.jd +++ /dev/null @@ -1,430 +0,0 @@ -page.title=Como baixar o Android Studio e o SDK Tools -page.tags=sdk, android studio -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=Baixar o Android IDE e ferramentas do desenvolvedor para compilar aplicativos para celulares, tablets, dispositivos de uso junto ao corpo, TVs e muito mais do Android. - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">Baixar</h1> - -<p class="sdk-terms-intro">Antes de instalar o Android Studio ou a versão independente das ferramentas SDK, -você deve concordar com os termos e condições a seguir:</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">Termos e condições</h2> -Esse é o Contrato de licença do conjunto de desenvolvimento de software do Android - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>Você está a alguns passos de programar aplicativos para Android!</p> - <p>Em alguns instantes você será redirecionado para -<a id="next-link" href="{@docRoot}sdk/installing/index.html">Instalação do Android SDK</a>.</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">Li e concordo com todos os termos e condições expressos acima</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" width="760" height="400"/> - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">O IDE oficial do Android</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>IDE do Android Studio</li> -<li>Ferramentas do Android SDK</li> -<li>Plataforma do Android 6.0 (Marshmallow)</li> -<li>Imagem do sistema do emulador do Android 6.0 com APIs da Google</li> -</ul> - - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -Para obter o Android Studio ou a versão independente das ferramentas SDK, acesse <a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> -</p> -</div> - -<ul> - <li><a href="#Requirements">Requisitos do sistema</a></li> - <li> <a href="#Other">Outras opções de download</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">Migração para o Android Studio</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">Realização de uma pesquisa</a></li> -</ul> - - - - -<h2 class="feature norule" >Editor de código inteligente</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>No núcleo do Android Studio, há um editor de código inteligente capaz de realizar, -refatorar e analisar códigos avançados.</p> - <p>O poderoso editor de código auxilia na maior produtividade do desenvolvedor de aplicativos Android.</p> -</div> - - - - - -<h2 class="feature norule">Modelos de códigos e integração GitHub</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Os novos assistentes de projeto facilitam iniciar um projeto como nunca antes.</p> - - <p>Inicie projetos usando códigos de modelo para padrões como menus de navegação e ViewPagers, -e até importe exemplos de código da Google a partir do GitHub.</p> -</div> - - - - -<h2 class="feature norule">Desenvolvimento de aplicativos multitelas</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Programe aplicativos para celulares Android, tablets, Android Wear, -Android TV, Android Auto e Google Glass.</p> - <p>Com a nova visualização de projeto Android e a compatibilidade com módulos no Android Studio, -é mais fácil gerenciar projetos e recursos de aplicativos. -</div> - - - - -<h2 class="feature norule">Dispositivos virtuais para todas as formas e tamanhos</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>O Android Studio já é pré-configurado com uma imagem do emulador otimizada.</p> - <p>O Gerenciador de dispositivos virtual atualizado e simplificado fornece -perfis de dispositivos pré-definidos para dispositivos Android comuns.</p> -</div> - - - - -<h2 class="feature norule"> -As versões do Android evoluíram com o Gradle</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Crie diversos APKs para seu aplicativo Android com diferentes recursos usando o mesmo projeto.</p> - <p>Gerencie dependências de aplicativo com o Maven.</p> - <p>Crie APKs com o Android Studio ou com a linha de comando.</p> -</div> - - - - -<h2 class="feature norule">Saiba mais sobre o Android Studio</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>Programado no IntelliJ IDEA Edição de Comunidade, o popular IDE da Java da JetBrains.</li> - <li>Sistema flexível de programação baseado em Gradle.</li> - <li>Crie variantes e várias gerações de APK.</li> - <li>Compatibilidade com modelos do Google Services ampliada e com diversos tipos de dispositivos.</li> - <li>Editor de layout completo compatível com edição de tema.</li> - <li>Ferramentas de identificação de construção suspeita para identificar problemas de desempenho, usabilidade, compatibilidade de versão e outros problemas.</li> - <li>ProGuard e recursos de assinatura de aplicativo.</li> - <li>Compatibilidade embutida na Google Cloud Platform, facilitando a integração com o Google Cloud -Messasing e com o App Engine.</li> - </ul> - -<p style="margin:0"> -Para obter mais detalhes sobre recursos disponíveis no Android Studio, -leia o guia <a href="{@docRoot}tools/studio/index.html">Conceitos básicos do Android Studio</a>.</p> -</div> - - -<p>Se você usou o Eclipse com ADT, esteja ciente de que o Android Studio é agora o IDE oficial -para Android, portanto, é preciso migrar para o Android Studio para receber todas -as últimas atualizações do IDE. Para obter ajuda para mover projetos, -consulte <a href="{@docRoot}sdk/installing/migrate.html">Como migrar para o Android -Studio</a>.</p> - - - - - - - -<h2 id="Requirements">Requisitos do sistema</h2> - -<h3>Windows</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003 (32 ou 64 bits)</li> -<li>Mínimo de 2 GB de RAM, 4 GB de RAM recomendado</li> -<li>Espaço de 400 MB no disco rígido</li> -<li>Pelo menos 1 GB para o Android SDK, imagens do sistema de emulador e caches</li> -<li>Resolução de tela de 1.280 x 800 no mínimo</li> -<li>Kit de desenvolvimento Java (JDK) 7 </li> -<li>Opcional para emulador acelerado: Processador Intel® compatível com Intel® VT-x, Intel® EM64T -(Intel® 64) e Desativador de bit executável (XD)</li> -</ul> - - -<h3>Mac OS X</h3> - -<ul> -<li>Mac® OS X® 10.8.5 ou posterior, até o 10.9 (Mavericks)</li> -<li>Mínimo de 2 GB de RAM, 4 GB de RAM recomendado</li> -<li>Espaço de 400 MB no disco rígido</li> -<li>Pelo menos 1 GB para o Android SDK, imagens do sistema de emulador e caches</li> -<li>Resolução de tela de 1.280 x 800 no mínimo</li> -<li>Ambiente de tempo de execução Java (JRE) 6</li> -<li>Kit de desenvolvimento Java (JDK) 7</li> -<li>Opcional para emulador acelerado: Processador Intel® compatível com Intel® VT-x, Intel® EM64T -(Intel® 64) e Desativador de bit executável (XD)</li> -</ul> - -<p>No Mac OS, execute o Android Studio com o Ambiente de tempo de execução Java (JRE) 6 para otimizar -a renderização de fontes. Você pode, então, configurar o projeto para usar o Kit de desenvolvimento Java (JDK) 6 ou o JDK 7.</p> - - - -<h3>Linux</h3> - -<ul> -<li>Área de trabalho GNOME ou KDE</li> -<li>Biblioteca GNU C (glibc) 2.15 ou posterior</li> -<li>Mínimo de 2 GB de RAM, 4 GB de RAM recomendado</li> -<li>Espaço de 400 MB no disco rígido</li> -<li>Pelo menos 1 GB para o Android SDK, imagens do sistema de emulador e caches</li> -<li>Resolução de tela de 1.280 x 800 no mínimo</li> -<li>Kit de desenvolvimento Oracle® Java (JDK) 7 </li> -</ul> -<p>Testado no Trusty Tahr do Ubuntu® 14.04 (distribuição de 64 bits capaz de executar -aplicativos de 32 bits).</p> - - - - -<h2 id="Other" style="clear:left">Outras opções de download</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/pt-br/sdk/installing/adding-packages.jd b/docs/html-intl/intl/pt-br/sdk/installing/adding-packages.jd deleted file mode 100644 index bda33b666b99..000000000000 --- a/docs/html-intl/intl/pt-br/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,226 +0,0 @@ -page.title=Como adicionar pacotes SDK - -page.tags=sdk manager - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -Por padrão, o Android SDK não inclui tudo que é necessário para começar a desenvolver. -O SDK separa ferramentas, plataformas e outros componentes em pacotes que podem ser -baixados conforme necessário usando o -<a href="{@docRoot}tools/help/sdk-manager.html">Android SDK Manager</a>. -Portanto, antes de iniciar, há alguns pacotes que você deve adicionar ao Android SDK.</p> - -<p>Para começar a adicionar pacotes, execute o Android SDK Manager de uma das formas a seguir:</p> -<ul> - <li>No Android Studio, clique em <strong>SDK Manager</strong> -<img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" /> na barra de ferramentas.</li> - <li>Se não estiver usando o Android Studio: - <ul> - <li>Windows: Clique duas vezes no arquivo <code>SDK Manager.exe</code> na raiz do diretório do Android - SDK.</li> - <li>Mac/Linux: Abra um terminal e navegue para o diretório <code>tools/</code> no - local em que o Android SDK foi instalado. Em seguida, execute <code>android sdk</code>.</li> - </ul> - </li> -</ul> - -<p>Ao abrir o SDK Manager pela primeira vez, vários pacotes são selecionados -por padrão. Deixe-os selecionados, mas certifique-se de ter tudo o que é necessário -para começar seguindo os seguintes passos:</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">Obtenha as ferramentas mais recentes do SDK</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>No mínimo, ao configurar o Android SDK, - é preciso baixar as ferramentas mais recentes e a plataforma Android:</p> - <ol> - <li>Abra o diretório Tools e selecione: - <ul> - <li><strong>Ferramentas do Android SDK</strong></li> - <li><strong>Ferramentas-plataforma Android SDK</strong></li> - <li><strong>Ferramentas-Android SDK Build</strong> (versão mais recente)</li> - </ul> - </li> - <li>Abra a pasta do primeiro Android X.X (a versão mais recente) e selecione: - <ul> - <li><strong>Plataforma SDK</strong></li> - <li>Uma imagem do sistema para o emulador, como <br> - <strong>Imagem do sistema ARM EABI v7a</strong></li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">Obtenha a biblioteca de suporte para APIs adicionais</h2> - - <div class="sidebox"> - <p>A biblioteca de suporte é necessária para:</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a></li> - <li><a href="{@docRoot}tv/index.html">Android TV</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - </ul> - - <p>Ela também fornece estas APIs populares:</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">Gaveta de - navegação</a></li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">Vistas de deslizar</a></li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">Barra de ação com compatibilidade - retroativa</a></li> - </ul> - </div> - - <p>A <a href="{@docRoot}tools/support-library/features.html">Biblioteca de Suporte do Android</a> - fornece um conjunto estendido de APIs compatíveis com a maioria das versões do Android.</p> - - <p>Abra o diretório <strong>Extras</strong> e selecione:</p> - <ul> - <li><strong>Repositório de Suporte do Android</strong></li> - <li><strong>Biblioteca de Suporte do Android</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">Obtenha os serviços do Google Play para obter ainda mais APIs</h2> - - <div class="sidebox"> - - <p>As APIs dos serviços do Google Play fornecem uma variedade de recursos e serviços para aplicativos - Android, como:</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">Autenticação do usuário</a></li> - <li><a href="{@docRoot}google/play-services/maps.html">Google Maps</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - <li><a href="{@docRoot}google/play-services/games.html">Conquistas e placares de líderes - para jogos</a></li> - <li><a href="{@docRoot}google/play-services/index.html">E muito mais</a></li> - </ul> - </div> - - <p>Para desenvolver com as APIs do Google, você precisa do pacote de serviços do Google Play:</p> - <p>Abra o diretório <strong>Extras</strong> e selecione:</p> - <ul> - <li><strong>Repositório do Google</strong></li> - <li><strong>Serviços Google Play</strong></li> - </ul> - - <p class="note"><strong>Observação:</strong> as APIs dos serviços do Google Play não estão disponíveis em todos os dispositivos - com Android, mas estão disponíveis em todos os dispositivos com Google Play Store. Para usar essas - APIs no emulador do Android, também é preciso instalar a imagem do sistema das <strong>APIs do Google</strong> - do diretório Android X.X mais recente no SDK Manager.</p> -</li> - - -<li> - <h2 id="Install" class="norule">Instale os pacotes</h2> - <p>Depois de selecionar todos os pacotes desejados, prossiga para a instalação:</p> - <ol> - <li>Clique em <strong>Install X packages</strong> (Instalar X pacotes).</li> - <li>Na janela seguinte, clique duas vezes no nome de cada pacote à esquerda - para aceitar o contrato de licença de cada um.</li> - <li>Clique em <strong>Install</strong> (Instalar).</li> - </ol> - <p>O andamento do download é exibido na parte inferior da tela do SDK Manager. - <strong>Não saia do SDK Manager</strong>, pois isso cancelará o download.</p> -</li> - -<li> - <h2 id="Build" class="norule">Crie alguma coisa!</h2> - -<p>Com os pacotes acima agora no seu Android SDK, você está pronto para criar aplicativos -para o Android. À medida que novas ferramentas e outras APIs forem disponibilizadas, basta executar o SDK Manager - para baixar os novos pacotes para o SDK.</p> - -<p>A seguir há algumas opções sobre como prosseguir:</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>Introdução</h3> -<p>Se você é novo no desenvolvimento para Android, aprenda os fundamentos de aplicativos para Android seguindo -o guia para <strong><a href="{@docRoot}training/basics/firstapp/index.html">Criação do primeiro aplicativo</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Desenvolva para vestíveis</h3> -<p>Se você está pronto para começar a desenvolver aplicativos para vestíveis Android, consulte o guia para -<strong><a href="{@docRoot}wear/preview/start.html">Criação de aplicativos para Android Wear</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Use as APIs do Google</h3> -<p>Para começar a usar as APIs do Google, como os serviços Maps ou -Play Game, consulte o guia para -<strong><a href="{@docRoot}google/play-services/setup.html">Configuração dos serviços do -Google Play</a></strong>.</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - diff --git a/docs/html-intl/intl/ru/sdk/index.jd b/docs/html-intl/intl/ru/sdk/index.jd deleted file mode 100644 index 765c89c5749d..000000000000 --- a/docs/html-intl/intl/ru/sdk/index.jd +++ /dev/null @@ -1,432 +0,0 @@ -page.title=Загрузка Android Studio и инструментов SDK -page.tags=sdk, android studio -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=Загрузите официальные средства разработки Android для создания приложений для смартфонов, планшетов, носимых устройств, телевизоров и многих других устройств под управлением ОС Android. - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">Загрузка</h1> - -<p class="sdk-terms-intro">Прежде чем устанавливать Android Studio или отдельный пакет инструментов SDK, -примите указанные ниже положения и условия.</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">Положения и условия</h2> -Данный документ представляет собой Лицензионное соглашение на использование набора средств разработки программного обеспечения Android - - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>Еще буквально несколько шагов, — и вы сможете приступить к разработке приложений для Android!</p> - <p>Через некоторое время вы будете перенаправлены на страницу -<a id="next-link" href="{@docRoot}sdk/installing/index.html">установки Android SDK</a>.</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">Я прочитал(а) и принимаю изложенные выше положения и условия</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" width="760" height="400"/> - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">Официальная среда разработки Android</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>Среда разработки Android Studio</li> -<li>Инструменты Android SDK</li> -<li>Платформа Android 6.0 (Marshmallow)</li> -<li>Системный образ Android 6.0 с API Google для эмулятора</li> -</ul> - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -Чтобы загрузить Android Studio или отдельные инструменты SDK, посетите веб-сайт <a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> -</p> -</div> - -<ul> - <li><a href="#Requirements">Требования к системе</a></li> - <li><a href="#Other">Другие варианты загрузки</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">Переход на Android Studio</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">Опрос</a></li> -</ul> - -</div> - - - - -<h2 class="feature norule" >Интеллектуальный редактор программного кода</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>В основе Android Studio лежит интеллектуальный редактор исходного кода, предлагающий такие возможности, как расширенное - автозавершение кода, его реструктуризация и анализ.</p> - <p>Этот редактор поможет вам повысить эффективность разработки приложений для Android.</p> -</div> - - - - - -<h2 class="feature norule">Шаблоны программного кода и интеграция с GitHub</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Новые мастеры создания проектов в еще большей степени упрощают работу с новыми проектами.</p> - - <p>Создавая новый проект, используйте шаблоны программного кода для таких общих фрагментов, как элементы для навигации по приложению и представления, -а также импортируйте примеры кода Google прямо из GitHub.</p> -</div> - - - - -<h2 class="feature norule">Разработка приложений с поддержкой экранов разного размера</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Создавайте приложения для смартфонов и планшетов под управлением Android, для Android Wear -, Android TV, Android Auto и даже Google Glass.</p> - <p>Благодаря новому представлению Android Project и поддержке модулей в Android Studio вы можете с легкостью -управлять своими проектами и ресурсами. -</div> - - - - -<h2 class="feature norule">Виртуальные устройства на любой вкус и цвет</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>В состав Android Studio входит оптимизированный эмулятор.</p> - <p>Обновленный и оптимизированный диспетчер виртуальных устройств порадует вас широким набором -предварительно настроенных профилей устройств Android.</p> -</div> - - - - -<h2 class="feature norule"> -Эволюция сборок Android благодаря Gradle</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Создавайте несколько APK для ваших приложений с различными функциональными возможностями — в рамках одного и того же проекта.</p> - <p>Управляйте зависимостями между приложениями с помощью Maven.</p> - <p>Создавайте APK в Android Studio или прямо в командной строке.</p> -</div> - - - - -<h2 class="feature norule">Подробнее об Android Studio</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>Создано на основе IntelliJ IDEA Community Edition, популярной среды разработки Java от JetBrains.</li> - <li>Гибкая система сборки на основе Gradle.</li> - <li>Различные варианты сборки и методы создания файлов APK.</li> - <li>Расширенная поддержка шаблонов для служб Google и устройств различных типов.</li> - <li>Функциональный редактор макетов с поддержкой редактирования тем оформления.</li> - <li>Инструментарий lint для решения проблем с производительностью, удобством использования, совместимостью версий и т. д.</li> - <li>ProGuard и возможности подписи приложений.</li> - <li>Встроенная поддержка Google Cloud Platform, обеспечивающая удобство интеграции со службами Google Cloud - Messaging и App Engine.</li> - </ul> - -<p style="margin:0"> -Подробные сведения о возможностях Android Studio -изложены в руководстве <a href="{@docRoot}tools/studio/index.html">Android Studio Basics</a>.</p> -</div> - - -<p>Если вы используете Eclipse с ADT, вам следует знать, что Android Studio теперь является официальной средой разработки для -Android, поэтому переходите на Android Studio, чтобы всегда иметь под рукой новейшие -инструменты разработки приложений. Сведения о том, как перенести свои проекты, -приведены в документе <a href="{@docRoot}sdk/installing/migrate.html">Переход на Android -Studio</a>.</p> - - - - - - - -<h2 id="Requirements">Требования к системе</h2> - -<h3>Windows</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003 (32- или 64-разрядная версия)</li> -<li>ОЗУ не менее 2 ГБ (рекомендуется 4 ГБ)</li> -<li>400 МБ свободного места на жестком диске</li> -<li>Не менее 1 ГБ для Android SDK, системных образов эмулятора и кэшированных файлов</li> -<li>Экран с разрешением не менее 1280 x 800 точек</li> -<li>Java Development Kit (JDK) 7 </li> -<li>Дополнительно для эмулятора с ускорителем: Процессор Intel® с поддержкой Intel® VT-x, Intel® EM64T -(Intel® 64) и функцией XD-Bit</li> -</ul> - - -<h3>Mac OS X</h3> - -<ul> -<li>Mac® OS X® 10.8.5 или более поздней версии вплоть до 10.9 (Mavericks)</li> -<li>ОЗУ не менее 2 ГБ (рекомендуется 4 ГБ)</li> -<li>400 МБ свободного места на жестком диске</li> -<li>Не менее 1 ГБ для Android SDK, системных образов эмулятора и кэшированных файлов</li> -<li>Экран с разрешением не менее 1280 x 800 точек</li> -<li>Java Runtime Environment (JRE) 6</li> -<li>Java Development Kit (JDK) 7</li> -<li>Дополнительно для эмулятора с ускорителем: Процессор Intel® с поддержкой Intel® VT-x, Intel® EM64T -(Intel® 64) и функцией XD-Bit</li> -</ul> - -<p>В Mac OS для оптимизации отображения шрифтов Android Studio рекомендуется запускать с -Java Runtime Environment (JRE) 6. Впоследствии проекты можно настроить на использование Java Development Kit (JDK) 6 или JDK 7.</p> - - - -<h3>Linux</h3> - -<ul> -<li>Рабочий стол GNOME или KDE</li> -<li>Библиотека GNU C (glibc) 2.15 или более поздней версии</li> -<li>ОЗУ не менее 2 ГБ (рекомендуется 4 ГБ)</li> -<li>400 МБ свободного места на жестком диске</li> -<li>Не менее 1 ГБ для Android SDK, системных образов эмулятора и кэшированных файлов</li> -<li>Экран с разрешением не менее 1280 x 800 точек</li> -<li>Oracle® Java Development Kit (JDK) 7 </li> -</ul> -<p>Работа Android Studio протестирована в ОС Ubuntu® 14.04, Trusty Tahr (64-разрядная версия с поддержкой запуска -32-разрядных приложений).</p> - - - - -<h2 id="Other" style="clear:left">Другие варианты загрузки</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/ru/sdk/installing/adding-packages.jd b/docs/html-intl/intl/ru/sdk/installing/adding-packages.jd deleted file mode 100644 index 19d1edd2f152..000000000000 --- a/docs/html-intl/intl/ru/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,226 +0,0 @@ -page.title=Добавление пакетов SDK - -page.tags=менеджер sdk - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -По умолчанию SDK Android включает в себя не все инструменты, которые необходимы для того, чтобы приступить к разработке приложений. -Инструменты, платформы и другие компоненты представлены в Android SDK в виде отдельных пакетов, которые при -необходимости можно загрузить с помощью -<a href="{@docRoot}tools/help/sdk-manager.html">менеджера SDK Android</a>. -Поэтому, прежде чем приступить к работе, в пакет SDK Android необходимо добавить некоторые дополнительные пакеты.</p> - -<p>Для добавления пакетов необходимо запустить менеджер SDK. Существует несколько способов запуска менеджера.</p> -<ul> - <li>В Android Studio щелкните элемент <strong>SDK Manager</strong> -<img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" /> на панели инструментов.</li> - <li>Для тех, кто не пользуется Android Studio: - <ul> - <li>Windows: Дважды щелкните файл <code>SDK Manager.exe</code>, который находится в корневом каталоге пакета Android -SDK.</li> - <li>Mac/Linux: Откройте окно терминала и перейдите в каталог <code>tools/</code> пакета Android -SDK, после чего выполните команду <code>android sdk</code>.</li> - </ul> - </li> -</ul> - -<p>При первом запуске менеджера SDK по умолчанию -выбраны всего несколько пакетов. Оставьте выбор по умолчанию, однако убедитесь в том, что в них имеется все необходимое -для начала работы. Для этого выполните указанные ниже действия.</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">Загрузите актуальные инструменты SDK</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>Во время установки SDK Android -необходимо как минимум загрузить актуальные инструменты и платформу Android.</p> - <ol> - <li>Откройте каталог Tools и выберите следующее: - <ul> - <li><strong>Инструменты Android SDK</strong>;</li> - <li><strong>Инструменты платформы Android SDK</strong>;</li> - <li><strong>Инструменты сборки Android SDK</strong> (последнюю версию).</li> - </ul> - </li> - <li>Откройте первую папку Android X.X (последней версии) и выберите следующее: - <ul> - <li><strong>Платформа SDK</strong></li> - <li>системный образ для эмулятора, например <br> - <strong>ARM EABI v7a System Image</strong>.</li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">Загрузите вспомогательную библиотеку для дополнительных API-интерфейсов</h2> - - <div class="sidebox"> - <p>Вспомогательная библиотека требуется для следующих ОС:</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a>;</li> - <li><a href="{@docRoot}tv/index.html">Android TV</a>;</li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a>.</li> - </ul> - - <p>В ней также представлены следующие популярные API-интерфейсы:</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">панель -навигации</a>;</li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">пролистывание представлений</a>;</li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">строка действий с обратной -совместимостью</a>.</li> - </ul> - </div> - - <p>Во <a href="{@docRoot}tools/support-library/features.html">вспомогательной библиотеке Android</a> -представлен широкий набор API-интерфейсов, которые совместимы с большинством версий ОС Android.</p> - - <p>Откройте каталог <strong>Extras (Дополнения)</strong> и выберите следующее:</p> - <ul> - <li><strong>Android Support Repository (Репозиторий вспомогательных библиотек Android)</strong>;</li> - <li><strong>Вспомогательная библиотека Android</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">Загрузите службы Google Play, чтобы получить доступ к еще большему количеству API-интерфейсов</h2> - - <div class="sidebox"> - - <p>API-интерфейсы служб Google Play предлагают различные возможности и службы для ваших приложений Android, -включая следующие:</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">аутентификация пользователей</a>;</li> - <li><a href="{@docRoot}google/play-services/maps.html">Google Карты</a>;</li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a>.</li> - <li><a href="{@docRoot}google/play-services/games.html">достижения и списки -лидеров в играх</a>;</li> - <li><a href="{@docRoot}google/play-services/index.html">а также множество других возможностей</a>.</li> - </ul> - </div> - - <p>Для разработки приложений с помощью API-интерфейсов Google вам потребуется пакет служб Google Play.</p> - <p>Откройте каталог <strong>Extras (Дополнения)</strong> и выберите следующее:</p> - <ul> - <li><strong>Google Repository (Репозиторий Google)</strong>;</li> - <li><strong>Google Play services (службы Google Play)</strong>.</li> - </ul> - - <p class="note"><strong>Примечание.</strong> API-интерфейсы служб Google Play доступны не на всех устройствах -Android, однако предлагаются на всех устройствах с доступом к магазину Google Play. Для использования -этих API-интерфейсов в эмуляторе Android необходимо также установить системный образ <strong>API-интерфейсов Google</strong>, -который находится в менеджере SDK в папке актуальной версии Android X.X.</p> -</li> - - -<li> - <h2 id="Install" class="norule">Установите пакеты</h2> - <p>После выбора всех необходимых пакетов можно продолжить установку.</p> - <ol> - <li>Нажмите кнопку <strong>Install X packages</strong>.</li> - <li>В появившемся окне дважды щелкните имя каждого пакета, находящегося в области слева, -чтобы принять условия лицензии для каждого из них.</li> - <li>Нажмите кнопку <strong>Install</strong>.</li> - </ol> - <p>В нижней части окна менеджера SDK находится индикатор загрузки. - <strong>Не закрывайте менеджер SDK</strong>, поскольку это приведет к отмене процесса загрузки.</p> -</li> - -<li> - <h2 id="Build" class="norule">Приступайте к созданию приложений</h2> - -<p>После загрузки необходимых пакетов в SDK Android вы можете приступать к созданию приложений для -Android. По мере выхода новых инструментов и других API-интерфейсов просто запустите менеджер SDK -и загрузите новые пакеты.</p> - -<p>Вот некоторые варианты того, как можно приступить к работе:</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>Для новичков</h3> -<p>Если вы делаете только первые шаги в разработке приложений Android, рекомендуем ознакомиться с основами приложений Android и обратиться к -руководству <strong><a href="{@docRoot}training/basics/firstapp/index.html">по созданию своего первого приложения</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Создание приложений для носимых устройств</h3> -<p>Если вы готовы приступить к созданию приложений для носимых устройств Android, ознакомьтесь с руководством по -<strong><a href="{@docRoot}wear/preview/start.html">созданию приложений для ОС Android Wear</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Использование API-интерфейсов Google</h3> -<p>Чтобы начать работу с API-интерфейсами Google, такими как Карты или -службы Google Play, рекомендуем обратиться к руководству по -<strong><a href="{@docRoot}google/play-services/setup.html">настройке служб Google -Play</a></strong>.</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - diff --git a/docs/html-intl/intl/vi/sdk/index.jd b/docs/html-intl/intl/vi/sdk/index.jd deleted file mode 100644 index c4009f4c207a..000000000000 --- a/docs/html-intl/intl/vi/sdk/index.jd +++ /dev/null @@ -1,430 +0,0 @@ -page.title=Tải xuống Android Studio và SDK Tools -page.tags=sdk, android studio -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=Tải xuống Android IDE chính thức và bộ công cụ cho nhà phát triển để xây dựng ứng dụng cho điện thoại, máy tính bảng, thiết bị đeo được, TV chạy Android và nhiều thiết bị khác. - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">Tải xuống</h1> - -<p class="sdk-terms-intro">Trước khi cài đặt Android Studio hoặc bộ công cụ SDK độc lập, -bạn phải đồng ý với các điều khoản và điều kiện sau.</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">Điều khoản và Điều kiện</h2> -Đây là Thỏa thuận Cấp phép cho Bộ công cụ Phát triển Phần mềm Android - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>Bạn chỉ còn vài bước nữa là được bắt đầu xây dựng ứng dụng cho Android!</p> - <p>Trong chốc lát, bạn sẽ được chuyển hướng đến - <a id="next-link" href="{@docRoot}sdk/installing/index.html">Cài đặt SDK Android</a>.</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">Tôi đã đọc và đồng ý với các điều khoản và điều kiện trên</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" width="760" height="400" /> - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">IDE Android chính thức</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>IDE Android Studio</li> -<li>Bộ công cụ SDK Android</li> -<li>Nền tảng Android 6.0 (Marshmallow)</li> -<li>Ảnh hệ thống trình mô phỏng Android 6.0 cùng các API của Google</li> -</ul> - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -Để tải Android Studio hoặc bộ công cụ SDK độc lập, hãy truy cập <a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> -</p> -</div> - -<ul> - <li><a href="#Requirements">Yêu cầu Hệ thống</a></li> - <li><a href="#Other">Tùy chọn Tải xuống Khác</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">Di chuyển tới Android Studio</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">Tham gia Khảo sát</a></li> -</ul> - - - - - -<h2 class="feature norule" >Trình chỉnh sửa mã thông minh</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Nằm ở cốt lõi của Android Studio là một trình biên tập mã thông minh có khả năng hoàn thành - mã, dựng lại và phân tích mã nâng cao.</p> - <p>Trình chỉnh sửa mã mạnh mẽ này sẽ giúp bạn trở thành một nhà phát triển ứng dụng Android năng suất hơn.</p> -</div> - - - - - -<h2 class="feature norule">Các ví dụ mã và tích hợp GitHub</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Các trình hướng dẫn dự án mới sẽ giúp bắt đầu một dự án mới dễ hơn bao giờ hết.</p> - - <p>Bắt đầu các dự án bằng cách sử dụng mã mẫu cho các kiểu mẫu như ngăn kéo điều hướng và các trình tạo trang dạng xem, - và thậm chí còn nhập được các ví dụ mã của Google từ GitHub.</p> -</div> - - - - -<h2 class="feature norule">Phát triển ứng dụng đa màn hình</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Xây dựng ứng dụng cho điện thoại, máy tính bảng Android, Android Wear, - Android TV, Android Auto và Google Glass.</p> - <p>Với Dạng xem Dự án Android mới và hỗ trợ mô-đun trong Android Studio, việc - quản lý các dự án và tài nguyên ứng dụng trở nên dễ dàng hơn. -</div> - - - - -<h2 class="feature norule">Các thiết bị ảo cho tất cả hình dạng và kích cỡ</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio được cấu hình sẵn cùng một ảnh trình mô phỏng được tối ưu hóa.</p> - <p>Trình quản lý Thiết bị Ảo được cập nhật và hợp lý hoá sẽ cung cấp - các cấu hình thiết bị định nghĩa sẵn cho các thiết bị Android thông thường.</p> -</div> - - - - -<h2 class="feature norule"> -Phát triển xây dựng Android bằng Gradle</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Tạo nhiều tệp APK cho ứng dụng Android của bạn với các tính năng khác nhau bằng cách sử dụng cùng dự án.</p> - <p>Quản lý phụ thuộc của ứng dụng bằng Maven.</p> - <p>Xây dựng APK từ Android Studio hoặc dòng lệnh.</p> -</div> - - - - -<h2 class="feature norule">Tìm hiểu thêm về Android Studio</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>Xây dựng Phiên bản Cộng đồng IntelliJ IDEA, IDE Java phổ biến của JetBrains.</li> - <li>Hệ thống xây dựng linh hoạt dựa trên Gradle.</li> - <li>Xây dựng các biến thể và khởi tạo nhiều APK.</li> - <li>Hỗ trợ mẫu mở rộng cho các Dịch vụ của Google và các loại thiết bị khác nhau.</li> - <li>Trình chỉnh sửa bố trí phong phú hỗ trợ chỉnh sửa chủ đề.</li> - <li>Bộ công cụ Lint để giải quyết các vấn đề về hiệu năng, khả năng sử dụng, tính tương thích với phiên bản và các vấn đề khác.</li> - <li>ProGuard và các khả năng ký ứng dụng.</li> - <li>Hỗ trợ tích hợp cho Nền tảng Đám mây của Google, giúp dễ dàng tích hợp Google Cloud - Nhắn tin và Công cụ Ứng dụng.</li> - </ul> - -<p style="margin:0"> -Để biết thêm chi tiết về các tính năng có sẵn trong Android Studio, -hãy đọc hướng dẫn <a href="{@docRoot}tools/studio/index.html">Nội dung Cơ bản về Android Studio</a>.</p> -</div> - - -<p>Nếu bạn đang sử dụng Eclipse với ADT, hãy lưu ý rằng hiện Android Studio là IDE chính thức -cho Android, vì thế bạn nên di chuyển sang Android Studio để nhận tất cả cập nhật -IDE mới nhất. Để được trợ giúp về di chuyển các dự án, -hãy xem phần <a href="{@docRoot}sdk/installing/migrate.html">Di chuyển sang Android -Studio</a>.</p> - - - - - - - -<h2 id="Requirements">Yêu cầu Hệ thống</h2> - -<h3>Windows</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003 (32 hoặc 64-bit)</li> -<li>Tối thiểu 2 GB RAM, khuyến nghị 4 GB RAM</li> -<li>Dung lượng trống đĩa cứng 400 MB</li> -<li>Ít nhất 1 GB cho SDK Android, các ảnh hệ thống trình mô phỏng và bộ đệm ẩn</li> -<li>Độ phân giải màn hình tối thiểu 1280 x 800</li> -<li>Java Development Kit (JDK) 7 </li> -<li>Tùy chọn dành cho trình mô phỏng tăng tốc: Bộ xử lý Intel® có hỗ trợ Intel® VT-x, Intel® EM64T -(Intel® 64), và tính năng Execute Disable (XD) Bit</li> -</ul> - - -<h3>Mac OS X</h3> - -<ul> -<li>Mac® OS X® 10.8.5 hoặc cao hơn, lên tới 10.9 (Mavericks)</li> -<li>Tối thiểu 2 GB RAM, khuyến nghị 4 GB RAM</li> -<li>Dung lượng trống đĩa cứng 400 MB</li> -<li>Ít nhất 1 GB cho SDK Android, các ảnh hệ thống trình mô phỏng và bộ đệm ẩn</li> -<li>Độ phân giải màn hình tối thiểu 1280 x 800</li> -<li>Java Runtime Environment (JRE) 6</li> -<li>Java Development Kit (JDK) 7</li> -<li>Tùy chọn dành cho trình mô phỏng tăng tốc: Bộ xử lý Intel® có hỗ trợ Intel® VT-x, Intel® EM64T -(Intel® 64), và tính năng Execute Disable (XD) Bit</li> -</ul> - -<p>Trên Mac OS, hãy chạy Android Studio bằng Java Runtime Environment (JRE) 6 để dựng -phông chữ tối ưu. Khi đó, bạn có thể cấu hình dự án của mình để sử dụng Java Development Kit (JDK) 6 hoặc JDK 7.</p> - - - -<h3>Linux</h3> - -<ul> -<li>Máy tính bàn GNOME hoặc KDE</li> -<li>GNU C Library (glibc) 2.15 hoặc mới hơn</li> -<li>Tối thiểu 2 GB RAM, khuyến nghị 4 GB RAM</li> -<li>Dung lượng trống đĩa cứng 400 MB</li> -<li>Ít nhất 1 GB cho SDK Android, các ảnh hệ thống trình mô phỏng và bộ đệm ẩn</li> -<li>Độ phân giải màn hình tối thiểu 1280 x 800</li> -<li>Oracle® Java Development Kit (JDK) 7 </li> -</ul> -<p>Được thử nghiệm trên Ubuntu® 14.04, Trusty Tahr (có khả năng phân phối 64-bit khi chạy các ứng dụng -32-bit).</p> - - - - -<h2 id="Other" style="clear:left">Tùy chọn Tải xuống Khác</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/vi/sdk/installing/adding-packages.jd b/docs/html-intl/intl/vi/sdk/installing/adding-packages.jd deleted file mode 100644 index 1c9072c746bf..000000000000 --- a/docs/html-intl/intl/vi/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,226 +0,0 @@ -page.title=Thêm Gói SDK - -page.tags=trình quản lý sdk - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -Theo mặc định, SDK Android không bao gồm mọi thứ bạn cần để bắt đầu phát triển. -SDK chia những công cụ, nền tảng và các thành phần khác vào các gói mà bạn có thể -tải xuống nếu cần bằng cách sử dụng -<a href="{@docRoot}tools/help/sdk-manager.html">Trình quản lý SDK Android</a>. -Vì vậy, trước khi có thể bắt đầu, có một vài gói bạn nên thêm vào SDK Android của mình.</p> - -<p>Để bắt đầu thêm gói, hãy khởi chạy Trình quản lý SDK Android bằng một trong những cách sau:</p> -<ul> - <li>Trong Android Studio, nhấp vào <strong>Trình quản lý SDK</strong> -<img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" /> ở thanh công cụ.</li> - <li>Nếu bạn không đang sử dụng Android Studio: - <ul> - <li>Windows: Bấm đúp tệp <code>SDK Manager.exe</code> ở gốc của thư mục SDK - Android.</li> - <li>Mac/Linux: Mở một terminal và điều hướng đến thư mục <code>tools/</code> ở vị trí - nơi cài đặt SDK Android, rồi chạy <code>android sdk</code>.</li> - </ul> - </li> -</ul> - -<p>Khi bạn mở Trình quản lý SDK lần đầu, một vài gói sẽ được chọn -theo mặc định. Để nguyên những gói được chọn này, nhưng hãy chắc chắn bạn có mọi thứ mình cần -để bắt đầu bằng cách làm theo những bước sau:</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">Tải công cụ SDK mới nhất</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>Tối thiểu khi thiết đặt SDK Android, - bạn nên tải xuống những công cụ và nền tảng Android mới nhất:</p> - <ol> - <li>Mở thư mục Tools và chọn: - <ul> - <li><strong>Công cụ SDK Android</strong></li> - <li><strong>Công cụ Nền tảng SDK Android</strong></li> - <li><strong>Công cụ Xây dựng SDK Android</strong> (phiên bản mới nhất)</li> - </ul> - </li> - <li>Mở thư mục Android X.X đầu tiên (phiên bản mới nhất) và chọn: - <ul> - <li><strong>Nền tảng SDK</strong></li> - <li>Một ảnh hệ thống cho trình mô phỏng, chẳng hạn như <br> - <strong>Ảnh Hệ thống ARM EABI v7a</strong></li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">Tải thư viện hỗ trợ cho các API bổ sung</h2> - - <div class="sidebox"> - <p>Phải có thư viện hỗ trợ đối với:</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a></li> - <li><a href="{@docRoot}tv/index.html">Android TV</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - </ul> - - <p>Nó cũng cung cấp những API phổ biến sau:</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">Ngăn kéo - điều hướng</a></li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">Chế độ xem trượt nhanh</a></li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">Thanh hành động - tương thích ngược</a></li> - </ul> - </div> - - <p><a href="{@docRoot}tools/support-library/features.html">Thư viện Hỗ trợ Android</a> - cung cấp một tập API mở rộng tương thích với hầu hết các phiên bản của Android.</p> - - <p>Mở thư mục <strong>Extras</strong> và chọn:</p> - <ul> - <li><strong>Kho Hỗ trợ Android</strong></li> - <li><strong>Thư viện Hỗ trợ Android</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">Tải dịch vụ Google Play để có nhiều API hơn nữa</h2> - - <div class="sidebox"> - - <p>Các API dịch vụ Google Play sẽ cung cấp nhiều tính năng và dịch vụ cho các ứng dụng Android - của bạn, chẳng hạn như:</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">Xác thực người dùng</a></li> - <li><a href="{@docRoot}google/play-services/maps.html">Google Maps</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - <li><a href="{@docRoot}google/play-services/games.html">Thành tích và bảng xếp hạng - trò chơi</a></li> - <li><a href="{@docRoot}google/play-services/index.html">Và nhiều hơn nữa</a></li> - </ul> - </div> - - <p>Để phát triển bằng các API của Google, bạn cần gói dịch vụ Google Play.</p> - <p>Mở thư mục <strong>Extras</strong> và chọn:</p> - <ul> - <li><strong>Kho Google</strong></li> - <li><strong>Dịch vụ Google Play</strong></li> - </ul> - - <p class="note"><strong>Lưu ý:</strong> Các API dịch vụ Google Play không có sẵn trên tất cả - thiết bị dựa trên nền tảng Android, nhưng có sẵn trên tất cả thiết bị có Google Play Store. Để sử dụng những - API này trong trình mô phỏng Android, bạn cũng phải cài đặt ảnh hệ thống <strong>Google API</strong> - từ thư mục Android X.X mới nhất trong Trình quản lý SDK.</p> -</li> - - -<li> - <h2 id="Install" class="norule">Cài đặt gói</h2> - <p>Sau khi bạn đã chọn tất cả gói mong muốn, hãy tiếp tục cài đặt:</p> - <ol> - <li>Bấm <strong>Cài đặt X gói</strong>.</li> - <li>Trong cửa sổ tiếp theo, bấm đúp vào tên của từng gói ở bên trái - để chấp nhận thỏa thuận cấp phép cho từng gói.</li> - <li>Bấm <strong>Cài đặt</strong>.</li> - </ol> - <p>Tiến trình tải xuống được hiện ở dưới cùng của cửa sổ Trình quản lý SDK. - <strong>Không được thoát Trình quản lý SDK</strong> nếu không nó sẽ hủy bỏ việc tải xuống.</p> -</li> - -<li> - <h2 id="Build" class="norule">Xây dựng một thứ gì đó!</h2> - -<p>Với những gói trên có trong SDK Android của bạn, giờ bạn đã sẵn sàng để xây dựng ứng dụng -cho Android. Khi có sẵn các công cụ mới và API khác, chỉ cần khởi chạy Trình quản lý SDK - để tải xuống các gói mới cho SDK của bạn.</p> - -<p>Sau đây là một vài tùy chọn về cách bạn nên tiến hành:</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>Bắt đầu</h3> -<p>Nếu bạn mới làm quen với phát triển Android, hãy tìm hiểu những nội dung cơ bản của ứng dụng Androi bằng cách làm theo -hướng dẫn <strong><a href="{@docRoot}training/basics/firstapp/index.html">Xây dựng Ứng dụng Đầu tiên của bạn</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Xây dựng cho thiết bị đeo được</h3> -<p>Nếu bạn sẵn sàng bắt đầu xây dựng ứng dụng cho thiết bị đeo được Android, hãy xem hướng dẫn -<strong><a href="{@docRoot}wear/preview/start.html">Xây dựng Ứng dụng cho Android Wear</a></strong>.</p> - -</div> -<div class="col-4 box"> -<h3>Sử dụng API của Google</h3> -<p>Để bắt đầu sử dụng các API của Google, chẳng hạn như các dịch vụ Bản đồ hoặc -Chơi Trò chơi, hãy xem hướng dẫn -<strong><a href="{@docRoot}google/play-services/setup.html">Thiết đặt Dịch vụ Google Play -</a></strong>.</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - diff --git a/docs/html-intl/intl/zh-cn/sdk/index.jd b/docs/html-intl/intl/zh-cn/sdk/index.jd deleted file mode 100644 index 4de602227c7f..000000000000 --- a/docs/html-intl/intl/zh-cn/sdk/index.jd +++ /dev/null @@ -1,429 +0,0 @@ -page.title=下载 Android Studio 和 SDK 工具 -page.tags=sdk, android studio -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=下载官方 Android IDE 和开发者工具,构建适用于 Android 手机、平板电脑、可穿戴设备、电视等设备的应用。 - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">下载</h1> - -<p class="sdk-terms-intro">在安装 Android Studio 或独立 SDK -工具之前,您必须同意下列条款和条件。</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">条款和条件</h2> -本协议是 Android 软件开发工具包许可协议 - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>您距离构建 Android 应用只有几步之遥!</p> - <p>系统很快就会将您重定向到 -<a id="next-link" href="{@docRoot}sdk/installing/index.html">安装 Android SDK</a>。</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">我已阅读并同意上述条款和条件</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" width="760" height="400"/> - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">官方 Android IDE</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>Android Studio IDE</li> -<li>Android SDK 工具</li> -<li>Android 6.0 (Marshmallow) 平台</li> -<li>Android 6.0 模拟器系统映像(附带 Google API)</li> -</ul> - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -如需获得 Android Studio 或独立 SDK 工具,请访问 <a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> -</p> -</div> - -<ul> - <li><a href="#Requirements">系统要求</a></li> - <li><a href="#Other">其他下载选项</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">迁移至 Android Studio</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">参加调查</a></li> -</ul> - - - - -<h2 class="feature norule" >智能代码编辑器</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio 的核心是一个智能代码编辑器,可进行高级代码完成、重构和代码分析。 -</p> - <p>这款功能强大的代码编辑器可帮助您成为更高产的 Android 应用开发者。</p> -</div> - - - - - -<h2 class="feature norule">代码模板和 GitHub 集成</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>新项目向导让开始一个新项目变得前所未有的简单。</p> - - <p>可使用适用于不同模式(如抽屉式导航栏和视图分页器)的模板代码开始项目,甚至可以从 GitHub -导入 Google 代码示例。</p> -</div> - - - - -<h2 class="feature norule">多屏幕应用开发</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>构建适用于 Android 手机、平板电脑、Android Wear、Android TV、Android Auto -以及 Google Glass 的应用。</p> - <p>Android Studio 内全新的 Android -项目视图和模块支持让应用项目和资源管理变得更加轻松。 -</div> - - - - -<h2 class="feature norule">用于模拟所有形状和尺寸的虚拟设备</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio 预先配置了经过优化的模拟器映像。</p> - <p>经过更新和精简的虚拟设备管理器可为常见 Android -设备提供预定义设备配置文件。</p> -</div> - - - - -<h2 class="feature norule"> -Android 版本借助 Gradle 演进</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>使用同一项目为您的 Android 应用创建多个具有不同功能的 APK。</p> - <p>使用 Maven 管理应用依赖项。</p> - <p>使用 Android Studio 或命令行构建 APK。</p> -</div> - - - - -<h2 class="feature norule">有关 Android Studio 的详细信息</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>这款由 JetBrains 推出并广受欢迎的 Java IDE 以 IntelliJ IDEA Community Edition 为基础构建</li> - <li>基于 Gradle 的灵活构建系统</li> - <li>构建变体和多 APK 生成</li> - <li>为 Google 服务和各种设备类型提供扩展模板支持</li> - <li>支持主题编辑的富布局编辑器</li> - <li>可捕捉性能、可用性、版本兼容性以及其他问题的 Lint 工具</li> - <li>ProGuard 和应用签名功能</li> - <li>内置对 Google 云平台的支持,可轻松集成 Google Cloud - Messaging 和应用引擎</li> - </ul> - -<p style="margin:0"> -有关 Android Studio -所提供功能的更多详细信息,请阅读 <a href="{@docRoot}tools/studio/index.html">Android Studio 基础知识</a>指南。</p> -</div> - - -<p>如果您一直在使用附带 ADT 的 Eclipse,请注意 Android Studio 现已成为 Android -的官方 IDE,因此您应迁移至 Android Studio,以获得所有最新的 IDE -更新。如果在迁移项目时需要帮助,请参阅<a href="{@docRoot}sdk/installing/migrate.html">迁移至 -Android -Studio</a>。</p> - - - - - - - -<h2 id="Requirements">系统要求</h2> - -<h3>Windows</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003(32 位或 64 位)</li> -<li>最低:2GB RAM,推荐:4GB RAM</li> -<li>400MB 硬盘空间</li> -<li>Android SDK、模拟器系统映像及缓存至少需要 1GB 空间</li> -<li>最低屏幕分辨率:1280 x 800</li> -<li>Java 开发工具包 (JDK) 7 </li> -<li>用于加速模拟器的选件:支持 Intel® VT-x、Intel® EM64T (Intel® 64) 和禁止执行 -(XD) 位功能的 Intel® 处理器</li> -</ul> - - -<h3>Mac OS X</h3> - -<ul> -<li>Mac® OS X® 10.8.5 或更高版本,直至 10.9 (Mavericks)</li> -<li>最低:2GB RAM,推荐:4GB RAM</li> -<li>400MB 硬盘空间</li> -<li>Android SDK、模拟器系统映像及缓存至少需要 1GB 空间</li> -<li>最低屏幕分辨率:1280 x 800</li> -<li>Java 运行组件环境 (JRE) 6</li> -<li>Java 开发工具包 (JDK) 7</li> -<li>用于加速模拟器的选件:支持 Intel® VT-x、Intel® EM64T (Intel® 64) -和禁止执行 (XD) 位功能的 Intel® 处理器</li> -</ul> - -<p>在 Mac OS 上运行附带 Java 运行组件环境 (JRE) 6 的 Android Studio -可优化字体渲染。您随后可将您的项目配置为使用 Java 开发工具包 (JDK) 6 或 JDK 7。</p> - - - -<h3>Linux</h3> - -<ul> -<li>GNU 网络对象模型环境或 KDE 桌面</li> -<li>GNU C Library (glibc) 2.15 或更高版本</li> -<li>最低:2GB RAM,推荐:4GB RAM</li> -<li>400MB 硬盘空间</li> -<li>Android SDK、模拟器系统映像及缓存至少需要 1GB 空间</li> -<li>最低屏幕分辨率:1280 x 800</li> -<li>Oracle® Java 开发工具包 (JDK) 7 </li> -</ul> -<p>已在 -Ubuntu® 14.04 (Trusty Tahr)(能够运行 32 位应用的 64 位分发)上进行了测试。</p> - - - - -<h2 id="Other" style="clear:left">其他下载选项</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/zh-cn/sdk/installing/adding-packages.jd b/docs/html-intl/intl/zh-cn/sdk/installing/adding-packages.jd deleted file mode 100644 index 4d5d7ec8b0c9..000000000000 --- a/docs/html-intl/intl/zh-cn/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,226 +0,0 @@ -page.title=添加 SDK 软件包 - -page.tags=sdk 管理器 - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -默认情况下,Android SDK -并不包括您着手开发所需的一切内容。SDK -将工具、平台和其他组件分成若干个软件包,您可以通过 -<a href="{@docRoot}tools/help/sdk-manager.html">Android SDK 管理器</a>根据需要下载这些软件包。因此您需要先为 Android SDK -添加几个软件包,然后才能着手开发。</p> - -<p>要添加软件包,请先通过下列方式之一启动 Android SDK 管理器:</p> -<ul> - <li>在 Android Studio 中,点击工具栏中的 <strong>SDK 管理器</strong> -<img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" />。</li> - <li>如果您未使用 Android Studio: - <ul> - <li>Windows:双击 Android - SDK 根目录中的 <code>SDK Manager.exe</code> 文件。</li> - <li>Mac/Linux:打开一个终端,导航到 Android SDK 安装 -位置的 <code>tools/</code> 目录,然后执行 <code>android sdk</code>。</li> - </ul> - </li> -</ul> - -<p>当您首次打开 SDK -管理器时,有几个软件包默认处于选定状态。保持它们的选定状态,但务必按照下列步骤获得着手开发所需的一切内容: -</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">获得最新的 SDK 工具</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>在安装 Android SDK 时, -您至少应下载最新工具和 Android 平台:</p> - <ol> - <li>打开 Tools 目录并选择: - <ul> - <li><strong>Android SDK Tools</strong></li> - <li><strong>Android SDK Platform-tools</strong></li> - <li><strong>Android SDK Build-tools</strong>(最高版本)</li> - </ul> - </li> - <li>打开第一个 Android X.X 文件夹(最新版本)并选择: - <ul> - <li><strong>SDK Platform</strong></li> - <li>模拟器系统映像,例如 <br> - <strong>ARM EABI v7a System Image</strong></li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">获得其他 API 的支持库</h2> - - <div class="sidebox"> - <p>以下项目需要支持库:</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a></li> - <li><a href="{@docRoot}tv/index.html">Android TV</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - </ul> - - <p>它还提供了以下受欢迎的 API:</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">Navigation - drawer</a></li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">Swipe views</a></li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">Backward-compatible - action bar</a></li> - </ul> - </div> - - <p><a href="{@docRoot}tools/support-library/features.html">Android 支持库</a>提供了一组丰富的 API,可兼容大多数版本的 Android。 -</p> - - <p>打开 <strong>Extras</strong> 目录并选择:</p> - <ul> - <li><strong>Android Support Repository</strong></li> - <li><strong>Android Support Library</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">为更多 API 获得 Google Play 服务</h2> - - <div class="sidebox"> - - <p>Google Play services API 为您的 Android - 应用提供了各种功能和服务,例如:</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">用户身份验证</a></li> - <li><a href="{@docRoot}google/play-services/maps.html">Google 地图</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - <li><a href="{@docRoot}google/play-services/games.html">游戏成就和 -排行榜</a></li> - <li><a href="{@docRoot}google/play-services/index.html">更多其他功能</a></li> - </ul> - </div> - - <p>要使用 Google API 进行开发,您需要 Google Play 服务包:</p> - <p>打开 <strong>Extras</strong> 目录并选择:</p> - <ul> - <li><strong>Google Repository</strong></li> - <li><strong>Google Play services</strong></li> - </ul> - - <p class="note"><strong>注:</strong>并非所有采用 - Android 技术的设备上都提供 Google Play Services API,但所有安装了 Google Play 商店的设备均提供这些 API。要在 Android 模拟器中使用这些 - API,您还必须安装 SDK 管理器中最新 Android X.X 目录内的 <strong>Google APIs</strong> - 系统映像。</p> -</li> - - -<li> - <h2 id="Install" class="norule">安装软件包</h2> - <p>选择想要安装的所有软件包后,即可继续执行安装:</p> - <ol> - <li>点击 <strong>Install X packages</strong>。</li> - <li>在下一个窗口中,双击左侧的每个软件包名称, -以接受各软件包的许可协议。</li> - <li>点击 <strong>Install</strong>。</li> - </ol> - <p>SDK 管理器窗口底部显示下载进度。 - <strong>切勿退出 SDK 管理器</strong>,否则它会取消下载。</p> -</li> - -<li> - <h2 id="Build" class="norule">赶快着手开发吧!</h2> - -<p>现在您的 Android SDK 已包含上述软件包,您随时可以着手开发 - Android 应用。当新工具以及其他 API 推出时,只需启动 SDK 管理器 -,为您的 SDK 下载新软件包。</p> - -<p>以下几个方案可为您的开发工作提供指导:</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>入门指南</h3> -<p>如果您是第一次开发 Android -应用,请按照<strong><a href="{@docRoot}training/basics/firstapp/index.html">开发您的第一款应用</a></strong>指南了解 Android 应用的基础知识。</p> - -</div> -<div class="col-4 box"> -<h3>开发穿戴式设备应用</h3> -<p>如果您已准备好着手开发 Android -穿戴式设备应用,请参阅<strong><a href="{@docRoot}wear/preview/start.html">开发 Android Wear 应用</a></strong>。</p> - -</div> -<div class="col-4 box"> -<h3>使用 Google API</h3> -<p>要开始使用 Google API,例如 Google Maps API 或 Google -Play Game Services -API,请参阅<strong><a href="{@docRoot}google/play-services/setup.html">设置 Google Play -服务</a></strong>指南。</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - diff --git a/docs/html-intl/intl/zh-cn/tools/help/proguard.jd b/docs/html-intl/intl/zh-cn/tools/help/proguard.jd deleted file mode 100644 index 0e8cc7a58093..000000000000 --- a/docs/html-intl/intl/zh-cn/tools/help/proguard.jd +++ /dev/null @@ -1,133 +0,0 @@ -page.title=ProGuard -parent.title=Tools -parent.link=index.html -page.type=工具 -@jd:body - - <div id="qv-wrapper"> - <div id="qv"> - <h2>本文内容</h2> - - <ol> - <li><a href="#enabling">启用 ProGuard</a></li> - - <li><a href="#configuring">配置 ProGuard</a></li> - - <li> - <a href="#decoding">解码混淆后的堆栈跟踪信息</a> - - <ol> - <li><a href="#considerations">调试已发布应用时应注意的事项</a></li> - </ol> - </li> - </ol> - - <h2>另请参见</h2> - - <ol> - <li> - <a href="http://stuff.mit.edu/afs/sipb/project/android/sdk/android-sdk-linux/tools/proguard/docs/index.html#manual/introduction.html">ProGuard 手册 »</a> - </li> - <li> - <a href="http://stuff.mit.edu/afs/sipb/project/android/sdk/android-sdk-linux/tools/proguard/docs/index.html#manual/retrace/introduction.html">ProGuard ReTrace 手册 »</a> - </li> - </ol> - </div> - </div> - - <p>ProGuard 工具通过移除无用的代码以及使用语义隐晦的名称来重命名类、字段和方法,从而达到压缩、优化和混淆代码的目的。最终您将获得一个较小的 <code>.apk</code> 文件,此文件更难于进行反向工程。由于 ProGuard 会使应用更难于进行反向工程,因此当应用使用对安全性要求极高的功能时(例如,当您<a href="{@docRoot}google/play/licensing/index.html">向应用授予许可</a>时),您必须使用此工具。</p> - - <p>ProGuard 已集成到 Android 构建系统,所以您无需手动调用此工具。只有当您在发布模式下构建应用时,ProGuard 才会运行,因此当您在调试模式下构建应用时,就无需处理混淆后的代码。是否运行 ProGuard 完全由您决定,但我们强烈建议您运行该工具。</p> - - <p>本文介绍如何启用和配置 ProGuard,以及如何使用 <code>retrace</code> 工具解码混淆后的堆栈跟踪信息。</p> - - <h2 id="enabling">启用 ProGuard</h2> - - <p>当您创建 Android 项目时,系统会在该项目的根目录中自动生成一个 <code>proguard.cfg</code> 文件。此文件将定义 ProGuard 会如何优化和混淆代码,因此您必须了解如何根据自己的需求对其进行自定义。默认的配置文件只涵盖一般的使用情形,因此您极有可能需要根据自己的需求对其进行修改。请参阅下文<a href="#configuring">配置 ProGuard</a> 这一部分,了解如何自定义 ProGuard 配置文件。</p> - - <p>要启用 ProGuard,让其作为 Ant 或 Eclipse 构建环境的一部分运行,请在 <code><project_root>/project.properties</code> 文件中设置 <code>proguard.config</code> 属性。该路径可以是绝对路径,也可以是项目根目录的相对路径。</p> - - <p class="note"><strong>注意</strong>:在使用 Android Studio 时,您必须将 Proguard 添加到 <code>gradle.build</code> 文件的构建类型中。有关详情,请参阅 <a href="http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Running-ProGuard">Gradle 插件用户指南</a>。 - - <p>如果您将 <code>proguard.cfg</code> 文件留在默认位置(项目的根目录中),则可以按如下格式指定其位置:</p> - <pre class="no-pretty-print"> - proguard.config=proguard.cfg - </pre> - <p> - 您也可以将此文件移到任何所需的位置,然后按如下格式指定其绝对路径: - </p> - <pre class="no-pretty-print"> - proguard.config=/path/to/proguard.cfg - </pre> - - - <p>当您在发布模式下构建应用时,无论是通过运行 <code>ant release</code> 还是通过使用 Eclipse 中的“导出向导”,构建系统都会自动检查是否设置了 <code>proguard.config</code> 属性。<em></em>如果已设置该属性,ProGuard 会自动处理应用的字节码,然后再将所有内容打包到 <code>.apk</code> 文件中。在调试模式下进行构建时之所以不调用 ProGuard,是因为该工具会加大调试难度。</p> - - <p>ProGuard 在运行后会输出以下文件:</p> - - <dl> - <dt><code>dump.txt</code></dt> - <dd>描述 <code>.apk</code> 文件中所有类文件的内部结构</dd> - - <dt><code>mapping.txt</code></dt> - <dd>列出原始与混淆后的类、方法和字段名称之间的对应关系。如果您从发布版本收到问题报告,则必须使用此文件,因为通过它可将混淆后的堆栈跟踪信息转换为原始的类、方法和成员名称。有关详情,请参阅<a href="#decoding">解码混淆后的堆栈跟踪信息</a>。</dd> - - <dt><code>seeds.txt</code></dt> - <dd>列出未混淆的类和成员</dd> - - <dt><code>usage.txt</code></dt> - <dd>列出从 <code>.apk</code> 删除的代码</dd> - </dl> - - <p>这些文件都位于以下目录中:</p> - - <ul> - <li><code><project_root>/bin/proguard</code>(如果您使用的是 Ant)。</li> - - <li><code><project_root>/proguard</code>(如果您使用的是 Eclipse)。</li> - </ul> - - - <p class="caution"><strong>注意</strong>:每当您在发布模式下构建版本时,这些文件都会被 ProGuard 最新生成的文件覆盖。请在每次发布应用时为这些文件保存一份副本,以便反混淆来自发布版本的问题报告。如需详细了解为何要保存这些文件,请参阅<a href="#considerations">调试已发布应用时应注意的事项</a>。 - </p> - - <h2 id="configuring">配置 ProGuard</h2> - - <p>在某些情况下,<code>proguard.cfg</code> 文件中的默认配置足以满足您的需求。不过,在很多情况下,ProGuard 很难做出正确分析,因此可能会移除它认为无用而实际上您的应用却需要的代码。部分示例如下:</p> - - <ul> - <li>一个只在 <code>AndroidManifest.xml</code> 文件中引用的类</li> - - <li>一个通过 JNI 调用的方法</li> - - <li>动态引用的字段和方法</li> - </ul> - - <p>默认的 <code>proguard.cfg</code> 文件旨在涵盖一般的使用情形,但您可能会遇到异常情况,例如 <code>ClassNotFoundException</code>(此异常情况会在 ProGuard 删除您的应用调用的整个类时发生)。</p> - - <p>您可以通过在 <code>proguard.cfg</code> 文件中添加一个 <code>-keep</code> 行,来修复因 ProGuard 在删除代码而造成的错误。例如:</p> - <pre> - -keep public class <MyClass> - </pre> - - <p>在使用 <code>-keep</code> 选项时,您既有许多选择也有不少需要注意的方面,因此我们强烈建议您阅读 <a href="http://stuff.mit.edu/afs/sipb/project/android/sdk/android-sdk-linux/tools/proguard/docs/index.html#manual/introduction.html">ProGuard 手册</a>,详细了解如何自定义您的配置文件。该手册中的“Keep 选项概述”和“示例”部分尤其有用;<em></em><em></em><a href="http://stuff.mit.edu/afs/sipb/project/android/sdk/android-sdk-linux/tools/proguard/docs/index.html#manual/troubleshooting.html">问题排查</a>部分则概述了在 ProGuard 删除代码后您可能会遇到的其他常见问题。</p> - - <h2 id="decoding">解码混淆后的堆栈跟踪信息</h2> - - <p>当混淆后的代码输出堆栈跟踪信息时,方法名称会被混淆,即便仍能进行调试,难度也会很大。幸运的是,ProGuard 在每次运行时都会输出一个 <code><project_root>/bin/proguard/mapping.txt</code> 文件,其中会显示与混淆后的名称相对应的原始的类、方法和字段名称。</p> - - <p>Windows 上的 <code>retrace.bat</code> 脚本以及 Linux 或 Mac OS X 上的 <code>retrace.sh</code> 脚本可以将混淆后的堆栈跟踪信息转换成可读文件,此文件位于 <code><sdk_root>/tools/proguard/</code> 目录中。执行 <code>retrace</code> 工具的语法如下:</p> - <pre>retrace.bat|retrace.sh [-verbose] mapping.txt [<stacktrace_file>]</pre> - <p>例如:</p> - - <pre>retrace.bat -verbose mapping.txt obfuscated_trace.txt</pre> - - <p>如果您不为“<stacktrace_file>”指定值,<code>retrace</code> 工具会从标准输入中读取。<em></em></p> - - <h3 id="considerations">调试已发布应用时应注意的事项</h3> - - <p>每次向用户发布应用时,都请保存所发布版本的 <code>mapping.txt</code> 文件。这样一来,如果用户遇到问题,并向您提交混淆后的堆栈跟踪信息,您就可以利用为每个发布版本保存的 <code>mapping.txt</code> 文件副本调试问题。每当您构建发布版本时,项目的 <code>mapping.txt</code> 文件都会被覆盖,因此您必须谨慎保存所需的版本。</p> - - <p>例如,假设您发布了某个应用,并继续开发该应用的新功能,以便将来发布新版本。之后不久您使用 ProGuard 构建发布版本。此版本覆盖了之前的 <code>mapping.txt</code> 文件。之后,某位用户提交了问题报告,其中包含来自当前已发布的应用的堆栈跟踪信息。但您已无法调试该用户的堆栈跟踪信息,因为与该用户设备上的版本相关联的 <code>mapping.txt</code> 文件已被覆盖。除此之外,其他一些情况也可能会导致您的 <code>mapping.txt</code> 文件被覆盖。因此,如果您预计需要进行调试,请务必在每次发布应用时都保存一份副本。</p> - - <p>如何保存 <code>mapping.txt</code> 文件由您自行决定。例如,您可以将其重命名以使其名称中包含版本号,也可以对其(连同源代码一起)进行版本管理。</p> diff --git a/docs/html-intl/intl/zh-cn/tools/publishing/preparing.jd b/docs/html-intl/intl/zh-cn/tools/publishing/preparing.jd deleted file mode 100644 index 46938b985e45..000000000000 --- a/docs/html-intl/intl/zh-cn/tools/publishing/preparing.jd +++ /dev/null @@ -1,186 +0,0 @@ -page.title=准备发布 -page.type=工具 - -@jd:body - - <div id="qv-wrapper"> - <div id="qv"> - <h2>概述</h2> - <ul> - <li>了解发布应用需要哪些资源。</li> - <li>了解如何配置和构建应用以进行发布。</li> - <li>了解发布应用的最佳做法。</li> - </ul> - <h2>本文内容</h2> - <ol> - <li><a href="#publishing-intro">简介</a></li> - <li><a href="#publishing-gather">收集材料和资源</a></li> - <li><a href="#publishing-configure">配置应用</a></li> - <li><a href="#publishing-build">构建应用</a></li> - <li><a href="#publishing-resources">准备外部服务器和资源</a></li> - <li><a href="#publishing-test">测试应用以进行发布</a></li> - </ol> - <h2>另请参见</h2> - <ol> - <li><a href="{@docRoot}tools/publishing/publishing_overview.html">发布概述</a></li> - <li><a href="{@docRoot}tools/publishing/app-signing.html">为应用签名</a></li> - <li><a href="{@docRoot}distribute/tools/launch-checklist.html">Google Play 发布检查清单</a></li> - </ol> - </div> - </div> - - <p>在将您的 Android 应用分发给用户之前,您需要先完成准备工作。对于所有 Android 应用,准备流程都是一项必须完成的<a href="{@docRoot}tools/workflow/index.html">开发任务</a>,也是发布流程中的第一步(参见图 1)。</p> - - <p>当准备应用以进行发布时,您需要配置、构建并测试应用的发布版本。配置任务相当简单,涉及完成代码清理和代码修改这两项基本任务,从而达到优化应用的目的。构建流程与调试构建流程相似,可以使用 JDK 和 Android SDK 工具完成。测试任务就是做最终检查,以确保您的应用能在实际环境下正常运行。准备好要发布的应用后,您将获得一个已签名的 <code>.apk</code> 文件。您可以直接将该文件分发给用户,也可以通过 Google Play 等应用市场进行分发。</p> - - <p>本文总结了您在准备应用以进行发布时需执行的几大任务。这些任务适用于所有 Android 应用,无论这些应用采用什么方式发布或分发给用户。如果您要通过 Google Play 发布应用,则还应查看 <a href="{@docRoot}distribute/tools/launch-checklist.html">Google Play 发布检查清单</a>,以确保您要发布的应用满足 Google Play 的所有要求。</p> - - <p class="note"><strong>注意</strong>:在您执行本文所述任务之前,最好确保您的应用符合针对功能、性能和稳定性的所有发布标准。</p> - - <img src="{@docRoot}images/publishing/publishing_overview_prep.png" alt="显示发布流程在整个开发流程中的位置" height="190" id="figure1" /> - <p class="img-caption"> - <strong>图 1.</strong> 准备发布是一项必须完成的<a href="{@docRoot}tools/workflow/index.html">开发任务</a>,也是发布流程中的第一步。 - </p> - - <h2 id="publishing-intro">简介</h2> - - <p>为了向用户发布应用,您需要先创建发布版应用包,以供用户在其 Android 设备上安装和运行。发布版应用包与调试 <code>.apk</code> 文件中包含的组件相同(经过编译的源代码、资源、清单文件等),使用的构建工具也相同。不过,与调试 <code>.apk</code> 文件不同的是,发布版 <code>.apk</code> 文件已使用您自己的证书签名且使用 Zipalign 工具进行了优化。</p> - - <div class="figure" style="width:331px"> - <img src="{@docRoot}images/publishing/publishing_preparing.png" alt="显示准备应用以进行发布所需执行的五项任务" height="450" /> - <p class="img-caption"> - <strong>图 2.</strong> 要准备应用以进行发布,您需执行五大任务。 - </p> - </div> - - <p>通常情况下,如果您使用 Eclipse 和 ADT 插件或 Ant 构建脚本(包含在 Android SDK 中)构建应用,可以无缝地完成签名和优化任务。例如,您可以使用 Eclipse“导出向导”一次性完成对应用的编译、签名和优化操作。如果通过命令行进行构建,您还可以配置 Ant 构建脚本来执行相同的操作。</p> - - <p>要准备应用以进行发布,您通常需要执行五大任务(参见图 2)。每项大任务可能包含一项或多项小任务,视您的应用发布方式而定。例如,如果您要通过 Google Play 发布应用,则可能需要在配置应用的发布版本时向清单中添加特殊的过滤规则。同样,为了满足 Google Play 发布指南的要求,您可能需要在收集发布材料时准备几张屏幕截图并撰写相关宣传文字。</p> - - <p>一般来说,在对应用进行了全面调试和测试后,您需要执行图 2 中列出的任务。Android SDK 中提供的几种工具可帮您测试和调试您的 Android 应用。有关详情,请参阅开发者指南中的<a href="{@docRoot}tools/debugging/index.html">调试</a>和<a href="{@docRoot}tools/testing/index.html">测试</a>这两部分。</p> - - <h2 id="publishing-gather">收集材料和资源</h2> - - <p>要开始准备应用以进行发布,您需要收集几项支持性的信息,其中至少应包含用于为应用签名的加密密钥以及应用图标。此外,您可能还需要提供最终用户许可协议。</p> - - <h4 id="publishing-keys">加密密钥</h4> - - <p>Android 系统要求安装的每个应用都必须使用应用开发者拥有的证书(即开发者用于存放私钥的证书)进行数字签名。Android 系统利用该证书来识别应用作者并在应用之间建立信任关系。您用于签名的的证书无需由证书机构签名;Android 系统允许您使用自签名证书为您的应用签名。如需了解有关证书的要求,请参阅<a href="{@docRoot}tools/publishing/app-signing.html#cert">获取合适的私钥</a>。</p> - - <p class="caution"><strong>重要提示</strong>:您的应用必须使用在 2033 年 10 月 22 日之后才会失效的加密密钥签名。</p> - - <p>如果您应用访问的服务或使用的第三方库需要基于您的私钥的附加密钥,则您还必须获得其他发布密钥。例如,如果您的应用使用 <a href="http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapView.html">MapView</a> 类(属于 <a href="http://code.google.com/android/add-ons/google-apis/maps-overview.html">Google 地图外部库</a>),您需要让您的应用注册 Google 地图服务并获取 Maps API 密钥。如需了解如何获取 Maps API 密钥,请参阅<a href="http://code.google.com/android/add-ons/google-apis/mapkey.html">获取 Maps API 密钥</a>。</p> - - <h4>应用图标</h4> - - <p>请确保您有应用图标而且图标遵守建议的<a href="{@docRoot}guide/practices/ui_guidelines/icon_design_launcher.html">图标指南</a>。应用的图标会显示在设备的主屏幕上和“启动器”窗口中,有助于用户识别您的应用。它还会显示在“管理应用”、“我的下载”等其他位置。此外,Google Play 等发布服务也会向用户显示您的应用图标。</p> - - <p class="note"><strong>注意</strong>:如果您要在 Google Play 上发布应用,则需要创建高分辨率版本的图标。有关详情,请参阅<a href="https://www.google.com/support/androidmarket/developer/bin/answer.py?answer=1078870">应用的图形资源</a>。</p> - - <h4>最终用户许可协议</h4> - - <p>请考虑为您的应用准备最终用户许可协议 (EULA)。最终用户许可协议可帮助保护您的员工、公司和知识产权,因此我们建议您为自己的应用提供一份。</p> - - <h4>其他材料</h4> - - <p>您可能还需要准备宣传和营销材料,用来宣传您的应用。例如,如果您要在 Google Play 上发布应用,则需要准备几段宣传文字并创建几张应用截图。有关详情,请参阅<a href="https://www.google.com/support/androidmarket/developer/bin/answer.py?answer=1078870">应用的图形资源</a></p> - - <h2 id="publishing-configure">配置应用以进行发布</h2> - - <p>收集完所有支持材料后,您可以开始配置应用以进行发布。这部分总结了一些建议您在发布应用前对源代码、资源文件和应用清单进行的配置更改。虽然是否实施这里列出的大部分配置更改都由您决定,但这些都是良好的编码习惯。因此我们建议您实施这些更改。在某些情况下,您可能已在开发过程中实施了这些配置更改。</p> - - <h4>选择合适的应用包名称</h4> - - <p>请确保您选择的应用包名称适合在应用的整个生命周期中使用。将应用分发给用户后,您就无法再更改应用包名称。您可以在应用的清单文件中设置应用包名称。有关详情,请参阅介绍 <a href="{@docRoot}guide/topics/manifest/manifest-element.html#package">package</a> 属性的文档。</p> - - <h4>停用日志记录和调试功能</h4> - - <p>在构建应用的发布版本之前,请确保停用日志记录功能和调试选项。要停用日志记录功能,您可以移除源文件中对 <code><a href="{@docRoot}reference/android/util/Log.html">Log</a></code> 方法的调用。要停用调试功能,您可以从清单文件的 <code><application></code> 代码中移除 <code>android:debuggable</code> 属性或将 <code>android:debuggable</code> 属性设置为 <code>false</code>。此外,请移除您在项目中创建的所有日志文件或静态测试文件。</p> - - <p>此外,您还应移除之前添加到代码中的所有 <code><a href="{@docRoot}reference/android/os/Debug.html">Debug</a></code> 跟踪调用,例如 <code><a href="{@docRoot}reference/android/os/Debug.html#startMethodTracing()">startMethodTracing()</a></code> 和 <code><a href="{@docRoot}reference/android/os/Debug.html#stopMethodTracing()">stopMethodTracing()</a></code> 方法调用。</p> - - <p class="caution"><strong>重要提示</strong>:调试功能允许用户使用 Chrome DevTools 注入脚本和提取内容,因此如果您使用 <code><a href="{@docRoot}reference/android/webkit/WebView.html">WebView</a></code> 展示付费内容或使用 JavaScript 界面,请确保停用应用的调试功能。要停用调试功能,请使用 <code><a href="{@docRoot}reference/android/webkit/WebView.html#setWebContentsDebuggingEnabled(boolean)">WebView.setWebContentsDebuggingEnabled()</a></code> 方法。</p> - - <h4>清理项目目录</h4> - - <p>请清理您的项目,确保其符合 <a href="{@docRoot}tools/projects/index.html#ApplicationProjects">Android 项目</a>中所述的目录结构要求。项目中留有散乱或孤立的文件会妨碍对应用的编译,导致应用发生异常。您至少应执行下列清理任务:</p> - - <ul> - <li>查看 <code>jni/</code>、<code>lib/</code> 和 <code>src/</code> 目录的内容。<code>jni/</code> 目录应只包含与 <a href="{@docRoot}tools/sdk/ndk/index.html">Android NDK</a> 相关联的源文件,例如 <code>.c</code>、<code>.cpp</code>、<code>.h</code> 和 <code>.mk</code> 文件。<code>lib/</code> 目录应只包含第三方库文件或专用库文件,包括预构建的共享库和静态库(例如 <code>.so</code> 文件)。<code>src/</code> 目录应只包含应用的源文件(<code>.java</code> 和 <code>.aidl</code> 文件)。<code>src/</code> 不应包含任何 <code>.jar</code> 文件。</li> - <li>检查项目中是否包含应用不需要的专用或专有数据文件,如果有请将其移除。例如,在项目的 <code>res/</code> 目录中查找是否包含旧的图形文件、布局文件和值文件,如果您不再使用这些文件,请将其删除。</li> - <li>检查 <code>lib/</code> 目录中是否包含测试库;如果您的应用不再使用这些库,请将其移除。</li> - <li>查看 <code>assets/</code> 目录和 <code>res/raw/</code> 目录的内容,查找其中是否包含需在应用发布前更新或移除的原始资源文件和静态文件。</li> - </ul> - - <h4>查看并更新清单设置</h4> - - <p>确认下列清单项是否已正确设置:</p> - - <ul> - <li><a href="{@docRoot}guide/topics/manifest/uses-permission-element.html"> - <uses-permission></a> 元素 - <p>您应该只指定应用必需的相关权限。</p> - </li> - <li><code>android:icon</code> 和 <code>android:label</code> 属性 - <p>您必须为这些属性(位于 <a href="{@docRoot}guide/topics/manifest/application-element.html"><application></a> 元素中)指定值。</p> - </li> - <li><code>android:versionCode</code> 和 <code>android:versionName</code> 属性。 - <p>我们建议您为这些属性(位于 <a href="{@docRoot}guide/topics/manifest/manifest-element.html"><manifest></a> 元素中)指定值。有关详情,请参阅<a href="{@docRoot}tools/publishing/versioning.html">应用的版本管理</a>。</p> - </li> - </ul> - - <p>如果您要在 Google Play 上发布应用,还可以设置另外几个清单元素。例如,<code>android:minSdkVersion</code> 和 <code>android:targetSdkVersion</code> 属性(位于 <a href="{@docRoot}guide/topics/manifest/uses-sdk-element.html"><uses-sdk></a> 元素中)。如需详细了解这些设置以及其他 Google Play 设置,请参阅 <a href="{@docRoot}google/play/filters.html">Google Play 上的过滤器</a>。</p> - - <h4>解决兼容性问题</h4> - - <p>Android 提供了多种工具和技术,可让您的应用与多种设备兼容。为了让您的应用尽可能地适合更多用户,建议您执行以下操作:</p> - - <ul> - <li><strong>添加跨屏配置支持</strong> - <p>确保您采取了<a href="{@docRoot}guide/practices/screens_support.html#screen-independence">支持跨屏的最佳做法</a>。通过支持跨屏配置,您创建的应用可在 Android 支持的任何屏幕尺寸的设备上正常运行且拥有精美外观。</p> - </li> - <li><strong>针对 Android 平板电脑优化应用</strong> - <p>如果您的应用是专为运行 Android 3.0 以上版本的设备打造的,请遵照<a href="{@docRoot}guide/practices/optimizing-for-3.0.html">针对 Android 3.0 优化应用</a>中所述的指南和最佳做法,这样您的应用就能与运行 Android 3.0 的设备兼容。</p> - </li> - <li><strong>考虑使用支持库</strong> - <p>如果您的应用是专为运行 Android 3.x 的设备打造的,请向您的应用项目中添加<a href="{@docRoot}tools/support-library/index.html">支持库</a>,这样您的应用就能与较低版本的 Android 系统兼容。您可以将“支持库”提供的静态支持库添加到您的 Android 应用中,以便使用低版本的平台上未提供的 API 或使用不属于框架 API 的实用程序 API。</p> - </li> - </ul> - - <h4>更新服务器和服务的网址</h4> - - <p>如果您的应用需要访问远程服务器或服务,请确保您使用的是该服务器或服务的生产网址或路径,而非测试网址或路径。</p> - - <h4>实施许可服务(如果您要在 Google Play 上发布应用)</h4> - - <p>如果您要通过 Google Play 发布付费应用,请考虑支持 Google Play 许可服务。借助这项许可服务,您可以根据当前用户的购买情况控制其对您应用的访问权限。使用 Google Play 许可服务并不是强制的,即使您通过 Google Play 发布应用也可以不使用这项服务。</p> - - <p>如需详细了解 Google Play 许可服务以及如何在应用中使用该服务,请参阅<a href="{@docRoot}google/play/licensing/index.html">应用许可</a>。</p> - - <h2 id="publishing-build">构建应用以进行发布</h2> - - <p>配置好应用后,您可以将其构建为一个经过签名和优化的发布版 <code>.apk</code> 文件。JDK 中包含用于为 <code>.apk</code> 文件签名的工具(Keytool 和 Jarsigner);Android SDK 中包含用于编译和优化 <code>.apk</code> 文件的工具。如果您使用的是带 ADT 插件的 Eclipse 或是从命令行使用 Ant 构建脚本,则整个构建流程可以自动完成。</p> - - <h3>使用 Eclipse 进行构建</h3> - - <p>您可以使用 Eclipse“导出向导”构建使用私钥签名并经过优化的发布版 <code>.apk</code> 文件。如需了解如何运行“导出向导”,请参阅<a href="{@docRoot}tools/publishing/app-signing.html#ExportWizard">使用 Eclipse ADT 进行编译和签名</a>。“导出向导”会对您要发布的应用进行编译、使用私钥为应用签名并使用 Zipalign 工具对应用进行优化。如果您已通过 Eclipse 运行或调试过应用且未在应用中发现错误,“导出向导”就应该能成功运行(有关详情,请参阅<a href="{@docRoot}tools/building/building-eclipse.html">使用带 ADT 的 Eclipse 构建和运行应用</a>)。</p> - - <p>“导出向导”假设您有适合为应用签名的<a href="#billing-keys">证书和私钥</a>。如果您没有合适的证书和私钥,“导出向导”将帮您生成一个(如需详细了解签名流程和签名指南,请参阅<a href="{@docRoot}tools/publishing/app-signing.html">为应用签名</a>)。</p> - - <h3>使用 Ant 进行构建</h3> - - <p>您可以使用 Ant 构建脚本(包含在 Android SDK 中)来构建使用私钥签名并经过优化的发布版 <code>.apk</code> 文件。如需了解具体做法,请参阅<a href="{@docRoot}tools/building/building-cmdline.html#ReleaseMode">在发布模式下进行构建</a>。这种构建方式假设您有适合为应用签名的<a href="#billing-keys">证书和密钥</a>。如果您没有合适的证书和私钥,“导出向导”将帮您生成一个(如需详细了解签名流程和签名指南,请参阅<a href="{@docRoot}tools/publishing/app-signing.html">为应用签名</a>)。</p> - - <h2 id="publishing-resources">准备外部服务器和资源</h2> - - <p>如果您的应用依赖于远程服务器,请确保该服务器是安全的且已经过配置,随时可投入实际使用。如果您要在应用中实施<a href="{@docRoot}google/play/billing/index.html">应用内结算</a>,而且要在远程服务器上执行签名验证步骤,则必须这样做。</p> - - <p>此外,如果您的应用从远程服务器或实时服务中抓取内容(例如内容 Feed),请确保您提供的内容是最新的且随时可投入实际使用。</p> - - <h2 id="publishing-test">测试应用以进行发布</h2> - - <p>测试应用的发布版本有助于确保您的应用能在实际设备上和实际网络条件下正常运行。理想情况下,您至少应在一部手持设备上和一台平板电脑上测试您的应用,以确认界面元素的尺寸是否合适,以及应用的性能和能耗是否可接受。</p> - - <p>在测试之前,请先参阅<a href="{@docRoot}tools/testing/what_to_test.html">测试内容</a>。这篇文章总结了您在测试 Android 应用时应注意的常见情况。当您完成测试并确定应用的发布版本能正常运行后,就可以向用户发布您的应用了。有关详情,请参阅<a href="{@docRoot}tools/publishing/publishing_overview.html#publishing-release">向用户发布应用</a>。如果您要在 Google Play 上发布应用,请参阅 <a href="{@docRoot}distribute/tools/launch-checklist.html">Google Play 发布检查清单</a>。</p> - - diff --git a/docs/html-intl/intl/zh-cn/tools/publishing/publishing_overview.jd b/docs/html-intl/intl/zh-cn/tools/publishing/publishing_overview.jd deleted file mode 100644 index eb6a617f8e2f..000000000000 --- a/docs/html-intl/intl/zh-cn/tools/publishing/publishing_overview.jd +++ /dev/null @@ -1,142 +0,0 @@ -page.title=发布概述 -page.type=工具 - -@jd:body - - <div id="qv-wrapper"> -<div id="qv"> - <h2>概述</h2> - <ul> - <li>了解如何发布 Android 应用。</li> - <li>了解如何准备应用以进行发布。</li> - <li>了解如何向用户发布应用。</li> - </ul> - <h2>本文内容</h2> - <ol> - <li><a href="#publishing-prepare">准备应用以进行发布</a></li> - <li><a href="#publishing-release">向用户发布应用</a> - </li></ol> - <h2>另请参见</h2> - <ol> - <li><a href="{@docRoot}distribute/tools/launch-checklist.html">在 Google Play 上发布应用</a></li> - </ol> -</div> -</div> - -<p>发布是将您的 Android 应用提供给用户的常规流程。您在发布 Android 应用时需要执行两大任务:</p> - -<ul> - <li>准备应用以进行发布。 - <p>在准备阶段,您需要构建应用的发布版本,以供 Android 设备用户下载和安装。</p> - </li> - <li>向用户发布应用。 - <p>在发布阶段,您向用户宣传、销售和分发应用的发布版本。</p> - </li> -</ul> - -<p>通常情况下,您可以通过 <a href="{@docRoot}distribute/googleplay/index.html">Google Play</a> 等应用市场发布应用。不过,您也可以通过以下方式发布应用:将应用直接发送给用户;让用户从您的网站下载应用。</p> - -<p>图 1 展示了发布流程在整个 Android <a href="{@docRoot}tools/workflow/index.html">应用开发流程</a>中所处的位置。一般来说,您要先在调试环境中完成对应用的测试,然后再执行发布流程。此外,在开始发布流程之前,您最好确保应用符合针对功能、性能和稳定性的所有发布标准。</p> - -<img src="{@docRoot}images/publishing/publishing_overview.png" alt="展示了发布流程在整个开发流程中所处的位置" height="86" id="figure1" /> -<p class="img-caption"> - <strong>图 1. </strong> 发布是 Android <a href="{@docRoot}tools/workflow/index.html">应用开发流程</a>中的最后一个阶段。 -</p> - -<h2 id="publishing-prepare">准备应用以进行发布</h2> - -<p>发布之前的准备过程涉及多个步骤,需要您完成以下任务:</p> - -<ul> - <li>配置应用以进行发布。 - <p>您至少需要从清单文件中移除 <code><a href="{@docRoot}reference/android/util/Log.html">Log</a></code> 调用和 <a href="{@docRoot}guide/topics/manifest/application-element.html#debug">android:debuggable</a> 属性,还应为 <code>android:versionCode</code> 和 <code>android:versionName</code> 属性(位于 <a href="{@docRoot}guide/topics/manifest/manifest-element.html"><manifest></a> 元素中)提供值。此外,您还可能需要配置多项其他设置,以符合 Google Play 的发布要求,或者符合其他应用发布方式的要求。</p> - </li> - <li>构建应用的发布版本并签名。 - <p>Android SDK 工具中随附的 Android Development Tools (ADT) 插件和 Ant 构建脚本可向您提供构建应用的发布版本并签名所需的全部信息。</p> - </li> - <li>测试应用的发布版本。 - <p>在分发应用之前,您至少应在一部适配的手机和一台适配的平板电脑上全面测试应用的发布版本。</p> - </li> - <li>更新应用资源以进行发布。 - <p>您需确保所有应用资源(例如多媒体文件和图形)都是最新的,且已包含在应用中或者已存储到正确的生产服务器上。</p> - </li> - <li>准备应用所依赖的远程服务器和服务。 - <p>如果您的应用依赖于外部服务器或服务,您要确保这些服务器或服务是安全的,随时可投入实际使用。</p> - </li> -</ul> - -<p>在准备阶段,您可能还需要执行其他一些任务。例如,您需要获取私钥来为应用签名;如果您使用 <a href="http://code.google.com/android/add-ons/google-apis/maps-overview.html">Google 地图外部库</a>,则需要获取 Maps API 发布密钥。此外,您还需要为应用创建一个图标,而且可能需要准备最终用户许可协议 (EULA) 以保护您的员工、公司和知识产权。</p> - -<p>当您完成发布应用所需的准备工作之后,您将得到一个已签名的 <code>.apk</code> 文件,可以将文件分发给用户。</p> - -<p>要了解如何准备应用以进行发布,请参阅开发者指南中的<a href="{@docRoot}tools/publishing/preparing.html">准备发布</a>。这篇文章提供了有关如何配置和构建应用的发布版本的分步说明。</p> - -<h2 id="publishing-release">向用户发布应用</h2> - -<p>您可以通过多种方式发布您的 Android 应用。通常情况下,您通过 Google Play 等应用市场发布应用,但您也可以在自己的网站上发布应用或直接将应用发送给用户。 - -<h3 id="publishing-marketplace">通过应用市场发布应用</h3> - -<p>如果您希望向尽可能多的目标用户分发应用,最好通过 Google Play 等应用市场发布应用。</p> - -<p>Google Play 是 Android 应用的主要市场,它尤其适合向遍布全球的众多目标用户分发您的应用。不过,您也可以通过自己喜欢的其他应用市场分发您的应用,也可以在多个市场中分发。</p> - - -<h4 id="publishing-market">在 Google Play 上发布应用</h4> - -<p>Google Play 是一个强大的应用发布平台,可帮助您向全球用户宣传、销售和分发您的 Android 应用。当通过 Google Play 发布应用时,您可以使用一系列开发者工具,分析您的销售数据、了解市场趋势以及控制向哪些用户分发应用。此外,您还能使用多种有助您增加收入的功能,如<a href="{@docRoot}google/play/billing/index.html">应用内结算</a>和<a href="{@docRoot}google/play/licensing/index.html">应用许可</a>。丰富的工具和功能,以及为数众多的最终用户社区功能,让 Google Play 成为销售和购买 Android 应用的主要平台。</p> - -<p>在 Google Play 上发布应用相当简单,只需三个基本步骤:</p> - -<ul> - <li>准备宣传材料。 - <p>为了充分利用 Google Play 的营销和宣传功能,您需要为应用制作宣传材料,例如屏幕截图、视频、图形以及宣传文字。</p> - </li> - <li>配置选项并上传资源。 - <p>利用 Google Play,您可以将应用定位到全球的用户和设备。通过配置各种 Google Play 设置,您可以选择要覆盖的国家/地区、要使用的商品详情语言以及应用在各个国家/地区的价格。此外,您还可以配置商品详情,例如应用类型、类别和内容分级。配置各种选项之后,您可以上传宣传材料和草稿版(未发布的)应用。</p> - </li> - <li>发布应用的发布版本。 - <p>如果您确认各项发布设置均配置正确,而且您上传的应用可以公开发布,只需点击开发者控制台中的<strong>发布</strong>即可。在几分钟之内,您的应用就会发布到网络上供全球用户下载。</p> - </li> -</ul> - -<p>如需了解完整信息,请访问 <a href="{@docRoot}distribute/googleplay/index.html">Google Play</a>。</p> - - -<h3 id="publishing-email">通过电子邮件发布应用</h3> - -<div class="figure" style="width:246px"> - <img src="{@docRoot}images/publishing/publishing_via_email.png" alt="此屏幕截图展示了用户在收到您发送的应用时看到的图形界面" style="width:240px" /> - <p class="img-caption"> - <strong>图 1. </strong> 当您通过电子邮件向用户发送应用时,用户只需点击<strong>安装</strong>即可。 - </p> -</div> - -<p>最简单快捷的应用发布方式就是通过电子邮件将应用发送给用户。为此,您需要准备好应用的发布版本,将其添加为电子邮件的附件,然后发送给用户。当用户在其 Android 设备上打开您的电子邮件时,Android 系统会识别出该 APK 并在电子邮件中显示<strong>立即安装</strong>按钮(参见图 1)。用户触摸该按钮即可安装您的应用。</p> - -<p class="note"><strong>注意</strong>:只有当用户将其设备配置为允许安装来自<a href="#unknown-sources">未知来源</a>的应用且通过本机的 Gmail 应用打开您的电子邮件时,才会出现图 1 所示的<strong>立即安装</strong>按钮。</p> - -<p>如果您只将应用发送给几位受信任的用户,那么通过电子邮件分发就非常方便。不过,这种发布方式不利于阻止盗版和未经授权的分发,也就是说,收到您应用的任何人都可以将应用转发给其他人。</p> - -<h2 id="publishing-website">通过网站发布应用</h2> - -<p>如果您不想在 Google Play 这样的市场上发布应用,则可以将应用放在您的网站或服务器(包括私人服务器或企业服务器)上供用户下载。为此,您必须先按正常流程准备好应用的发布版本,然后您只需将准备好的 APK 文件托管到网站上并向用户提供下载链接即可。 -</p> - -<p>当用户在其 Android 设备上访问该下载链接时,文件就会开始下载,Android 系统会在下载完成后自动将应用安装到设备上。不过,只有当用户将其“设置”配置为允许安装来自<a href="#unknown-sources">未知来源</a>的应用时,安装进程才会自动启动。</p> - -<p>虽然在您的网站上发布应用相对比较简单,但效率可能并不高。例如,如果您想通过自己的应用获利,则必须自行处理和跟踪所有财务交易且不能使用 Google Play 的<a href="{@docRoot}google/play/billing/index.html">应用内结算服务</a>来销售应用内商品。此外,您也不能使用<a href="{@docRoot}google/play/licensing/index.html">许可服务</a>来阻止他人未经授权安装和使用您的应用。</p> - - -<h2 id="unknown-sources">用户选择安装来自未知来源的应用</h2> - -<div class="figure" style="width:246px;margin-top:0"> - <img src="{@docRoot}images/publishing/publishing_unknown_sources_sm.png" alt="此屏幕截图展示了用于接受从未知来源下载和安装应用的设置" style="width:240px" /> - <p class="img-caption"> - <strong>图 2. </strong> 用户必须启用<strong>未知来源</strong>设置,才能安装从 Google Play 以外的位置下载的应用。 - </p> -</div> - -<p>Android 可防止用户无意中从 Google Play(受信任的市场)以外的位置下载并安装应用。只要用户未启用“设置”<strong>></strong>“安全”下的<strong>未知来源</strong>(如图 2 所示),它就会阻止此类安装。要允许安装来自其他来源的应用,用户必须在其设备上启用“未知来源”设置,且必须先更改此项配置才能将您的应用下载到设备上。<em></em></p> - -<p class="note">请注意,部分网络提供商不允许用户安装来自未知来源的应用。</p> diff --git a/docs/html-intl/intl/zh-tw/sdk/index.jd b/docs/html-intl/intl/zh-tw/sdk/index.jd deleted file mode 100644 index ba11c46cd791..000000000000 --- a/docs/html-intl/intl/zh-tw/sdk/index.jd +++ /dev/null @@ -1,429 +0,0 @@ -page.title=下載 Android Studio 和 SDK 工具 -page.tags=sdk, android studio -page.template=sdk -page.image=images/cards/android-studio_2x.png -header.hide=1 -page.metaDescription=下載官方 Android IDE 和開發人員工具以建置適用於 Android 手機、平板電腦、穿戴式裝置、電視等裝置的應用程式。 - -@jd:body - -<style type="text/css"> - .offline {display:none;} - h2.feature { - padding-top:30px; - margin-top:0; - clear:both; - } - .feature-blurb { - margin:0px; font-size:16px; font-weight:300; - padding-top:40px; - } - - .landing-button .small { - font-size: 12px; - font-weight: normal; - line-height: 12px; - display: block; - } - - h1.studio-logo { - width:226px; - height:78px; - display:block; - padding:0; - white-space: nowrap; - text-indent: -10000px; - font-size:0px; - background: url({@docRoot}images/tools/studio-logo.png); - background-image: -webkit-image-set(url({@docRoot}images/tools/studio-logo.png) 1x, url({@docRoot}images/tools/studio-logo_2x.png) 2x); - background-size: 226px 78px; - } - -</style> - - - - - -<div style="position:relative;"> - - -<div class="wrap" id="tos" style="display:none;width:inherit;height:650px"> -<div class="col-13" style="margin:0;"> </div><!-- provides top margin for content --> - -<h1 id="tos-header" style="margin-top:0">下載</h1> - -<p class="sdk-terms-intro">在安裝 Android Studio 或單獨的 SDK 工具之前,您必須同意遵守下列條款及細則。 -</p> - -<div class="sdk-terms" onfocus="this.blur()"> -<h2 class="norule">條款及細則</h2> -此為「Android 軟體開發套件授權協議」 - -<h3>1. Introduction</h3> -1.1 The Android Software Development Kit (referred to in the License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. The License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK. - -1.2 "Android" means the Android software stack for devices, as made available under the Android Open Source Project, which is located at the following URL: http://source.android.com/, as updated from time to time. - -1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS). - -1.4 "Google" means Google Inc., a Delaware corporation with principal place of business at 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States. - - -<h3>2. Accepting this License Agreement</h3> -2.1 In order to use the SDK, you must first agree to the License Agreement. You may not use the SDK if you do not accept the License Agreement. - -2.2 By clicking to accept, you hereby agree to the terms of the License Agreement. - -2.3 You may not use the SDK and may not accept the License Agreement if you are a person barred from receiving the SDK under the laws of the United States or other countries, including the country in which you are resident or from which you use the SDK. - -2.4 If you are agreeing to be bound by the License Agreement on behalf of your employer or other entity, you represent and warrant that you have full legal authority to bind your employer or such entity to the License Agreement. If you do not have the requisite authority, you may not accept the License Agreement or use the SDK on behalf of your employer or other entity. - - -<h3>3. SDK License from Google</h3> -3.1 Subject to the terms of the License Agreement, Google grants you a limited, worldwide, royalty-free, non-assignable, non-exclusive, and non-sublicensable license to use the SDK solely to develop applications for compatible implementations of Android. - -3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose. - -3.3 You agree that Google or third parties own all legal right, title and interest in and to the SDK, including any Intellectual Property Rights that subsist in the SDK. "Intellectual Property Rights" means any and all rights under patent law, copyright law, trade secret law, trademark law, and any and all other proprietary rights. Google reserves all rights not expressly granted to you. - -3.4 You may not use the SDK for any purpose not expressly permitted by the License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK. - -3.5 Use, reproduction and distribution of components of the SDK licensed under an open source software license are governed solely by the terms of that open source software license and not the License Agreement. - -3.6 You agree that the form and nature of the SDK that Google provides may change without prior notice to you and that future versions of the SDK may be incompatible with applications developed on previous versions of the SDK. You agree that Google may stop (permanently or temporarily) providing the SDK (or any features within the SDK) to you or to users generally at Google's sole discretion, without prior notice to you. - -3.7 Nothing in the License Agreement gives you a right to use any of Google's trade names, trademarks, service marks, logos, domain names, or other distinctive brand features. - -3.8 You agree that you will not remove, obscure, or alter any proprietary rights notices (including copyright and trademark notices) that may be affixed to or contained within the SDK. - - -<h3>4. Use of the SDK by You</h3> -4.1 Google agrees that it obtains no right, title or interest from you (or your licensors) under the License Agreement in or to any software applications that you develop using the SDK, including any intellectual property rights that subsist in those applications. - -4.2 You agree to use the SDK and write applications only for purposes that are permitted by (a) the License Agreement and (b) any applicable law, regulation or generally accepted practices or guidelines in the relevant jurisdictions (including any laws regarding the export of data or software to and from the United States or other relevant countries). - -4.3 You agree that if you use the SDK to develop applications for general public users, you will protect the privacy and legal rights of those users. If the users provide you with user names, passwords, or other login information or personal information, you must make the users aware that the information will be available to your application, and you must provide legally adequate privacy notice and protection for those users. If your application stores personal or sensitive information provided by users, it must do so securely. If the user provides your application with Google Account information, your application may only use that information to access the user's Google Account when, and for the limited purposes for which, the user has given you permission to do so. - -4.4 You agree that you will not engage in any activity with the SDK, including the development or distribution of an application, that interferes with, disrupts, damages, or accesses in an unauthorized manner the servers, networks, or other properties or services of any third party including, but not limited to, Google or any mobile communications carrier. - -4.5 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any data, content, or resources that you create, transmit or display through Android and/or applications for Android, and for the consequences of your actions (including any loss or damage which Google may suffer) by doing so. - -4.6 You agree that you are solely responsible for (and that Google has no responsibility to you or to any third party for) any breach of your obligations under the License Agreement, any applicable third party contract or Terms of Service, or any applicable law or regulation, and for the consequences (including any loss or damage which Google or any third party may suffer) of any such breach. - - -<h3>5. Your Developer Credentials</h3> -5.1 You agree that you are responsible for maintaining the confidentiality of any developer credentials that may be issued to you by Google or which you may choose yourself and that you will be solely responsible for all applications that are developed under your developer credentials. - - -<h3>6. Privacy and Information</h3> -6.1 In order to continually innovate and improve the SDK, Google may collect certain usage statistics from the software including but not limited to a unique identifier, associated IP address, version number of the software, and information on which tools and/or services in the SDK are being used and how they are being used. Before any of this information is collected, the SDK will notify you and seek your consent. If you withhold consent, the information will not be collected. - -6.2 The data collected is examined in the aggregate to improve the SDK and is maintained in accordance with Google's Privacy Policy. - - -<h3>7. Third Party Applications</h3> -7.1 If you use the SDK to run applications developed by a third party or that access data, content or resources provided by a third party, you agree that Google is not responsible for those applications, data, content, or resources. You understand that all data, content or resources which you may access through such third party applications are the sole responsibility of the person from which they originated and that Google is not liable for any loss or damage that you may experience as a result of the use or access of any of those third party applications, data, content, or resources. - -7.2 You should be aware the data, content, and resources presented to you through such a third party application may be protected by intellectual property rights which are owned by the providers (or by other persons or companies on their behalf). You may not modify, rent, lease, loan, sell, distribute or create derivative works based on these data, content, or resources (either in whole or in part) unless you have been specifically given permission to do so by the relevant owners. - -7.3 You acknowledge that your use of such third party applications, data, content, or resources may be subject to separate terms between you and the relevant third party. In that case, the License Agreement does not affect your legal relationship with these third parties. - - -<h3>8. Using Android APIs</h3> -8.1 Google Data APIs - -8.1.1 If you use any API to retrieve data from Google, you acknowledge that the data may be protected by intellectual property rights which are owned by Google or those parties that provide the data (or by other persons or companies on their behalf). Your use of any such API may be subject to additional Terms of Service. You may not modify, rent, lease, loan, sell, distribute or create derivative works based on this data (either in whole or in part) unless allowed by the relevant Terms of Service. - -8.1.2 If you use any API to retrieve a user's data from Google, you acknowledge and agree that you shall retrieve data only with the user's explicit consent and only when, and for the limited purposes for which, the user has given you permission to do so. - - -<h3>9. Terminating this License Agreement</h3> -9.1 The License Agreement will continue to apply until terminated by either you or Google as set out below. - -9.2 If you want to terminate the License Agreement, you may do so by ceasing your use of the SDK and any relevant developer credentials. - -9.3 Google may at any time, terminate the License Agreement with you if: -(A) you have breached any provision of the License Agreement; or -(B) Google is required to do so by law; or -(C) the partner with whom Google offered certain parts of SDK (such as APIs) to you has terminated its relationship with Google or ceased to offer certain parts of the SDK to you; or -(D) Google decides to no longer provide the SDK or certain parts of the SDK to users in the country in which you are resident or from which you use the service, or the provision of the SDK or certain SDK services to you by Google is, in Google's sole discretion, no longer commercially viable. - -9.4 When the License Agreement comes to an end, all of the legal rights, obligations and liabilities that you and Google have benefited from, been subject to (or which have accrued over time whilst the License Agreement has been in force) or which are expressed to continue indefinitely, shall be unaffected by this cessation, and the provisions of paragraph 14.7 shall continue to apply to such rights, obligations and liabilities indefinitely. - - -<h3>10. DISCLAIMER OF WARRANTIES</h3> -10.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT YOUR USE OF THE SDK IS AT YOUR SOLE RISK AND THAT THE SDK IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTY OF ANY KIND FROM GOOGLE. - -10.2 YOUR USE OF THE SDK AND ANY MATERIAL DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE SDK IS AT YOUR OWN DISCRETION AND RISK AND YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR COMPUTER SYSTEM OR OTHER DEVICE OR LOSS OF DATA THAT RESULTS FROM SUCH USE. - -10.3 GOOGLE FURTHER EXPRESSLY DISCLAIMS ALL WARRANTIES AND CONDITIONS OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - - -<h3>11. LIMITATION OF LIABILITY</h3> -11.1 YOU EXPRESSLY UNDERSTAND AND AGREE THAT GOOGLE, ITS SUBSIDIARIES AND AFFILIATES, AND ITS LICENSORS SHALL NOT BE LIABLE TO YOU UNDER ANY THEORY OF LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL OR EXEMPLARY DAMAGES THAT MAY BE INCURRED BY YOU, INCLUDING ANY LOSS OF DATA, WHETHER OR NOT GOOGLE OR ITS REPRESENTATIVES HAVE BEEN ADVISED OF OR SHOULD HAVE BEEN AWARE OF THE POSSIBILITY OF ANY SUCH LOSSES ARISING. - - -<h3>12. Indemnification</h3> -12.1 To the maximum extent permitted by law, you agree to defend, indemnify and hold harmless Google, its affiliates and their respective directors, officers, employees and agents from and against any and all claims, actions, suits or proceedings, as well as any and all losses, liabilities, damages, costs and expenses (including reasonable attorneys fees) arising out of or accruing from (a) your use of the SDK, (b) any application you develop on the SDK that infringes any copyright, trademark, trade secret, trade dress, patent or other intellectual property right of any person or defames any person or violates their rights of publicity or privacy, and (c) any non-compliance by you with the License Agreement. - - -<h3>13. Changes to the License Agreement</h3> -13.1 Google may make changes to the License Agreement as it distributes new versions of the SDK. When these changes are made, Google will make a new version of the License Agreement available on the website where the SDK is made available. - - -<h3>14. General Legal Terms</h3> -14.1 The License Agreement constitutes the whole legal agreement between you and Google and governs your use of the SDK (excluding any services which Google may provide to you under a separate written agreement), and completely replaces any prior agreements between you and Google in relation to the SDK. - -14.2 You agree that if Google does not exercise or enforce any legal right or remedy which is contained in the License Agreement (or which Google has the benefit of under any applicable law), this will not be taken to be a formal waiver of Google's rights and that those rights or remedies will still be available to Google. - -14.3 If any court of law, having the jurisdiction to decide on this matter, rules that any provision of the License Agreement is invalid, then that provision will be removed from the License Agreement without affecting the rest of the License Agreement. The remaining provisions of the License Agreement will continue to be valid and enforceable. - -14.4 You acknowledge and agree that each member of the group of companies of which Google is the parent shall be third party beneficiaries to the License Agreement and that such other companies shall be entitled to directly enforce, and rely upon, any provision of the License Agreement that confers a benefit on (or rights in favor of) them. Other than this, no other person or company shall be third party beneficiaries to the License Agreement. - -14.5 EXPORT RESTRICTIONS. THE SDK IS SUBJECT TO UNITED STATES EXPORT LAWS AND REGULATIONS. YOU MUST COMPLY WITH ALL DOMESTIC AND INTERNATIONAL EXPORT LAWS AND REGULATIONS THAT APPLY TO THE SDK. THESE LAWS INCLUDE RESTRICTIONS ON DESTINATIONS, END USERS AND END USE. - -14.6 The rights granted in the License Agreement may not be assigned or transferred by either you or Google without the prior written approval of the other party. Neither you nor Google shall be permitted to delegate their responsibilities or obligations under the License Agreement without the prior written approval of the other party. - -14.7 The License Agreement, and your relationship with Google under the License Agreement, shall be governed by the laws of the State of California without regard to its conflict of laws provisions. You and Google agree to submit to the exclusive jurisdiction of the courts located within the county of Santa Clara, California to resolve any legal matter arising from the License Agreement. Notwithstanding this, you agree that Google shall still be allowed to apply for injunctive remedies (or an equivalent type of urgent legal relief) in any jurisdiction. - -<em>November 20, 2015</em> -</div> - - - - - -<div id="next-steps" style="display:none;position:absolute;width:inherit"> - <p>只要再進行幾個步驟,即可建置適用於 Android 的應用程式!</p> - <p>系統即將把您重新導向至 -<a id="next-link" href="{@docRoot}sdk/installing/index.html">安裝 Android SDK</a> 網頁。</p> - -</div><!-- end next-steps --> - - - -<div id="sdk-terms-form"> -<p> -<input id="agree" type="checkbox" name="agree" value="1" onclick="onAgreeChecked()" /> -<label id="agreeLabel" for="agree">我已閱讀並同意上述條款及細則</label> -</p> -<p><a href="" class="button disabled" id="downloadForRealz" onclick="return onDownloadForRealz(this);"></a></p> -</div> - - -</div><!-- end TOS --> - - - - - - -<div id="landing"> - -<div class="col-13"> </div><!-- provides top margin for content --> - -<img src="{@docRoot}images/tools/studio-hero.png" srcset="{@docRoot}images/tools/studio-hero_2x.png 2x, {@docRoot}images/tools/studio-hero.png 1x" width="760" height="400"/> - -<div style="color: #fff; width:226px; height:0; overflow:visible; position:absolute; top:40px; left:25px"> - -<h1 class="studio-logo" style="margin:0 0 35px !important">Android Studio</h1> - -<p style="font-size: 16px; color:#bbb; position: absolute;left: 297px; top: 5px; display: block; -width: 400px;text-align: center;">官方 Android IDE</p> - -<ul style="font-size:12px;line-height:19px;"> -<li>Android Studio IDE</li> -<li>Android SDK 工具</li> -<li>Android 6.0 (Marshmallow) 平台</li> -<li>含 Google API 的 Android 6.0 模擬器系統映像檔</li> -</ul> - -<a class="online landing-button green download-bundle-button" -href="#Other" >Download Android Studio<br/><span class='small'></span></a> - -<!-- this appears when viewing the offline docs --> -<p class="offline"> -想要取得 Android Studio 或獨立 SDK 工具,請造訪 <a href="http://developer.android.com/sdk/index.html">developer.android.com/sdk/</a> -</p> -</div> - -<ul> - <li><a href="#Requirements">系統需求</a></li> - <li><a href="#Other">其他下載選項</a></li> - <li><a href="{@docRoot}sdk/installing/migrate.html">遷移至 Android Studio</a></li> - <li><a href="https://docs.google.com/a/google.com/forms/d/1mjsyfzv3HAnDY-_Kfj-3QJKdpuksyMFs9e73CRwmT6Q/viewform" target="_blank">參與問卷調查</a></li> -</ul> - - - - -<h2 class="feature norule" >智慧型程式碼編輯器</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-code.png" srcset="{@docRoot}images/tools/studio-hero-code_2x.png 2x, {@docRoot}images/tools/studio-hero-code.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio 的核心是一個智慧型程式碼編輯器,能夠進行進階的程式碼自動完成、重構及程式碼分析作業。 -</p> - <p>這項功能強大的程式碼編輯器可協助您成為更具生產力的 Android 應用程式開發人員。</p> -</div> - - - - - -<h2 class="feature norule">程式碼範本與 GitHub 整合</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-import.png" srcset="{@docRoot}images/tools/studio-hero-import_2x.png 2x, {@docRoot}images/tools/studio-hero-import.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>全新的專案精靈可協助您及早發起新專案。</p> - - <p>您可以使用模式 (例如導覽匣和資料檢視巡覽區) 範本程式碼,甚至是從 GitHub 匯入 Google 程式碼來發起專案。 -</p> -</div> - - - - -<h2 class="feature norule">多螢幕應用程式開發</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-screens.png" srcset="{@docRoot}images/tools/studio-hero-screens_2x.png 2x, {@docRoot}images/tools/studio-hero-screens.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>建置適用於 Android 手機、平板電腦、Android Wear、Android TV、Android Auto 和 Google Glass 的應用程式。 -</p> - <p>透過 Android Studio 中新的「Android 專案檢視」和模組支援功能,管理應用程式專案和相關資源變得更加容易。 - -</div> - - - - -<h2 class="feature norule">適用於所有形狀和大小的虛擬裝置</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-avds.png" srcset="{@docRoot}images/tools/studio-hero-avds_2x.png 2x, {@docRoot}images/tools/studio-hero-avds.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>Android Studio 隨附預先設定、經過最佳化的模擬器映像檔。</p> - <p>經過更新及簡化的 Virtual Device Manager (虛擬裝置管理員) 可為常見的 Android 裝置提供預先定義的裝置設定檔。 -</p> -</div> - - - - -<h2 class="feature norule"> -Android 版本已隨 Gradle 更新</h2> - -<div class="col-9"> - <img src="{@docRoot}images/tools/studio-hero-gradle.png" srcset="{@docRoot}images/tools/studio-hero-gradle_2x.png 2x, {@docRoot}images/tools/studio-hero-gradle.png 1x" width="520" /> -</div><!-- end col-9 (left column) --> - -<div class="col-4 feature-blurb"> - <p>可使用同一項專案為您的 Android 應用程式建立多個具有不同功能的 APK。</p> - <p>可使用 Maven 管理應用程式依附功能。</p> - <p>可使用 Android Studio 或命令列建置 APK。</p> -</div> - - - - -<h2 class="feature norule">瞭解 Android Studio</h2> -<div style="background:#424242;padding:30px; color:#fff;margin:0 0 15px;"> - -<a class="online landing-button green download-bundle-button" style="margin:0 0 40px 60px;float:right" href="">Download</a> - - <ul> - <li>以 IntelliJ IDEA Community Edition (JetBrains 所推出的常用 Java IDE) 為基礎。</li> - <li>具有彈性的 Gradle 型建置系統。</li> - <li>可產生建置變體和多個 APK。</li> - <li>可為 Google 各項服務和各種裝置類型提供額外的範本支援。</li> - <li>具有支援主題編輯功能的版面配置編輯器。</li> - <li>具有可取得效能、可用性、版本相容性資料及偵測其他問題的 Lint 工具。</li> - <li>具有 ProGuard 和應用程式簽署功能。</li> - <li>內建 Google Cloud Platform 支援,可讓您輕鬆整合 Google Cloud Messaging 與 App Engine。 -</li> - </ul> - -<p style="margin:0"> -如要進一步瞭解 Android Studio 提供的功能,請參閱《<a href="{@docRoot}tools/studio/index.html">Android Studio 基本概念</a>》指南。 -</p> -</div> - - -<p>如果您搭配 ADT 使用 Eclipse,請注意,Android Studio 現已成為 Android 的官方 IDE,因此請遷移至 Android Studio 以接收 IDE 的所有更新資訊。 - -如果想瞭解如何遷移專案,請參閱<a href="{@docRoot}sdk/installing/migrate.html">遷移至 Android Studio</a>。 - -</p> - - - - - - - -<h2 id="Requirements">系統需求</h2> - -<h3>Windows</h3> - -<ul> -<li>Microsoft® Windows® 8/7/Vista/2003 (32 或 64 位元)</li> -<li>2 GB 以上的 RAM (建議準備 4 GB 的 RAM)</li> -<li>400 MB 的硬碟空間</li> -<li>至少 1 GB (供 Android SDK、模擬器系統映像檔及快取使用)</li> -<li>1280 x 800 以上的螢幕解析度</li> -<li>Java Development Kit (JDK) 7 </li> -<li>提升模擬器效能的選用配件:支援 Intel® VT-x、Intel® EM64T (Intel® 64) 及 Execute Disable (XD) Bit 功能的 Intel® 處理器 -</li> -</ul> - - -<h3>Mac OS X</h3> - -<ul> -<li>Mac® OS X® 10.8.5 以上版本;最高可支援 10.9 (Mavericks)</li> -<li>2 GB 以上的 RAM (建議準備 4 GB 的 RAM)</li> -<li>400 MB 的硬碟空間</li> -<li>至少 1 GB (供 Android SDK、模擬器系統映像檔及快取使用)</li> -<li>1280 x 800 以上的螢幕解析度</li> -<li>Java Runtime Environment (JRE) 6</li> -<li>Java Development Kit (JDK) 7</li> -<li>提升模擬器效能的選用配件:支援 Intel® VT-x、Intel® EM64T (Intel® 64) 及 Execute Disable (XD) Bit 功能的 Intel® 處理器 -</li> -</ul> - -<p>如果您使用 Mac OS,可搭配 Java Runtime Environment (JRE) 6 執行 Android Studio 以獲得最佳字型顯示效果。 -此外,您還可以設定專案使用 Java Development Kit (JDK) 6 或 JDK 7。</p> - - - -<h3>Linux</h3> - -<ul> -<li>GNOME 或 KDE 桌面</li> -<li>GNU C 程式庫 (glibc) 2.15 以上版本</li> -<li>2 GB 以上的 RAM (建議準備 4 GB 的 RAM)</li> -<li>400 MB 的硬碟空間</li> -<li>至少 1 GB (供 Android SDK、模擬器系統映像檔及快取使用)</li> -<li>1280 x 800 以上的螢幕解析度</li> -<li>Oracle® Java Development Kit (JDK) 7 </li> -</ul> -<p>已在 Ubuntu® 14.04 Trusty Tahr (能夠執行 32 位元應用程式的 64 位元發行版本) 上經過測試。 -</p> - - - - -<h2 id="Other" style="clear:left">其他下載選項</h2> - -<!-- alternative SDK options follows --> diff --git a/docs/html-intl/intl/zh-tw/sdk/installing/adding-packages.jd b/docs/html-intl/intl/zh-tw/sdk/installing/adding-packages.jd deleted file mode 100644 index 563df51e22d3..000000000000 --- a/docs/html-intl/intl/zh-tw/sdk/installing/adding-packages.jd +++ /dev/null @@ -1,226 +0,0 @@ -page.title=新增 SDK 封裝 - -page.tags=sdk manager - -@jd:body - -<style> -ol.large { - margin-left:0; -} -ol.large > li { - list-style-position: inside; - list-style-type:none; - margin:30px 0 0 0; - padding:30px 20px; - background:#eee; -} -ol.large > li:nth-child(odd) { -} -ol.large > li:before { - display:inline; - left:-40px; - float:left; - width:20px; - font-size:20px; - line-height:20px; -} -ol.large > li > h2 { - font-size:20px; - line-height:20px; - padding:0 0 0 20px; - margin:0 0 20px 0; - display:inline; - font-weight:normal; -} -ol.large > li:nth-child(1):before { - content:"1. "; -} -ol.large > li:nth-child(2):before { - content:"2. "; -} -ol.large > li:nth-child(3):before { - content:"3. "; -} -ol.large > li:nth-child(4):before { - content:"4. "; -} -ol.large > li:nth-child(5):before { - content:"5. "; -} -ol.large > li:nth-child(6):before { - content:"6. "; -} -</style> - - -<p> -Android SDK 預設不會包括開發所需的所有內容。SDK 將工具、平台及其他元件劃分為不同的封裝。您可以使用 - <a href="{@docRoot}tools/help/sdk-manager.html">Android SDK Manager</a> 視需要下載。因此,您要先將封裝加入 Android SDK 後,才可以開始進行。 - - -</p> - -<p>如要新增封裝,請透過下列其中一種方式啟動 Android SDK Manager:</p> -<ul> - <li>在 Android Studio 中,按一下工具列的 [<strong>SDK Manager</strong>] -<img src="{@docRoot}images/tools/sdk-manager-studio.png" style="vertical-align:bottom;margin:0;height:17px" />。</li> - <li>如果您不是使用 Android Studio: - <ul> - <li>Windows:按兩下位於 Android SDK 目錄之根目錄的 <code>SDK Manager.exe</code> 檔案。 -</li> - <li>Mac/Linux:開啟終端機並瀏覽到安裝 Android SDK 的 <code>tools/</code> 目錄,然後執行 <code>android sdk</code>。 -</li> - </ul> - </li> -</ul> - -<p>第一次開啟 SDK Manager 時,預設會選取多個封裝。 -保留預設選取的封裝,但務必按照以下步驟確認您已經取得開發所需的所有內容: -</p> - - -<ol class="large"> -<li> - <h2 id="GetTools" class="norule">取得最新的 SDK 工具</h2> - -<img src="/images/sdk_manager_packages.png" alt="" width="350" style="float:right;margin-left:20px" /> - - <p>設定 Android SDK 時,您一定要下載最新的工具和平台: -</p> - <ol> - <li>開啟 Tools 目錄並選取: - <ul> - <li><strong>Android SDK 工具</strong></li> - <li><strong>Android SDK 平台工具</strong></li> - <li><strong>Android SDK 建置工具</strong> (最新版本)</li> - </ul> - </li> - <li>開啟第一個 Android X.X 資料夾 (最新版本) 並選取: - <ul> - <li><strong>SDK 平台</strong></li> - <li>模擬器的系統映像,例如 <br> - <strong>ARM EABI v7a 系統映像</strong></li> - </ul> - </li> - </ol> -</li> - -<li> - <h2 id="GetSupportLib" class="norule">取得額外 API 的支援程式庫</h2> - - <div class="sidebox"> - <p>以下各項需要支援程式庫:</p> - <ul> - <li><a href="{@docRoot}wear/index.html">Android Wear</a></li> - <li><a href="{@docRoot}tv/index.html">Android 電視</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - </ul> - - <p>支援程式庫也提供常用的 API:</p> - <ul> - <li><a href="{@docRoot}reference/android/support/v4/widget/DrawerLayout.html">導覽匣</a> -</li> - <li><a href="{@docRoot}reference/android/support/v4/view/ViewPager.html">滑動檢視</a></li> - <li><a href="{@docRoot}reference/android/support/v7/app/ActionBar.html">向下相容的動作列</a> -</li> - </ul> - </div> - - <p><a href="{@docRoot}tools/support-library/features.html">Android 支援程式庫</a>提供的 API 延伸集合,可以與大部分的 Android 版本相容。 -</p> - - <p>開啟 <strong>Extras</strong> 目錄並選取:</p> - <ul> - <li><strong>Android 支援存放庫</strong></li> - <li><strong>Android 支援程式庫</strong></li> - </ul> - - <p> </p> - <p> </p> - -</li> - - -<li> - <h2 id="GetGoogle" class="norule">從 Google Play 服務取得更多 API</h2> - - <div class="sidebox"> - - <p>Google Play 服務 API 為 Android 應用程式提供多種功能與服務,例如: -</p> - <ul> - <li><a href="{@docRoot}google/play-services/plus.html">使用者驗證</a></li> - <li><a href="{@docRoot}google/play-services/maps.html">Google 地圖</a></li> - <li><a href="{@docRoot}google/play-services/cast.html">Google Cast</a></li> - <li><a href="{@docRoot}google/play-services/games.html">遊戲關卡和排行榜</a> -</li> - <li><a href="{@docRoot}google/play-services/index.html">更多功能與服務</a></li> - </ul> - </div> - - <p>如要使用 Google API 進行開發,您需要 Google Play 服務封裝:</p> - <p>開啟 <strong>Extras</strong> 目錄並選取:</p> - <ul> - <li><strong>Google 存放庫</strong></li> - <li><strong>Google Play 服務</strong></li> - </ul> - - <p class="note"><strong>注意:</strong>並非所有 Android 裝置都提供 Google Play 服務,但內含 Google Play 市集的所有裝置都可以使用 Google Play 服務。 -如要在 Android 模擬器中使用這些 API,您必須從 SDK Manager 最新的 Android X.X 目錄中安裝 <strong>Google API</strong> 系統映像。 - -</p> -</li> - - -<li> - <h2 id="Install" class="norule">安裝封裝</h2> - <p>您選好需要的所有封裝後,就可以繼續安裝:</p> - <ol> - <li>按一下 [<strong>安裝 X 封裝</strong>]。</li> - <li>在下一個視窗中,按兩下左側的每個封裝名稱,以接受每項的授權合約。 -</li> - <li>按一下 [<strong>安裝</strong>]。</li> - </ol> - <p>SDK Manager 視窗的下方會顯示下載進度。 - <strong>請勿結束 SDK Manager</strong>,下載會因而取消。</p> -</li> - -<li> - <h2 id="Build" class="norule">開始建置!</h2> - -<p>Android SDK 現在已內含上述封裝,您可以開始建置 Android 應用程式了。 -若有新的工具和其他 API,只要啟動 SDK Manager 即可將新的封裝下載到 SDK。 -</p> - -<p>以下是繼續進行的選項:</p> - -<div class="cols" style="padding:10px 0"> -<div class="col-4"> -<h3>開始使用</h3> -<p>如果您是 Android 開發新手,可參考<strong><a href="{@docRoot}training/basics/firstapp/index.html">建置第一個應用程式</a></strong>指南瞭解 Android 應用程式的基本概念。 -</p> - -</div> -<div class="col-4 box"> -<h3>建置穿戴式應用程式</h3> -<p>如果您準備好開始建置 Android 穿戴式裝置的應用程式,請參閱<strong><a href="{@docRoot}wear/preview/start.html">建置 Android Wear 的應用程式</a></strong>指南。 -</p> - -</div> -<div class="col-4 box"> -<h3>使用 Google API</h3> -<p>如要開始使用 Google API (例如「地圖」或 Play Game 服務),請參閱<strong><a href="{@docRoot}google/play-services/setup.html">設定 Google Play 服務</a></strong>指南。 - - -</p> - -</div> -</div><!-- end cols --> - - -</li> - -</ol> - - |