{"id":71245,"date":"2026-02-03T13:16:39","date_gmt":"2026-02-03T05:16:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/71245.html"},"modified":"2026-02-03T13:16:39","modified_gmt":"2026-02-03T05:16:39","slug":"android-sdk-%e5%ae%89%e8%a3%85%e6%8c%87%e5%8d%97%ef%bc%88macos-%e5%92%8c-windows%ef%bc%89","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/71245.html","title":{"rendered":"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09"},"content":{"rendered":"<h2>Android SDK \u5b89\u88c5\u6307\u5357&#xff08;MacOS \u548c Windows&#xff09;<\/h2>\n<p>\u4f60\u9700\u8981\u5728\u5bf9\u5e94\u5f00\u53d1\u73af\u5883&#xff08;Windows \u6216 macOS 13.2.1&#xff09;\u4e0a\u5b89\u88c5 Android SDK&#xff0c;\u6838\u5fc3\u9700\u6c42\u662f\u5b8c\u6210\u73af\u5883\u914d\u7f6e\u3001\u9002\u914d\u8de8\u5e73\u53f0\/App\u5f00\u53d1\u3001\u540e\u7eed\u80fd\u6b63\u5e38\u7f16\u8bd1Android\u9879\u76ee\u3002Android SDK \u6709\u4e24\u79cd\u5b89\u88c5\u65b9\u5f0f&#xff1a;\u300c\u901a\u8fc7Android Studio\u81ea\u52a8\u5b89\u88c5&#xff08;\u63a8\u8350&#xff0c;\u65b0\u624b\u53cb\u597d&#xff0c;\u65e0\u9700\u624b\u52a8\u914d\u7f6e&#xff09;\u300d\u548c\u300c\u624b\u52a8\u4e0b\u8f7d\u5b89\u88c5&#xff08;\u9002\u5408\u6709\u7ecf\u9a8c\u5f00\u53d1\u8005&#xff0c;\u7075\u6d3b\u5b9a\u5236&#xff09;\u300d&#xff0c;\u4e0b\u9762\u8be6\u7ec6\u8bb2\u89e3\u6b65\u9aa4&#xff0c;\u517c\u987e\u4f60\u7684 macOS 13.2.1 \u548c Windows \u73af\u5883\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001 \u63a8\u8350\u65b9\u6848&#xff1a;\u901a\u8fc7 Android Studio \u81ea\u52a8\u5b89\u88c5&#xff08;\u4f18\u5148\u9009\u62e9&#xff09;<\/h3>\n<p>Android Studio \u4f1a\u81ea\u52a8\u7ba1\u7406 Android SDK \u7684\u4e0b\u8f7d\u3001\u66f4\u65b0\u548c\u73af\u5883\u53d8\u91cf\u914d\u7f6e&#xff0c;\u8fd8\u80fd\u9002\u914d\u540e\u7eed\u7684 Gradle\u3001\u6a21\u62df\u5668\u7b49\u5de5\u5177&#xff0c;\u662f\u65b0\u624b\u548c\u56e2\u961f\u5f00\u53d1\u7684\u6700\u4f18\u9009\u62e9\u3002<\/p>\n<h4>\u6b65\u9aa4 1&#xff1a;\u4e0b\u8f7d\u5e76\u5b89\u88c5 Android Studio<\/h4>\n<li>\n<p>\u8bbf\u95ee Android Studio \u5b98\u65b9\u4e0b\u8f7d\u9875&#xff0c;\u4e0b\u8f7d\u5bf9\u5e94\u7cfb\u7edf\u7248\u672c&#xff08;macOS \u6216 Windows&#xff09;\u3002<\/p>\n<ul>\n<li>\n<p>macOS 13.2.1&#xff1a;\u4e0b\u8f7d Mac with Apple Chip&#xff08;M1\/M2\/M3&#xff09;\u6216 Mac with Intel Chip \u7248\u672c\u3002<\/p>\n<\/li>\n<li>\n<p>Windows&#xff1a;\u4e0b\u8f7d Windows (64-bit) \u7248\u672c&#xff08;\u9700\u63d0\u524d\u5b89\u88c5 .NET Framework 4.8 \u548c Visual Studio Build Tools&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u5b89\u88c5\u6d41\u7a0b&#xff08;\u4e0b\u4e00\u6b65\u5f0f\u64cd\u4f5c&#xff0c;\u65e0\u7279\u6b8a\u914d\u7f6e&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\n<p>macOS&#xff1a;\u53cc\u51fb .dmg \u6587\u4ef6&#xff0c;\u5c06 Android Studio \u62d6\u62fd\u5230\u300c\u5e94\u7528\u7a0b\u5e8f\u300d\u6587\u4ef6\u5939&#xff0c;\u542f\u52a8\u540e\u6309\u63d0\u793a\u5b8c\u6210\u521d\u59cb\u5316\u3002<\/p>\n<\/li>\n<li>\n<p>Windows&#xff1a;\u53cc\u51fb .exe \u6587\u4ef6&#xff0c;\u52fe\u9009\u300cAndroid Studio\u300d\u548c\u300cAndroid Virtual Device\u300d&#xff08;\u6a21\u62df\u5668&#xff0c;\u53ef\u9009&#xff09;&#xff0c;\u4e00\u8def\u4e0b\u4e00\u6b65\u5b8c\u6210\u5b89\u88c5\u3002<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<h4>\u6b65\u9aa4 2&#xff1a;\u521d\u59cb\u5316 Android Studio \u5e76\u5b89\u88c5 SDK<\/h4>\n<li>\n<p>\u9996\u6b21\u542f\u52a8 Android Studio&#xff0c;\u4f1a\u5f39\u51fa\u300cAndroid Studio Setup Wizard\u300d&#xff08;\u8bbe\u7f6e\u5411\u5bfc&#xff09;&#xff0c;\u9009\u62e9\u300cStandard\u300d&#xff08;\u6807\u51c6\u5b89\u88c5&#xff0c;\u63a8\u8350\u65b0\u624b&#xff09;&#xff0c;\u70b9\u51fb\u300cNext\u300d\u3002<\/p>\n<\/li>\n<li>\n<p>\u9009\u62e9\u754c\u9762\u4e3b\u9898&#xff08;\u9ed8\u8ba4 Darcula \u6df1\u8272\u4e3b\u9898&#xff0c;\u53ef\u6309\u9700\u5207\u6362&#xff09;&#xff0c;\u70b9\u51fb\u300cNext\u300d\u3002<\/p>\n<\/li>\n<li>\n<p>\u786e\u8ba4 SDK \u5b89\u88c5\u8def\u5f84&#xff08;\u9ed8\u8ba4\u8def\u5f84\u65e0\u9700\u4fee\u6539&#xff0c;\u907f\u514d\u4e2d\u6587\/\u7a7a\u683c\u8def\u5f84&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\n<p>macOS&#xff1a;\/Users\/\u4f60\u7684\u7528\u6237\u540d\/Library\/Android\/sdk<\/p>\n<\/li>\n<li>\n<p>Windows&#xff1a;C:\\\\Users\\\\\u4f60\u7684\u7528\u6237\u540d\\\\AppData\\\\Local\\\\Android\\\\Sdk<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u70b9\u51fb\u300cNext\u300d&#xff0c;Android Studio \u4f1a\u81ea\u52a8\u4e0b\u8f7d\u5e76\u5b89\u88c5&#xff1a;<\/p>\n<ul>\n<li>\n<p>Android SDK \u6838\u5fc3\u5305&#xff08;\u6700\u65b0\u7a33\u5b9a\u7248&#xff0c;\u5982 Android 14 (API 34)&#xff09;<\/p>\n<\/li>\n<li>\n<p>SDK Tools&#xff08;\u5982 Gradle\u3001Build Tools \u7b49&#xff09;<\/p>\n<\/li>\n<li>\n<p>\u53ef\u9009&#xff1a;Android \u6a21\u62df\u5668&#xff08;\u82e5\u9700\u672c\u5730\u8c03\u8bd5 App&#xff09;<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u7b49\u5f85\u4e0b\u8f7d\u5b8c\u6210&#xff08;\u7f51\u7edc\u4e0d\u4f73\u53ef\u914d\u7f6e\u56fd\u5185\u955c\u50cf&#xff0c;\u89c1\u4e0b\u6587\u300c\u4f18\u5316\u6280\u5de7\u300d&#xff09;&#xff0c;\u70b9\u51fb\u300cFinish\u300d\u5b8c\u6210\u521d\u59cb\u5316\u3002<\/p>\n<\/li>\n<h4>\u6b65\u9aa4 3&#xff1a;\u9a8c\u8bc1 SDK \u5b89\u88c5\u6210\u529f<\/h4>\n<li>\n<p>\u6253\u5f00 Android Studio&#xff0c;\u8fdb\u5165\u300cFile \u2192 Settings \u2192 Appearance &amp; Behavior \u2192 System Settings \u2192 Android SDK\u300d&#xff08;macOS \u4e3a\u300cAndroid Studio \u2192 Settings \u2192 Android SDK\u300d&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u5728\u300cSDK Platforms\u300d\u6807\u7b7e\u9875&#xff0c;\u53ef\u770b\u5230\u5df2\u5b89\u88c5\u7684 Android \u7248\u672c&#xff08;\u5982 API 34&#xff09;&#xff0c;\u52fe\u9009\u72b6\u6001\u4e3a\u300c\u5df2\u5b89\u88c5\u300d\u3002<\/p>\n<\/li>\n<li>\n<p>\u5728\u300cSDK Tools\u300d\u6807\u7b7e\u9875&#xff0c;\u53ef\u770b\u5230\u300cAndroid SDK Build-Tools\u300d\u300cAndroid SDK Platform-Tools\u300d\u300cGradle\u300d\u7b49\u5de5\u5177\u5df2\u5b89\u88c5&#xff0c;\u8bf4\u660e SDK \u5b89\u88c5\u5b8c\u6210\u3002<\/p>\n<\/li>\n<hr \/>\n<h3>\u4e8c\u3001 \u5907\u9009\u65b9\u6848&#xff1a;\u624b\u52a8\u4e0b\u8f7d\u5b89\u88c5 Android SDK&#xff08;\u65e0 Android Studio \u573a\u666f&#xff09;<\/h3>\n<p>\u82e5\u4f60\u4ec5\u9700 SDK \u65e0\u9700 Android Studio&#xff08;\u5982\u4ec5\u7528\u4e8e Flutter\/React Native \u8de8\u5e73\u53f0\u5f00\u53d1&#xff09;&#xff0c;\u53ef\u624b\u52a8\u4e0b\u8f7d\u5b89\u88c5&#xff0c;\u6838\u5fc3\u662f\u300c\u4e0b\u8f7d SDK \u5305 &#043; \u914d\u7f6e\u73af\u5883\u53d8\u91cf\u300d\u3002<\/p>\n<h4>\u6b65\u9aa4 1&#xff1a;\u4e0b\u8f7d Android SDK \u5de5\u5177\u5305<\/h4>\n<li>\n<p>\u8bbf\u95ee Android \u5f00\u53d1\u8005\u5b98\u7f51 SDK \u4e0b\u8f7d\u9875&#xff0c;\u4e0b\u6ed1\u5230\u300cCommand line tools only\u300d&#xff0c;\u4e0b\u8f7d\u5bf9\u5e94\u7cfb\u7edf\u7248\u672c\u7684\u547d\u4ee4\u884c\u5de5\u5177\u5305&#xff1a;<\/p>\n<ul>\n<li>\n<p>macOS&#xff1a;commandlinetools-mac-xxx_latest.zip<\/p>\n<\/li>\n<li>\n<p>Windows&#xff1a;commandlinetools-win-xxx_latest.zip<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u89e3\u538b\u4e0b\u8f7d\u7684\u538b\u7f29\u5305&#xff0c;\u521b\u5efa\u4e00\u4e2a\u4e13\u95e8\u5b58\u653e Android SDK \u7684\u76ee\u5f55&#xff08;\u907f\u514d\u4e2d\u6587\/\u7a7a\u683c\u8def\u5f84&#xff09;&#xff1a;<\/p>\n<ul>\n<li>\n<p>macOS&#xff1a;mkdir -p ~\/Android\/Sdk&#xff08;\u89e3\u538b\u5230 ~\/Android\/Sdk\/cmdline-tools\/ \u76ee\u5f55\u4e0b&#xff09;<\/p>\n<\/li>\n<li>\n<p>Windows&#xff1a;\u521b\u5efa C:\\\\Android\\\\Sdk&#xff0c;\u89e3\u538b\u5230 C:\\\\Android\\\\Sdk\\\\cmdline-tools\\\\ \u76ee\u5f55\u4e0b<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<h4>\u6b65\u9aa4 2&#xff1a;\u901a\u8fc7\u547d\u4ee4\u884c\u5b89\u88c5 SDK \u6838\u5fc3\u7ec4\u4ef6<\/h4>\n<li>\n<p>\u6253\u5f00\u7ec8\u7aef&#xff08;macOS&#xff09;\u6216\u547d\u4ee4\u63d0\u793a\u7b26&#xff08;Windows&#xff09;&#xff0c;\u8fdb\u5165 cmdline-tools \u7684 bin \u76ee\u5f55&#xff1a;<\/p>\n<ul>\n<li>\n<p>macOS&#xff1a;cd ~\/Android\/Sdk\/cmdline-tools\/latest\/bin<\/p>\n<\/li>\n<li>\n<p>Windows&#xff1a;cd C:\\\\Android\\\\Sdk\\\\cmdline-tools\\\\latest\\\\bin<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u6267\u884c\u547d\u4ee4\u67e5\u770b\u53ef\u5b89\u88c5\u7684 SDK \u7ec4\u4ef6&#xff1a;<\/p>\n<p># macOS\/Linux<br \/>\n.\/sdkmanager &#8211;list<\/p>\n<p># Windows<br \/>\nsdkmanager &#8211;list\n <\/li>\n<li>\n<p>\u5b89\u88c5\u6838\u5fc3 SDK \u7ec4\u4ef6&#xff08;\u5fc5\u987b\u5b89\u88c5&#xff1a;\u5e73\u53f0\u5de5\u5177\u3001\u6784\u5efa\u5de5\u5177\u3001\u6700\u65b0 Android \u5e73\u53f0&#xff09;&#xff1a;<\/p>\n<p># \u901a\u7528\u547d\u4ee4&#xff08;\u5b89\u88c5 API 34 \u6838\u5fc3\u7ec4\u4ef6&#xff0c;\u53ef\u66ff\u6362\u4e3a\u5176\u4ed6 API \u7248\u672c&#xff09;<br \/>\n# macOS\/Linux<br \/>\n.\/sdkmanager &#034;platforms;android-34&#034; &#034;platform-tools&#034; &#034;build-tools;34.0.0&#034;<\/p>\n<p># Windows<br \/>\nsdkmanager &#034;platforms;android-34&#034; &#034;platform-tools&#034; &#034;build-tools;34.0.0&#034;\n <\/li>\n<li>\n<p>\u7b49\u5f85\u4e0b\u8f7d\u5b8c\u6210&#xff08;\u9700\u540c\u610f\u8bb8\u53ef\u534f\u8bae&#xff0c;\u8f93\u5165 y \u786e\u8ba4&#xff09;&#xff0c;\u6838\u5fc3 SDK \u7ec4\u4ef6\u4f1a\u81ea\u52a8\u5b89\u88c5\u5230\u5bf9\u5e94\u76ee\u5f55\u3002<\/p>\n<\/li>\n<h4>\u6b65\u9aa4 3&#xff1a;\u914d\u7f6e\u73af\u5883\u53d8\u91cf&#xff08;\u5173\u952e&#xff0c;\u5426\u5219\u547d\u4ee4\u884c\u65e0\u6cd5\u8bc6\u522b SDK&#xff09;<\/h4>\n<h5>macOS 13.2.1 \u73af\u5883\u53d8\u91cf\u914d\u7f6e<\/h5>\n<li>\n<p>\u6253\u5f00\u7ec8\u7aef&#xff0c;\u7f16\u8f91 bash \u6216 zsh \u914d\u7f6e\u6587\u4ef6&#xff08;\u6839\u636e\u4f60\u7684\u7ec8\u7aef\u7c7b\u578b\u9009\u62e9&#xff09;&#xff1a;<\/p>\n<p># \u82e5\u4f7f\u7528 zsh&#xff08;macOS \u9ed8\u8ba4\u7ec8\u7aef&#xff09;<br \/>\nopen ~\/.zshrc<\/p>\n<p># \u82e5\u4f7f\u7528 bash<br \/>\nopen ~\/.bash_profile\n <\/li>\n<li>\n<p>\u5728\u914d\u7f6e\u6587\u4ef6\u672b\u5c3e\u8ffd\u52a0\u4ee5\u4e0b\u5185\u5bb9&#xff08;\u66ff\u6362\u4e3a\u4f60\u7684 SDK \u5b9e\u9645\u8def\u5f84&#xff09;&#xff1a;<\/p>\n<p># Android SDK \u6839\u76ee\u5f55<br \/>\nexport ANDROID_HOME&#061;~\/Android\/Sdk<br \/>\n# platform-tools \u76ee\u5f55&#xff08;\u5305\u542b adb\u3001fastboot \u7b49\u5de5\u5177&#xff09;<br \/>\nexport PATH&#061;$PATH:$ANDROID_HOME\/platform-tools<br \/>\n# cmdline-tools bin \u76ee\u5f55<br \/>\nexport PATH&#061;$PATH:$ANDROID_HOME\/cmdline-tools\/latest\/bin<br \/>\n# build-tools \u76ee\u5f55<br \/>\nexport PATH&#061;$PATH:$ANDROID_HOME\/build-tools\/34.0.0\n <\/li>\n<li>\n<p>\u4fdd\u5b58\u6587\u4ef6&#xff0c;\u6267\u884c\u547d\u4ee4\u4f7f\u914d\u7f6e\u751f\u6548&#xff1a;<\/p>\n<p># zsh \u7ec8\u7aef<br \/>\nsource ~\/.zshrc<\/p>\n<p># bash \u7ec8\u7aef<br \/>\nsource ~\/.bash_profile\n <\/li>\n<h5>Windows \u73af\u5883\u53d8\u91cf\u914d\u7f6e<\/h5>\n<li>\n<p>\u53f3\u952e\u300c\u6b64\u7535\u8111\u300d\u2192\u300c\u5c5e\u6027\u300d\u2192\u300c\u9ad8\u7ea7\u7cfb\u7edf\u8bbe\u7f6e\u300d\u2192\u300c\u73af\u5883\u53d8\u91cf\u300d\u3002<\/p>\n<\/li>\n<li>\n<p>\u5728\u300c\u7528\u6237\u53d8\u91cf\u300d\u4e2d&#xff0c;\u70b9\u51fb\u300c\u65b0\u5efa\u300d&#xff0c;\u521b\u5efa\u53d8\u91cf ANDROID_HOME&#xff0c;\u503c\u4e3a SDK \u6839\u76ee\u5f55&#xff08;\u5982 C:\\\\Android\\\\Sdk&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u7f16\u8f91\u300c\u7528\u6237\u53d8\u91cf\u300d\u4e2d\u7684 Path&#xff0c;\u6dfb\u52a0\u4ee5\u4e0b 3 \u4e2a\u8def\u5f84&#xff1a;<\/p>\n<ul>\n<li>\n<p>%ANDROID_HOME%\\\\platform-tools<\/p>\n<\/li>\n<li>\n<p>%ANDROID_HOME%\\\\cmdline-tools\\\\latest\\\\bin<\/p>\n<\/li>\n<li>\n<p>%ANDROID_HOME%\\\\build-tools\\\\34.0.0<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p>\u70b9\u51fb\u300c\u786e\u5b9a\u300d\u4fdd\u5b58\u6240\u6709\u914d\u7f6e&#xff0c;\u5173\u95ed\u5e76\u91cd\u65b0\u6253\u5f00\u547d\u4ee4\u63d0\u793a\u7b26\u3002<\/p>\n<\/li>\n<h4>\u6b65\u9aa4 4&#xff1a;\u9a8c\u8bc1\u624b\u52a8\u5b89\u88c5\u6210\u529f<\/h4>\n<p>\u6253\u5f00\u7ec8\u7aef\/\u547d\u4ee4\u63d0\u793a\u7b26&#xff0c;\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4&#xff0c;\u82e5\u80fd\u8f93\u51fa\u7248\u672c\u4fe1\u606f&#xff0c;\u8bf4\u660e\u5b89\u88c5\u5e76\u914d\u7f6e\u6210\u529f&#xff1a;<\/p>\n<p># \u9a8c\u8bc1 adb \u5de5\u5177&#xff08;\u5e73\u53f0\u5de5\u5177&#xff09;<br \/>\nadb &#8211;version<\/p>\n<p># \u9a8c\u8bc1 sdkmanager \u5de5\u5177&#xff08;\u547d\u4ee4\u884c\u5de5\u5177&#xff09;<br \/>\nsdkmanager &#8211;version<\/p>\n<hr \/>\n<h3>\u4e09\u3001 \u5173\u952e\u4f18\u5316\u6280\u5de7&#xff08;\u907f\u5751&#043;\u63d0\u901f&#xff09;<\/h3>\n<li>\u914d\u7f6e\u56fd\u5185\u955c\u50cf&#xff08;\u89e3\u51b3\u4e0b\u8f7d\u7f13\u6162&#xff09;<\/li>\n<p>\u7531\u4e8e Android SDK \u8d44\u6e90\u6258\u7ba1\u5728\u6d77\u5916&#xff0c;\u56fd\u5185\u4e0b\u8f7d\u7f13\u6162&#xff0c;\u53ef\u914d\u7f6e\u963f\u91cc\u4e91\u955c\u50cf&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6253\u5f00 Android Studio \u2192\u300cSettings \u2192 System Settings \u2192 Android SDK \u2192 SDK Update Sites\u300d\u3002<\/p>\n<\/li>\n<li>\n<p>\u70b9\u51fb\u300cAdd\u300d&#xff0c;\u6dfb\u52a0\u4ee5\u4e0b\u955c\u50cf\u5730\u5740&#xff0c;\u52fe\u9009\u542f\u7528&#xff0c;\u53d6\u6d88\u9ed8\u8ba4\u5b98\u65b9\u5730\u5740&#xff1a;<\/p>\n<p>\u5e73\u53f0\u955c\u50cf&#xff1a;https:\/\/mirrors.aliyun.com\/android\/repository\/sdk-tools\/latest\/<br \/>\n\u901a\u7528\u955c\u50cf&#xff1a;https:\/\/mirrors.aliyun.com\/android\/repository\/\n <\/li>\n<li>\n<p>\u624b\u52a8\u5b89\u88c5\u65f6&#xff0c;\u53ef\u901a\u8fc7 sdkmanager \u6307\u5b9a\u955c\u50cf&#xff1a;<\/p>\n<p>sdkmanager &#8211;sdk_root&#061;~\/Android\/Sdk &#8211;repository&#061;https:\/\/mirrors.aliyun.com\/android\/repository\/ &#034;platforms;android-34&#034;\n <\/li>\n<\/ul>\n<li>\u907f\u514d\u4e2d\u6587\/\u7a7a\u683c\u8def\u5f84<\/li>\n<p>SDK \u5b89\u88c5\u76ee\u5f55\u548c\u9879\u76ee\u76ee\u5f55\u5747\u4e0d\u53ef\u5305\u542b\u4e2d\u6587\u3001\u7a7a\u683c\u6216\u7279\u6b8a\u5b57\u7b26&#xff0c;\u5426\u5219\u4f1a\u5bfc\u81f4 Gradle \u7f16\u8bd1\u5931\u8d25\u3001adb \u65e0\u6cd5\u8bc6\u522b\u8bbe\u5907\u7b49\u95ee\u9898\u3002<\/p>\n<li>\u5b89\u88c5\u5bf9\u5e94\u7248\u672c\u7684 Build Tools<\/li>\n<p>\u4e0d\u540c Android \u9879\u76ee\u5bf9 Build Tools \u7248\u672c\u6709\u8981\u6c42&#xff0c;\u53ef\u5728 Android Studio \u4e2d\u6309\u9700\u5b89\u88c5&#xff08;\u300cSDK Tools \u2192 \u52fe\u9009\u5bf9\u5e94 Build Tools \u7248\u672c\u300d&#xff09;\u3002<\/p>\n<li>\u66f4\u65b0 SDK \u7ec4\u4ef6<\/li>\n<p>\u5b9a\u671f\u901a\u8fc7 Android Studio \u6216 sdkmanager &#8211;update \u547d\u4ee4\u66f4\u65b0 SDK \u7ec4\u4ef6&#xff0c;\u4fee\u590d\u5df2\u77e5 Bug&#xff0c;\u63d0\u5347\u517c\u5bb9\u6027\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001 \u5e38\u89c1\u95ee\u9898\u6392\u67e5<\/h3>\n<li>\n<p>adb \u547d\u4ee4\u672a\u627e\u5230&#xff1a;\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u9519\u8bef&#xff0c;\u91cd\u65b0\u68c0\u67e5 ANDROID_HOME \u548c Path \u8def\u5f84\u662f\u5426\u6b63\u786e&#xff0c;\u91cd\u542f\u7ec8\u7aef\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e0b\u8f7d\u5931\u8d25\/\u8d85\u65f6&#xff1a;\u7f51\u7edc\u95ee\u9898&#xff0c;\u914d\u7f6e\u56fd\u5185\u955c\u50cf&#xff0c;\u6216\u5207\u6362\u7a33\u5b9a\u7f51\u7edc&#xff08;\u5982\u624b\u673a\u70ed\u70b9&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u6743\u9650\u4e0d\u8db3&#xff08;macOS&#xff09;&#xff1a;\u6267\u884c chmod &#043;x \u8d4b\u4e88\u5de5\u5177\u6267\u884c\u6743\u9650&#xff0c;\u5982 chmod &#043;x ~\/Android\/Sdk\/platform-tools\/adb\u3002<\/p>\n<\/li>\n<li>\n<p>Windows \u7f3a\u5c11 .NET Framework&#xff1a;\u4e0b\u8f7d\u5e76\u5b89\u88c5 .NET Framework 4.8&#xff0c;\u91cd\u542f\u7535\u8111\u540e\u91cd\u65b0\u5b89\u88c5\u3002<\/p>\n<\/li>\n<hr \/>\n<h4>\u603b\u7ed3<\/h4>\n<li>\n<p>\u65b0\u624b\u4f18\u5148\u9009\u62e9Android Studio \u81ea\u52a8\u5b89\u88c5&#xff0c;\u65e0\u9700\u624b\u52a8\u914d\u7f6e&#xff0c;\u9ad8\u6548\u907f\u5751&#xff0c;\u9002\u914d\u540e\u7eed\u8de8\u5e73\u53f0\u5f00\u53d1&#xff08;Flutter\/React Native&#xff09;\u3002<\/p>\n<\/li>\n<li>\n<p>\u65e0 Android Studio \u9700\u6c42\u65f6&#xff0c;\u53ef\u9009\u62e9\u624b\u52a8\u4e0b\u8f7d\u5b89\u88c5&#xff0c;\u6838\u5fc3\u662f\u300c\u89e3\u538b\u5305 &#043; \u5b89\u88c5\u6838\u5fc3\u7ec4\u4ef6 &#043; \u914d\u7f6e\u73af\u5883\u53d8\u91cf\u300d\u3002<\/p>\n<\/li>\n<li>\n<p>\u5173\u952e\u8981\u70b9&#xff1a;\u914d\u7f6e\u56fd\u5185\u955c\u50cf\u63d0\u901f\u3001\u907f\u514d\u4e2d\u6587\u8def\u5f84\u3001\u9a8c\u8bc1 adb \u548c sdkmanager \u547d\u4ee4\u786e\u4fdd\u5b89\u88c5\u6210\u529f\u3002<\/p>\n<\/li>\n<p>\u6309\u4ee5\u4e0a\u6b65\u9aa4\u64cd\u4f5c\u540e&#xff0c;\u5373\u53ef\u5b8c\u6210 Android SDK \u7684\u5b89\u88c5\u548c\u914d\u7f6e&#xff0c;\u540e\u7eed\u53ef\u6b63\u5e38\u8fdb\u884c Android \u9879\u76ee\u5f00\u53d1\u6216\u8de8\u5e73\u53f0 App \u7684 Android \u7aef\u7f16\u8bd1\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android SDK \u5b89\u88c5\u6307\u5357&#xff08;MacOS \u548c Windows&#xff09;<br \/>\n\u4f60\u9700\u8981\u5728\u5bf9\u5e94\u5f00\u53d1\u73af\u5883&#xff08;Windows \u6216 macOS 13.2.1&#xff09;\u4e0a\u5b89\u88c5 Android SDK&#xff0c;\u6838\u5fc3\u9700\u6c42\u662f\u5b8c\u6210\u73af\u5883\u914d\u7f6e\u3001\u9002\u914d\u8de8\u5e73\u53f0\/App\u5f00\u53d1\u3001\u540e\u7eed\u80fd\u6b63\u5e38\u7f16\u8bd1Android\u9879\u76ee\u3002Android SDK \u6709\u4e24\u79cd\u5b89\u88c5\u65b9\u5f0f&#xff1a;\u300c\u901a\u8fc7Android Studio\u81ea\u52a8\u5b89\u88c5&#xff08;\u63a8\u8350&#xff0c;\u65b0\u624b\u53cb\u597d&#xff0c;\u65e0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7488,84,330,149],"topic":[],"class_list":["post-71245","post","type-post","status-publish","format-standard","hentry","category-server","tag-sdk","tag-android","tag-macos","tag-windows"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/71245.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"Android SDK \u5b89\u88c5\u6307\u5357&#xff08;MacOS \u548c Windows&#xff09; \u4f60\u9700\u8981\u5728\u5bf9\u5e94\u5f00\u53d1\u73af\u5883&#xff08;Windows \u6216 macOS 13.2.1&#xff09;\u4e0a\u5b89\u88c5 Android SDK&#xff0c;\u6838\u5fc3\u9700\u6c42\u662f\u5b8c\u6210\u73af\u5883\u914d\u7f6e\u3001\u9002\u914d\u8de8\u5e73\u53f0\/App\u5f00\u53d1\u3001\u540e\u7eed\u80fd\u6b63\u5e38\u7f16\u8bd1Android\u9879\u76ee\u3002Android SDK \u6709\u4e24\u79cd\u5b89\u88c5\u65b9\u5f0f&#xff1a;\u300c\u901a\u8fc7Android Studio\u81ea\u52a8\u5b89\u88c5&#xff08;\u63a8\u8350&#xff0c;\u65b0\u624b\u53cb\u597d&#xff0c;\u65e0\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/71245.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-02-03T05:16:39+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71245.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/71245.html\",\"name\":\"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-02-03T05:16:39+00:00\",\"dateModified\":\"2026-02-03T05:16:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/71245.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/71245.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/71245.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/71245.html","og_locale":"zh_CN","og_type":"article","og_title":"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"Android SDK \u5b89\u88c5\u6307\u5357&#xff08;MacOS \u548c Windows&#xff09; \u4f60\u9700\u8981\u5728\u5bf9\u5e94\u5f00\u53d1\u73af\u5883&#xff08;Windows \u6216 macOS 13.2.1&#xff09;\u4e0a\u5b89\u88c5 Android SDK&#xff0c;\u6838\u5fc3\u9700\u6c42\u662f\u5b8c\u6210\u73af\u5883\u914d\u7f6e\u3001\u9002\u914d\u8de8\u5e73\u53f0\/App\u5f00\u53d1\u3001\u540e\u7eed\u80fd\u6b63\u5e38\u7f16\u8bd1Android\u9879\u76ee\u3002Android SDK \u6709\u4e24\u79cd\u5b89\u88c5\u65b9\u5f0f&#xff1a;\u300c\u901a\u8fc7Android Studio\u81ea\u52a8\u5b89\u88c5&#xff08;\u63a8\u8350&#xff0c;\u65b0\u624b\u53cb\u597d&#xff0c;\u65e0","og_url":"https:\/\/www.wsisp.com\/helps\/71245.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-02-03T05:16:39+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/71245.html","url":"https:\/\/www.wsisp.com\/helps\/71245.html","name":"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-02-03T05:16:39+00:00","dateModified":"2026-02-03T05:16:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/71245.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/71245.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/71245.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Android SDK \u5b89\u88c5\u6307\u5357\uff08MacOS \u548c Windows\uff09"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=71245"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/71245\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=71245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=71245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=71245"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=71245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}