{"id":50,"date":"2012-04-19T23:18:46","date_gmt":"2012-04-19T15:18:46","guid":{"rendered":"https:\/\/www.blog.jacland.com\/?p=50"},"modified":"2013-12-13T15:00:49","modified_gmt":"2013-12-13T07:00:49","slug":"%e5%86%8d%e6%8e%a2-android-%e5%ae%89%e8%a3%9d%e9%96%8b%e7%99%bc%e7%92%b0%e5%a2%83","status":"publish","type":"post","link":"https:\/\/www.blog.jacland.com\/?p=50","title":{"rendered":"\u518d\u63a2 Android (1) &#8211; \u5b89\u88dd\u958b\u767c\u74b0\u5883"},"content":{"rendered":"<p>\u5e7e\u5e74\u524d\u56e0\u70ba\u5de5\u4f5c\u7684\u95dc\u4fc2\uff0c\u958b\u767c\u4e86\u4e00\u500b\u5c0f\u7684Android\u61c9\u7528\u7a0b\u5f0f(app)\u3002\u7576\u6642\u4e5f\u5728 <a href=\"http:\/\/www.blogger.com\/home\" target=\"_blank\">Blogger<\/a> \u4e0a\u958b\u4e86\u500b <a href=\"http:\/\/tyroandroid.blogspot.com\/\" target=\"_blank\">\u521d\u5b78Android \u7db2\u8a8c<\/a> \uff0c\u7559\u4e86\u5e7e\u7bc7\u7d00\u9304\u3002\u6700\u8fd1\u53c8\u6709\u7a7a\u4e86\uff0c\u60f3\u518d\u56de\u5473\u4e00\u4e0bAndroid\u3002<\/p>\n<p>\u7576\u521d\u9084\u662f Android 2\uff0c\u73fe\u5728\u5df2\u7d93\u6709 Android 4\u4e86\u3002\u8ddd\u96e2\u7576\u521d\u958b\u767cAndroid app\u4e5f\u5df2\u7d93\u6709\u5feb\u5169\u5e74\u4e86\uff0c\u5c31\u9806\u4fbf\u91cd\u65b0\u8a8d\u8b58\u4e00\u4e0bAndroid\u958b\u767c\u74b0\u5883\u3002<\/p>\n<p>Google\u4e86\u4e00\u4e9b\u67b6\u8a2dAndroid\u958b\u767c\u74b0\u5883\u7684\u7db2\u8a8c\uff0c\u6709\u500b <a href=\"http:\/\/blog.chinatimes.com\/tomsun\/\" target=\"_blank\">Android \u6559\u5b78 | \u5b6b\u50b3\u96c4\u8ac7\u79d1\u6280<\/a><span class=\"title\"> \u7684\u7db2\u8a8c\u4ecb\u7d39\u7684\u9084\u883b\u8a73\u76e1\u7684\u3002\u5c31\u53c3\u8003\u4ed6\u7684\u8aaa\u660e\uff0c\u91cd\u65b0\u5b89\u88dd\u65b0\u7684Android \u958b\u767c\u74b0\u5883\u3002<\/span><\/p>\n<p><span class=\"title\">\u9700\u8981\u4f9d\u6b21\u5b89\u88dd\u4e09\u5957\u5de5\u5177\uff0c\u4f9d\u5e8f\u70ba\uff1a1. <\/span><span class=\"title\">Java JDK\u30012. Eclipse\u30013. Android SDK\u3002<\/span><\/p>\n<p><!--more--><\/p>\n<p>1. \u5b89\u88dd Java JDK<\/p>\n<blockquote><p>\u9996\u5148\uff0c\u8981\u5148\u6e96\u5099 Windows \u4e0a\u7684 Java\u74b0\u5883\uff1a\u5148\u53bb download JDK\uff0c\u76ee\u524d\u7684\u7248\u672c\u662f &#8220;Java SE 7u3&#8221; (Android \u5b98\u7db2\u9084\u662fshow JDK 6\uff0c\u5148\u4e0d\u7ba1\u4ed6)\u3002<\/p>\n<p><a href=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image1.png\" rel=\"lightbox[50]\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image_thumb1.png\" width=\"337\" height=\"187\" border=\"0\" \/><\/a><\/p>\n<p>\u4e0b\u8f09\u5f8c\u5c31\u76f4\u63a5\u5b89\u88dd\uff0c\u975e\u5e38\u7c21\u55ae\u3002\u88dd\u5b8c\u5f8c\u5c31\u5230\u5229\u7528 Windows\u7684 &#8220;\u547d\u4ee4\u63d0\u793a\u5b57\u5143&#8221; \uff0c\u4f86\u78ba\u8a8d\u4e00\u4e0b\u3002\u6e38\u6a19\u7576\u4e2d\u9375\u5165 java \u2013version \u6309Enter\u3002\u7d50\u679c\u986f\u793a\u5982\u4e0b\uff0c\u5b89\u88dd\u6210\u529f\u3002<\/p>\n<p><a href=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image.png\" rel=\"lightbox[50]\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border-width: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image_thumb.png\" width=\"402\" height=\"65\" border=\"0\" \/><\/a><\/p><\/blockquote>\n<p>2. \u5b89\u88dd Eclipse<\/p>\n<blockquote><p>Eclipse\u662f\u4e00\u500b\u5177\u6709\u5716\u5f62\u5316\u754c\u9762\u7684\u7a0b\u5f0f\u7de8\u8f2f\u5668\u8edf\u9ad4\uff0c\u53ef\u4ee5\u5728 Eclipse \u4e2d \u7de8\u5beb\u7a0b\u5f0f\u78bc\u3001\u4e5f\u53ef\u4ee5\u7528\u5b83\u4f86\u9032\u884c\u8edf\u9ad4\u5c08\u6848\u7684\u5132\u5b58\u3001\u6e2c\u8a66\u3001\u9664\u932f\u3001\u4e26\u5c01\u88dd\u6210\u57f7\u884c\u6a94\uff0c\u53ef\u7a31\u4f5c\u70ba\u4e00\u5957\u6574\u5408\u958b\u767c\u74b0\u5883 ( Integrated Development Environment , IDE ) \u3002<\/p>\n<p>Eclipse\u53ea\u662f\u4e00\u500b\u958b\u767c\u5e73\u53f0\uff0c\u60f3\u8981\u958b\u767c\u67d0\u7a2e\u7a0b\u5f0f\u8a9e\u8a00\u6642\uff0c\u5247\u5c07\u8a72\u7a0b\u5f0f\u8a9e\u8a00\u7684\u76f8\u95dc\u5957\u4ef6\u5b89\u88dd\u5230\u5e73\u53f0\u4e2d\u3002<\/p>\n<p>\u56e0\u70ba Eclipse \u7121\u9808\u5b89\u88dd\uff0c\u76f4\u63a5\u57f7\u884c\u5373\u53ef\uff0c\u6240\u4ee5\u53ea\u9700\u8981\u4e0b\u8f09Eclipse\u58d3\u7e2e\u6a94\uff0c\u518d\u89e3\u58d3\u7e2e\u5373\u53ef\u3002<\/p>\n<p>\u6240\u4ee5\u76f4\u63a5\u5230 <a title=\"http:\/\/www.eclipse.org\/downloads\/\" href=\"http:\/\/www.eclipse.org\/downloads\/\">http:\/\/www.eclipse.org\/downloads\/<\/a> \u4e0b\u8f09&#8221;Eclipse IDE for Java Developers&#8221;\u3002(\u76ee\u524d\u662feclipse-java-indigo-SR2-win32.zip\uff0c\u6211OS\u662f WinXP\u6240\u4ee5\u9078\u64c7 32 Bit \u7248\u672c)\uff0c\u518d\u5c07\u8a72 zip \u89e3\u58d3\u7e2e\uff0c\u5c31\u6703\u7522\u751f\u4e00\u500b eclipse \u8cc7\u6599\u593e\uff0c\u8cc7\u6599\u593e\u4e2d\u7684 &#8220;eclipse.exe&#8221; \u5c31\u662f\u4e3b\u89d2\u3002(\u53ef\u5c07\u8cc7\u6599\u593e\u79fb\u5230\u4f60\u65b9\u4fbf\u4f5c\u696d\u7684\u5730\u65b9\uff0c\u901a\u5e38\u6211\u6703\u653e\u5230C:\u6216 D:\u78c1\u789f\u7684\u76ee\u9304\u4e0b)<\/p>\n<p><a href=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image2.png\" rel=\"lightbox[50]\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image_thumb2.png\" width=\"371\" height=\"195\" border=\"0\" \/><\/a><\/p><\/blockquote>\n<blockquote><p>\u524d\u9762\u6709\u63d0\u5230 Eclipse \u53ea\u662f\u4e00\u500b\u5e73\u53f0\uff0c\u9700\u8981\u5b89\u88dd\u6240\u8981\u958b\u767c\u7a0b\u5f0f\u8a9e\u8a00\u7684\u76f8\u95dc\u5957\u4ef6\u3002\u800c\u958b\u767c Android \u9700\u8981\u5b89\u88dd ADT Plugin for Eclipse\u3002<\/p>\n<p>\u57f7\u884c eclipse.exe\uff0c\u5b83\u6703\u5148\u8a62\u554f\u5de5\u4f5c\u76ee\u9304(Workspace)\uff0c\u53ef\u76f4\u63a5\u7528\u5167\u5b9a\u76ee\u9304\uff0c\u6216\u81ea\u884c\u8a2d\u5b9a\u3002<\/p>\n<p>\u9032\u5165eclipse\u5f8c\uff0c\u9ede\u9078\u5728\u4e0a\u65b9\u5de5\u5177\u5217\u4e2d\u7684&#8221;Help&#8221;&#8211;&gt;&#8221;Install New Software&#8221;\uff0c\u9032\u5165Install \u8996\u7a97\u3002 \u5728 &#8220;Work with&#8221; \u6587\u5b57\u6846\u4e2d\uff0c\u9375\u5165 <a href=\"https:\/\/dl-ssl.google.com\/android\/eclipse\/\">https:\/\/dl-ssl.google.com\/android\/eclipse\/<\/a>\uff0c\u4e26\u6309\u4e0b &#8220;Add\u2026&#8221; \u6309\u9215\u3002\u7576\u51fa\u73fe &#8220;Add Repository&#8221; \u8996\u7a97\u6642\uff0c\u5728&#8221;Name&#8221; \u8996\u7a97\u4e0a\uff0c\u4efb\u610f\u8f38\u5165\u4e00\u500b\u82f1\u6587\u4ee3\u865f\u540d\u7a31\u3002\u6309 &#8220;OK&#8221;\u3002\u63a5\u8457\u4e0b\u9762\u7684\u8996\u7a97\u6703\u51fa\u73fe \u53ef\u9078\u64c7\u7684&#8221;Developer tools&#8221;\u3002(\u82e5\u51fa\u73fe &#8220;pending&#8221;\uff0c\u5c07&#8221;Work with&#8221;\u4e0a\u8f38\u5165\u7684 https:\/\/:&#8230;.\u6539\u70ba http:\/\/&#8230;)\u3002<\/p>\n<p><a href=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image3.png\" rel=\"lightbox[50]\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image_thumb3.png\" width=\"398\" height=\"338\" border=\"0\" \/><\/a><\/p>\n<p>\u518d\u6309\u4e0b&#8221;Select All&#8221;\uff0c\u9078\u53d6\u6240\u6709 ADT Plugin for Eclipse \u7684\u76f8\u95dc\u5de5\u5177\u3002\u63a5\u8457\uff0c\u6309\u4e0b&#8221;Next &gt;&#8221;\u3002\u51fa\u73fe\u201dInstall Details\u201d\u5167\u5bb9\u6642\uff0c\u518d\u7e7c\u7e8c\u6309\u4e0b&#8221;Next &gt;&#8221;\u6309\u9215\u3002<\/p>\n<p>\u51fa\u73fe &#8220;Review Licenses&#8221; (\u7248\u6b0a\u5ba3\u544a)\u5167\u5bb9\u6642\uff0c\u9ede\u9078&#8221; I accept the terms of the license agreements&#8221; \u9078\u9805\u3002\u4e26\u8acb\u6309\u4e0b &#8220;Finish&#8221; \u6309\u9215\uff0c\u958b\u59cb\u5b89\u88dd\u3002\u5b89\u88dd\u6642\u82e5\u51fa\u73fe Security Warning\u7684\u8a0a\u606f\uff0c\u5247\u76f4\u63a5\u9ede\u9078&#8221;OK&#8221;\u7e7c\u7e8c\u5b8c\u6210\u5b89\u88dd\u3002\u7576\u5b89\u88dd\u5b8c\u7562\u5f8c\uff0c\u6309\u4e0b&#8221;Restart Now&#8221; \u91cd\u65b0\u555f\u52d5 Eclipse\uff0c\u5373\u53ef\u5b8c\u6210 ADT Plugin for Eclipse \u7684\u5b89\u88dd\u3002<\/p><\/blockquote>\n<p>3. \u5b89\u88dd Android SDK<\/p>\n<blockquote><p>\u65b0\u7248\u7684 Andriod SDK\u7c21\u5316\u4e86\u4e0b\u8f09\u5b89\u88dd\u7684\u6b65\u9a5f\uff0c\u4e0d\u9700\u8981\u518d\u5230 Android Developers \u5b98\u7db2\u4e0b\u8f09 SDK starter package \u3002<\/p>\n<p>\u7576\u5b8c\u6210\u524d\u9762\u7684\u5b89\u88dd\u7a0b\u5e8f\u4e26\u91cd\u65b0\u555f\u52d5 Eclipse\u5f8c\uff0c Eclipse \u6703\u81ea\u52d5\u51fa\u73fe\u00a0 &#8220;Welcom to Android Development&#8221; \u8996\u7a97\uff0c\u76f4\u63a5 configure SDK\u3002<\/p>\n<p><a href=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image4.png\" rel=\"lightbox[50]\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image_thumb4.png\" width=\"388\" height=\"273\" border=\"0\" \/><\/a><\/p>\n<p>\u5c07 &#8220;Install new SDK&#8221; \u4e2d\u7684\u5169\u500b\u9078\u9805\u90fd\u52fe\u9078\uff1a<\/p>\n<ul>\n<li>Install the latest available version of Android APIs (supports all the latest features)<\/li>\n<li>Install Android 2.1, a version which is supported by \u2013 97% phones and tablets<\/li>\n<\/ul>\n<p>\u53e6\u5916\uff0c\u9084\u5fc5\u9700\u6307\u660e\u00a0 APIs \u6a94\u6848\u5b89\u88dd\u7684\u8def\u5f91 ( Target Location ) \u3002(\u53ef\u8a2d\u5b9a\u4f60\u60f3\u8981\u653eSDK\u7684\u5730\u65b9\uff0c\u6211\u662f\u5728D:\u78c1\u789f\u7684\u76ee\u9304\u4e0b\u5efaAndroidSDK\u5b58\u653e)\u3002\u6309\u4e0b &#8220;Next &gt;&#8221; \u6309\u9215<\/p>\n<p>\u63a5\u8457\u6703\u51fa\u73fe\uff0c&#8221;Contribute Usage Statistics?&#8221; \u8996\u7a97\uff0c\u8a62\u554f\u662f\u5426\u8981\u5c07\u60a8\u4f7f\u7528 Android SDK \u4e4b\u4f7f\u7528\u7d71\u8a08\u6578\u64da\u5206\u4eab\u7d66 Google \u3002(\u76ee\u524d\u6211\u4e0d\u60f3\uff0c\u6240\u4ee5\u9078No)\u3002\u9078\u64c7\u5f8c\u6309\u4e0b &#8220;Finish&#8221; \u6309\u9215\u3002<\/p>\n<p>\u63a5\u8457\u6703\u9023\u7d50\u5230google\u6293\u53d6\u5b89\u88dd\u8cc7\u6599\uff0c\u7576\u51fa\u73fe &#8220;Choose Packages to Install&#8221; \u8996\u7a97\u6642\uff0c\u5247\u9ede\u9078 &#8220;Accept All&#8221;\u9078\u9805\uff0c\u540c\u610f\u6240\u6709\u7248\u6b0a\u5ba3\u544a\uff0c\u6309\u4e0b&#8221;Install&#8221;\u6309\u9215\uff0c\u958b\u59cb\u4e0b\u8f09\u8cc7\u6599\u4e26\u5b89\u88dd\u3002<\/p>\n<p><a href=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image5.png\" rel=\"lightbox[50]\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; border: 0px;\" title=\"image\" alt=\"image\" src=\"https:\/\/www.blog.jacland.com\/wp-content\/uploads\/2012\/04\/image_thumb5.png\" width=\"382\" height=\"201\" border=\"0\" \/><\/a><\/p>\n<p>\u9019\u6a23\u5c31\u5b8c\u6210\u4e86Android\u958b\u767c\u74b0\u5883\u7684\u5b89\u88dd\u3002<\/p>\n<p>\u5b89\u88dd\u5b8c\u6210\u5f8c\u53ef\u5728 Eclipse\u4e0a\u65b9\u5de5\u5177\u5217\u4e2d\u9ede\u9078&#8221;Windows&#8221; &#8211;&gt; &#8220;Android SDK Manager&#8221; \u67e5\u770b\u5b89\u88dd\u4e86\u54ea\u4e9b\u6771\u897f\u3002\u4e5f\u53ef\u4ee5\u5728\u6b64\u65b0\u589e\u6216\u66f4\u65b0SDK\u3002<\/p><\/blockquote>\n<p>\u770b\u4f86\uff0c\u5b89\u88dd Android \u7684\u958b\u767c\u74b0\u5883\u4e5f\u8b8a\u7c21\u55ae\u4e86\u3002\u74b0\u5883\u67b6\u8a2d\u5b8c\u5f8c\uff0c\u63a5\u8457\u5c31\u6e96\u5099\u958b\u59cb\u7df4\u7fd2\u4e9b\u5c0f\u7a0b\u5f0f\u4e86\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5e7e\u5e74\u524d\u56e0\u70ba\u5de5\u4f5c\u7684\u95dc\u4fc2\uff0c\u958b\u767c\u4e86\u4e00\u500b\u5c0f\u7684Android\u61c9\u7528\u7a0b\u5f0f(app)\u3002\u7576\u6642\u4e5f\u5728 Blogger \u4e0a\u958b\u4e86\u500b \u521d\u5b78 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[99,21,20],"_links":{"self":[{"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=\/wp\/v2\/posts\/50"}],"collection":[{"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=50"}],"version-history":[{"count":8,"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=\/wp\/v2\/posts\/50\/revisions"}],"predecessor-version":[{"id":201,"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=\/wp\/v2\/posts\/50\/revisions\/201"}],"wp:attachment":[{"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=50"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=50"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blog.jacland.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=50"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}