
{"id":419,"date":"2016-05-07T12:38:54","date_gmt":"2016-05-07T04:38:54","guid":{"rendered":"http:\/\/www.jiandaima.com\/blog\/?p=419"},"modified":"2016-05-07T12:38:54","modified_gmt":"2016-05-07T04:38:54","slug":"%e6%9c%80%e5%85%a8%e9%9d%a2%e7%9a%84androidstudio%e9%85%8d%e7%bd%ae%e6%8c%87%e5%8d%97%e6%80%bb%e7%bb%931-2-%e5%8c%85%e6%8b%ac%e6%8a%a4%e7%9c%bc%e6%a8%a1%e5%bc%8f","status":"publish","type":"post","link":"http:\/\/www.jiandaima.com\/blog\/archives\/419.html","title":{"rendered":"\u6700\u5168\u9762\u7684AndroidStudio\u914d\u7f6e\u6307\u5357\u603b\u7ed3[1-2]-\u5305\u62ec\u62a4\u773c\u6a21\u5f0f"},"content":{"rendered":"<p>\u4f7f\u7528AndroidStudio\u5f00\u53d1APP\u5df2\u6709\u534a\u5e74\u591a\u7684\u65f6\u95f4\u4e86\uff0c\u4ece\u521a\u5f00\u59cb\u7684\u4e0d\u4e60\u60ef\u5230\u6162\u6162\u9002\u5e94\u518d\u5230\u9010\u6e10\u559c\u6b22\u4e0aAndroidStudio\uff0c\u4e2d\u95f4\u7684\u8fc7\u7a0b\u9887\u6709\u4e00\u756a\u66f2\u6298\uff0c\u73b0\u5728\u628a\u81ea\u5df1\u5bf9AndroidStudio\u7684\u914d\u7f6e\u5fc3\u5f97\u603b\u7ed3\u4e0b\u6765\uff0c\u5206\u4eab\u7ed9\u5927\u5bb6\uff0c\u5e0c\u671b\u7ed9\u540e\u6765\u4eba\u5e26\u6765\u65b9\u4fbf\u3002<\/p>\n<p><strong>\u5f3a\u8feb\u75c7\u7ae5\u978b\u7684\u62a4\u773c\u6a21\u5f0f\u8bbe\u7f6e\u65b9\u6cd5<\/strong><\/p>\n<p>\u4f20\u7edf\u6a21\u5f0f\u7684\u7f16\u8f91\u57df<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506153722062\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/img.blog.csdn.net\/20160506153722062\" \/><\/a><\/p>\n<p>\u62a4\u773c\u6a21\u5f0f\u7684\u7f16\u8f91\u57df<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506153743798\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/img.blog.csdn.net\/20160506153743798\" \/><\/a><\/p>\n<p>\u8bbe\u7f6e\u4fdd\u62a4\u89c6\u529b\u989c\u8272 #C7EDCC\uff08\u62a4\u773c\u7eff\uff09<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506153753376\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/img.blog.csdn.net\/20160506153753376\" \/><\/a><\/p>\n<p><strong>\u5f00\u53d1\u754c\u9762\u8bbe\u7f6e<\/strong><\/p>\n<p>\u9ed8\u8ba4\u7684 Android Studio \u4e3a\u7070\u8272\u754c\u9762\uff0c\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528\u70ab\u9177\u7684\u9ed1\u8272\u754c\u9762\uff0cSettings \u2013&gt; Appearance \u2013&gt; Theme \uff0c\u9009\u62e9 Darcula \u4e3b\u9898\u5373\u53ef\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506154506603\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/img.blog.csdn.net\/20160506154506603\" \/><\/a><\/p>\n<p><strong>\u7cfb\u7edf\u5b57\u4f53\u8bbe\u7f6e<\/strong><br \/>\n\u5982\u679c\u4f60\u7684Android Studio\u754c\u9762\u4e2d\uff0c\u4e2d\u6587\u663e\u793a\u6709\u95ee\u9898\uff0c\u6216\u8005\u9009\u62e9\u4e2d\u6587\u76ee\u5f55\u663e\u793a\u6709\u95ee\u9898\uff0c\u6216\u8005\u60f3\u4fee\u6539\u83dc\u5355\u680f\u7684\u5b57\u4f53\uff0c\u53ef\u4ee5\u5982\u4e0b\u8bbe\u7f6e\uff1a<br \/>\nSettings \u2013&gt; Appearance \uff0c\u52fe\u9009 Override default fonts by (not recommended) \uff0c\u9009\u62e9\u4e00\u6b3e\u652f\u6301\u4e2d\u6587\u7684\u5b57\u4f53\u5373\u53ef\uff0c\u9ed8\u8ba4\u662f\u5fae\u8f6f\u96c5\u9ed1\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506154714872\"><img decoding=\"async\" class=\"aligncenter\" src=\"http:\/\/img.blog.csdn.net\/20160506154714872\" \/><\/a><\/p>\n<p><strong>\u7f16\u7a0b\u5b57\u4f53\u8bbe\u7f6e<\/strong><br \/>\n\u5982\u679c\u60f3\u4fee\u6539\u7f16\u8f91\u5668\u7684\u5b57\u4f53\uff0c\u4ee5\u53ca\u6240\u6709\u7684\u6587\u4ef6\u663e\u793a\u7684\u5b57\u4f53\uff0c\u53ef\u4ee5\u5982\u4e0b\u8bbe\u7f6e\uff1a<br \/>\nSettings \u2013&gt; Editor \u2013&gt; Colors &amp; Fonts \u2013&gt; Font \u3002\u9ed8\u8ba4\u7cfb\u7edf\u663e\u793a\u7684 Scheme \u4e3a Defualt \uff0c\u4f60\u662f\u4e0d\u80fd\u7f16\u8f91\u7684\uff0c\u4f60\u9700\u8981\u70b9\u51fb\u53f3\u4fa7\u7684 Save As\u2026 \uff0c\u4fdd\u5b58\u4e00\u4efd\u81ea\u5df1\u7684\u8bbe\u7f6e\uff0c\u5e76\u5728\u5f53\u4e2d\u8bbe\u7f6e\u3002\u4e4b\u540e\uff0c\u5728 Editor Font \u4e2d\u5373\u53ef\u8bbe\u7f6e\u5b57\u4f53\u3002\u6211\u559c\u6b22\u7528Courier New\u5b57\u4f53\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506154830146\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506154830146\"   alt=\"\u7f16\u7a0b\u5b57\u4f53\u8bbe\u7f6e\" class=\"aligncenter\" \/><\/a><\/p>\n<p>\u901a\u8fc7Settings \u2013> Editor \u2013> Colors & Fonts \u4e2d\u4e5f\u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u5b57\u4f53\u7684\u989c\u8272\uff0c\u5f53\u7136\u4e5f\u53ef\u4ee5\u5bfc\u5165\u81ea\u5b9a\u4e49\u5b57\u4f53\u5305\u3002<\/p>\n<p><strong>\u4ee3\u7801\u683c\u5f0f\u8bbe\u7f6e<\/strong><\/p>\n<p>\u5982\u679c\u4f60\u60f3\u8bbe\u7f6e\u4f60\u7684\u4ee3\u7801\u683c\u5f0f\u5316\u65f6\u663e\u793a\u7684\u6837\u5f0f\uff0c\u53ef\u4ee5\u5982\u4e0b\u8bbe\u7f6e\uff1a<br \/>\nSettings \u2013> Code Style \u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506155031033\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506155031033\"   alt=\"\u4ee3\u7801\u683c\u5f0f\u8bbe\u7f6e\" class=\"aligncenter\" \/><\/a><\/p>\n<p><strong>\u9ed8\u8ba4\u6587\u4ef6\u7f16\u7801\u8bbe\u7f6e<\/strong><\/p>\n<p>\u5f00\u53d1\u4e2d\u9700\u8981\u4f7f\u7528 utf-8 \uff0c\u53ef\u4ee5\u5982\u4e0b\u8bbe\u7f6e\uff1a<br \/>\nSettings \u2013> File Encodings \u3002\u5efa\u8bae\u5c06 IDE Encoding \u3001 Project Encoding \u3001 Properties Fiels \u90fd\u8bbe\u7f6e\u6210\u7edf\u4e00\u7684\u7f16\u7801\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506155204272\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506155204272\"   alt=\"\u9ed8\u8ba4\u6587\u4ef6\u7f16\u7801\u8bbe\u7f6e\" class=\"aligncenter\" \/><\/a><\/p>\n<p><strong>\u5feb\u6377\u952e\u8bbe\u7f6e<\/strong><\/p>\n<p>\u9996\u5148\u4f60\u53ef\u4ee5\u5728Android Studio\u4e2d\u4f7f\u7528Eclipse\u7684\u5feb\u6377\u952e\u3002\u4e5f\u53ef\u4ee5\u5355\u72ec\u8bbe\u7f6e\uff1a<br \/>\nSettings \u2013> Keymap \u3002\u4ece Keymaps \u4e2d\u9009\u62e9\u5bf9\u5e94IDE\u7684\u5feb\u6377\u952e\uff0cAndroid Studio\u5bf9\u5176\u4ed6IDE\u7684\u5feb\u6377\u952e\u652f\u6301\u8fd8\u662f\u6bd4\u8f83\u591a\u7684\u3002\u5efa\u8bae\u4e0d\u4f7f\u7528\u5176\u4ed6IDE\u7684\u5feb\u6377\u952e\uff0c\u800c\u662f\u4f7f\u7528Android Studio\u7684\u5feb\u6377\u952e\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506155314661\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506155314661\"  alt=\"\u5feb\u6377\u952e\u8bbe\u7f6e\" class=\"aligncenter\" \/><\/a><br \/>\n<strong>\u4fee\u6539\u9ed8\u8ba4\u5feb\u6377\u952e<\/strong><\/p>\n<p>\u5f53\u4f60\u60f3\u4fee\u6539\u67d0\u4e00\u4e2a\u9ed8\u8ba4\u5feb\u6377\u952e\u914d\u7f6e\u65f6\uff0c\u4f60\u9700\u8981\u70b9\u51fb copy \u521b\u5efa\u4e00\u4e2a\u81ea\u5df1\u7684\u5feb\u6377\u952e\uff0c\u5e76\u5728\u4e0a\u9762\u8fdb\u884c\u8bbe\u7f6e\u3002<br \/>\nMain menu \u2013> Code \u2013> Completion \u2013> Basic \uff0c\u4fee\u6539\u4e3a\u4f60\u60f3\u66ff\u6362\u7684\u5feb\u6377\u952e\u7ec4\u5408\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506155452054\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506155452054\"   alt=\"\u4fee\u6539\u9ed8\u8ba4\u5feb\u6377\u952e\" class=\"aligncenter\" \/><\/a><\/p>\n<p><strong>\u8bbe\u7f6eright margin\u8b66\u793a\u7ebf<\/strong><\/p>\n<p>\u8001\u53f8\u673a\u7a0b\u5e8f\u5458\u901a\u5e38\u559c\u6b22\u7ed9\u4ee3\u7801\u7f16\u8f91\u57df\u8bbe\u7f6e\u4e00\u6761\u7ad6\u7ebf\uff0c\u8fd9\u6761\u7ebf\u662f\u7528\u4ee5\u63d0\u9192\u7a0b\u5e8f\u5458\uff0c\u4e00\u884c\u7684\u4ee3\u7801\u957f\u5ea6\u6700\u597d\u4e0d\u8981\u8d85\u8fc7\u8fd9\u6761\u7ebf\uff0c\u53ef\u4ee5\u5982\u4e0b\u8bbe\u7f6e\uff1a<br \/>\nSettings \u2013> Editor \u2013> Appearance \uff0c\u52fe\u9009 Show right margin (configured in Code Style options) \u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506155806386\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506155806386\"   alt=\"\u8bbe\u7f6eright margin\u8b66\u793a\u7ebf\" class=\"aligncenter\" \/><\/a><\/p>\n<p><strong>\u663e\u793a\u884c\u53f7<\/strong><br \/>\n\u4e0d\u591a\u8bf4\uff0c\u8fd8\u662f\u4e0a\u9762\u7684\u9875\u9762\uff1aSettings \u2013> Editor \u2013> Appearance \uff0c\u52fe\u9009 Show line numbers \u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506155806386\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506155806386\"  alt=\"\u663e\u793a\u884c\u53f7\" class=\"aligncenter\" \/><\/a><\/p>\n<p><strong>\u663e\u793a\u7f29\u8fdb\u7a7a\u683c<\/strong><\/p>\n<p>Settings \u2013> Editor \u2013> Appearance \uff0c\u52fe\u9009 Show whitespaces \u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506155806386\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506155806386\"   alt=\"\u663e\u793a\u7f29\u8fdb\u7a7a\u683c\" class=\"aligncenter\" \/><\/a><\/p>\n<p><strong>\u7981\u7528\u62fc\u5199\u68c0\u67e5<\/strong><br \/>\n\u76ee\u7684\u4f60\u61c2\u7684Settings \u2013> Inspections \u2013> Spelling \uff0c\u53d6\u6d88\u52fe\u9009\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506160229762\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506160229762\"  alt=\"\u7981\u7528\u62fc\u5199\u68c0\u67e5\" class=\"aligncenter\" \/><\/a><\/p>\n<p><strong>\u63d2\u4ef6\u8bbe\u7f6e<\/strong><\/p>\n<p>Eclipse\u4e00\u6837\uff0cAndroidStudio\u5bf9\u63d2\u4ef6\u652f\u6301\u4e5f\u975e\u5e38\u5b8c\u5584\uff0cAndroid Studio\u9ed8\u8ba4\u81ea\u5e26\u4e86\u4e00\u4e9b\u63d2\u4ef6\uff0c\u5982\u679c\u4f60\u4e0d\u4f7f\u7528\u67d0\u4e9b\u63d2\u4ef6\uff0c\u4f60\u53ef\u4ee5\u7981\u7528\u5b83\u3002Settings \u2013> Plugins \uff0c\u53f3\u4fa7\u4f1a\u663e\u793a\u51fa\u5df2\u7ecf\u5b89\u88c5\u7684\u63d2\u4ef6\u5217\u8868\uff0c\u53d6\u6d88\u52fe\u9009\u5373\u53ef\u7981\u7528\u63d2\u4ef6\u3002<\/p>\n<p><a href=\"http:\/\/img.blog.csdn.net\/20160506160359310\"><img decoding=\"async\" src=\"http:\/\/img.blog.csdn.net\/20160506160359310\"   alt=\"\u63d2\u4ef6\u8bbe\u7f6e\" class=\"aligncenter\" \/><\/a><\/p>\n<p>\u4e3a\u4e86\u63d0\u5347AndroidStudio\u7684\u6027\u80fd\uff0c\u6211\u4eec\u901a\u5e38\u4f1a\u7981\u7528\u4e0b\u5217\u63d2\u4ef6\u3002<\/p>\n<p>1.CVS Integration \uff1a CVS \u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0c\u7528\u4e0d\u5230<br \/>\n2.Google Cloud Tools For Android Studio \uff1a Google\u4e91 \u7528\u4e0d\u5230<br \/>\n3.Google Login \uff1a Google\u8d26\u53f7\u767b\u5f55\uff0c`Google Cloud Tools For Android Studio** \u63d2\u4ef6\u9700\u7528\uff0c\u7528\u4e0d\u5230<br \/>\n4.hg4idea \uff1a Mercurial \u7248\u672c\u63a7\u5236\u7cfb\u7edf\uff0c\u7528\u4e0d\u5230<\/p>\n<p>\u8fd9\u91cc\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5982\u679c\u7981\u7528\u4e862\u548c3\u9009\u9879\uff0c\u5c06\u5bfc\u81f4\u4e0d\u80fd\u4f7f\u7528\u5bfc\u5165\u5b98\u65b9\u6837\u4f8b\u7684\u529f\u80fd\uff08 import sample \uff09\u3002<\/p>\n<p>..<\/p>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u4f7f\u7528AndroidStudio\u5f00\u53d1APP\u5df2\u6709\u534a\u5e74\u591a\u7684\u65f6\u95f4\u4e86\uff0c\u4ece\u521a\u5f00\u59cb\u7684\u4e0d\u4e60\u60ef\u5230\u6162\u6162\u9002\u5e94\u518d\u5230\u9010\u6e10\u559c\u6b22\u4e0aAndroidStudio\uff0c\u4e2d\u95f4\u7684\u8fc7\u7a0b\u9887\u6709\u4e00\u756a\u66f2\u6298\uff0c\u73b0\u5728\u628a\u81ea\u5df1\u5bf9AndroidStudio\u7684\u914d\u7f6e\u5fc3\u5f97\u603b\u7ed3\u4e0b\u6765\uff0c\u5206\u4eab\u7ed9\u5927\u5bb6\uff0c\u5e0c\u671b\u7ed9\u540e\u6765\u4eba\u5e26\u6765\u65b9\u4fbf\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[8],"tags":[93],"class_list":["post-419","post","type-post","status-publish","format-standard","hentry","category-the-development-of-communication-technology","tag-androidstudio"],"post_thumbnail_image":"http:\/\/img.blog.csdn.net\/20160506153722062","content_first_image":"http:\/\/img.blog.csdn.net\/20160506153722062","post_medium_image_300":"http:\/\/img.blog.csdn.net\/20160506153722062","post_thumbnail_image_624":"http:\/\/img.blog.csdn.net\/20160506153722062","post_frist_image":"http:\/\/img.blog.csdn.net\/20160506153722062","post_medium_image":"http:\/\/img.blog.csdn.net\/20160506153722062","post_large_image":"http:\/\/img.blog.csdn.net\/20160506153722062","post_full_image":"http:\/\/img.blog.csdn.net\/20160506153722062","post_all_images":[{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506153722062","id":"image0"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506153743798","id":"image1"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506153753376","id":"image2"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506154506603","id":"image3"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506154714872","id":"image4"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506154830146","id":"image5"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506155031033","id":"image6"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506155204272","id":"image7"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506155314661","id":"image8"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506155452054","id":"image9"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506155806386","id":"image10"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506155806386","id":"image11"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506155806386","id":"image12"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506160229762","id":"image13"},{"imagesurl":"http:\/\/img.blog.csdn.net\/20160506160359310","id":"image14"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":5,"total_comments":1,"category_name":"\u5f00\u53d1\u6280\u672f\u4ea4\u6d41","post_date":"2016-05-07","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"http:\/\/images.jiandaima.com\/blog\/wp-content\/uploads\/2020\/02\/img_5e44112722964.png","avatarurls":[],"related_posts":[],"pageviews":612,"next_post_id":422,"next_post_title":"\u6700\u5168\u9762\u7684AndroidStudio\u914d\u7f6e\u6307\u5357\u603b\u7ed3[2-2]","previous_post_id":388,"previous_post_title":"\u8d85\u5168\uff01iOS \u9762\u8bd5\u9898\u6c47\u603b(62-116)","_links":{"self":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/comments?post=419"}],"version-history":[{"count":0,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/posts\/419\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/media?parent=419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/categories?post=419"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jiandaima.com\/blog\/wp-json\/wp\/v2\/tags?post=419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}