{"id":175006,"date":"2020-04-05T08:12:45","date_gmt":"2020-04-05T00:12:45","guid":{"rendered":"https:\/\/gulass.cn\/?p=175006"},"modified":"2020-03-23T09:15:03","modified_gmt":"2020-03-23T01:15:03","slug":"android-development-environment","status":"publish","type":"post","link":"https:\/\/gulass.cn\/android-development-environment.html","title":{"rendered":"Android \u5f00\u53d1\u73af\u5883\u642d\u5efa"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5b89\u5353\uff08Android\uff09\u662f\u4e00\u79cd\u57fa\u4e8eLinux\u7684\u81ea\u7531\u53ca\u5f00\u653e\u6e90\u4ee3\u7801\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u4e3b\u8981\u4f7f\u7528\u4e8e\u79fb\u52a8\u8bbe\u5907\uff0c\u5982\u667a\u80fd\u624b\u673a\u548c\u5e73\u677f\u7535\u8111\uff0c\u7531Google\u516c\u53f8\u548c\u5f00\u653e\u624b\u673a\u8054\u76df\u9886\u5bfc\u53ca\u5f00\u53d1\u3002\u672c\u6587\u4e3b\u8981\u4ecb\u7ecdAndroid\u73af\u5883\u642d\u5efa\u7684\u65b9\u6cd5<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

\u5b89\u88c5 Java \u5f00\u53d1\u5de5\u5177\u5305(JDK)<\/strong><\/div>\n

\u4f60\u53ef\u4ee5\u4ece Oracle \u7684 Java \u7f51\u7ad9\uff1ahttps:\/\/www.oracle.com\/java\/technologies\/javase-downloads.html\u4e0b\u8f7d\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684 Java \u3002\u5728\u4e0b\u8f7d\u7684\u6587\u4ef6\u4e2d\u627e\u5230\u5b89\u88c5JDK\u7684\u8bf4\u660e\u6587\u6863\uff0c\u6309\u7167\u7ed9\u5b9a\u7684\u8bf4\u660e\u6765\u5b89\u88c5\u548c\u914d\u7f6e\u8bbe\u7f6e\u3002\u6700\u540e\u8bbe\u7f6e PATH \u548c JAVA_HOME \u73af\u5883\u53d8\u91cf\u6765\u5f15\u7528\u5305\u542b javac \u548c java\u7684\u76ee\u5f55\uff0c\u901a\u5e38\u5206\u522b\u4e3a java_install_dir\/bin \u548c java_install_dir\u3002<\/p>\n

\u5982\u679c\u8fd0\u884c\u7684\u662f Windows\uff0c\u628a JDK \u5b89\u88c5\u5728 C:\\jdk1.6.0_15\uff0c\u5728 C:\\autoexec.bat \u6587\u4ef6\u6dfb\u52a0\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n

set PATH=C:\\jdk1.6.0_15\\bin;%PATH%\r\nset JAVA_HOME=C:\\jdk1.6.0_15<\/pre>\n

\u4f60\u4e5f\u53ef\u4ee5\u53f3\u952e\u5355\u51fb\"\u6211\u7684\u7535\u8111\"\uff0c\u9009\u62e9\"\u5c5e\u6027\"=\u300b\"\u9ad8\u7ea7\"=\u300b\"\u73af\u5883\u53d8\u91cf\"\uff0c\u7136\u540e\u901a\u8fc7\u6309\u4e0b\"\u786e\u5b9a\"\u6309\u94ae\u6765\u66f4\u65b0 PATH \u503c\u3002<\/p>\n

\u5728 Linux \u4e0a\uff0c\u5982\u679c SDK \u5b89\u88c5\u5728 \/usr\/local\/jdk1.6.0_15 \u4e0b\uff0c\u5e76\u4e14\u4f7f\u7528\u7684\u662f C shell\uff0c\u628a\u4e0b\u9762\u7684\u4ee3\u7801\u5230\u5199\u5165 .cshrc \u6587\u4ef6\u3002<\/p>\n

setenv PATH \/usr\/local\/jdk1.6.0_15\/bin:$PATH\r\nsetenv JAVA_HOME \/usr\/local\/jdk1.6.0_15<\/pre>\n

\u5982\u679c\u4f60\u4f7f\u7528\u96c6\u6210\u5f00\u53d1\u73af\u5883 Eclipse\uff0c\u90a3\u4e48\u5b83\u81ea\u52a8\u77e5\u9053 Java \u5df2\u5b89\u88c5\u5728\u54ea\u91cc\u3002<\/p>\n

\u5b89\u88c5Android IDE<\/strong><\/div>\n

\u6709\u8bb8\u591a\u590d\u6742\u800c\u7cbe\u5de7\u7684\u6280\u672f\u6765\u5f00\u53d1 Android \u5e94\u7528\u7a0b\u5e8f\u3002\u76ee\u524d\u4e3b\u8981\u4f7f\u7528\u4e14\u76f8\u4f3c\u7684\u6280\u672f\u4e3b\u8981\u662f\u4ee5\u4e0b\u4e24\u79cd\uff1a
\n1.Android Studio
\n2.Eclipse ID
\n\u8fd9\u91cc\u53ea\u4ecb\u7ecdAndroid Studio\u5b89\u88c5\u65b9\u5f0f\uff1a<\/p>\n

\u7cfb\u7edf\u8981\u6c42<\/strong><\/span><\/div>\n

\u53ef\u4ee5\u5728\u4ee5\u4e0b\u7684\u64cd\u4f5c\u7cfb\u7edf\u5f00\u59cb Android \u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\uff1a<\/p>\n

1.Microsoft\u00ae Windows\u00ae 8\/7\/Vista\/2003 (32 or 64\u4f4d)\u3002
\n2.Mac\u00ae OS X\u00ae 10.8.5 \u6216\u8005\u66f4\u9ad8
\n3.GNOME or KDE \u684c\u9762
\n\u6240\u6709\u5f00\u53d1 Android \u5e94\u7528\u7a0b\u5e8f\u9700\u8981\u7684\u5de5\u5177\u90fd\u662f\u5f00\u6e90\u7684\uff0c\u5e76\u4e14\u53ef\u4ee5\u4ece\u4e92\u8054\u7f51\u4e0a\u4e0b\u8f7d\u3002\u4ee5\u4e0b\u662f\u5f00\u59cb Android \u5e94\u7528\u7a0b\u5e8f\u7f16\u7a0b\u4e4b\u524d\u9700\u8981\u7684\u8f6f\u4ef6\u5217\u8868\uff1a<\/p>\n

1.Java JDK5 \u53ca\u4ee5\u540e\u7248\u672c
\n2.Java \u8fd0\u884c\u65f6\u73af\u58836
\n3.Android Studio<\/p>\n

\u5b89\u88c5 Android Studio<\/strong><\/span><\/div>\n

Android Studio \u662f\u5f00\u53d1 Android \u5e94\u7528\u7a0b\u5e8f\u7684\u5b98\u65b9 IDE\uff0c\u57fa\u4e8e Intellij IDEA\u3002\u4f60\u53ef\u4ee5\u4ece\u5b98\u7f51Android Studio\u4e0b\u8f7d\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684 Android Studio\u3002\u5982\u679c\u4f60\u662f\u5728 Windows \u4e0a\u5b89\u88c5 Android Studio \u7684\u65b0\u4eba\uff0c\u627e\u5230\u540d\u4e3a android-studio-bundle-135.17407740-windows.exe \u6587\u4ef6\u4e0b\u8f7d\uff0c\u5e76\u901a\u8fc7 Android Studio \u5411\u5bfc\u6307\u5357\u8fd0\u884c\u3002
\n\u4ecehttp:\/\/developer.android.com\/sdk\/index.html\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684Android Studio\uff0c\u9ed8\u8ba4\u5b89\u88c5\u5373\u53ef\u3002<\/p>\n

\u521b\u5efaAndroid\u865a\u62df\u8bbe\u5907<\/strong><\/span><\/div>\n

\u4e3a\u4e86\u6d4b\u8bd5 Android \u5e94\u7528\u7a0b\u5e8f\u9700\u8981Android\u865a\u62df\u8bbe\u5907\u3002\u56e0\u6b64\u5728\u5f00\u59cb\u5199\u4ee3\u7801\u4e4b\u524d\uff0c\u6765\u521b\u5efa\u4e00\u4e2a Android \u865a\u62df\u8bbe\u5907\u3002\u70b9\u51fb\u4e0b\u56fe\u4e2d\u7684 AVD Manager \u56fe\u6807\u6765\u542f\u52a8 Android AVD \u7ba1\u7406\u5668\u3002
\n\"\"<\/p>\n","protected":false},"excerpt":{"rendered":"

\u4f60\u53ef\u4ee5\u4ece Oracle \u7684 Java \u7f51\u7ad9\uff1ahttps:\/\/www.oracle.com\/java\/techn […]<\/p>\n","protected":false},"author":1481,"featured_media":175009,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-175006","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/175006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/1481"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=175006"}],"version-history":[{"count":2,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/175006\/revisions"}],"predecessor-version":[{"id":175012,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/175006\/revisions\/175012"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/175009"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=175006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=175006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=175006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}