{"id":436,"date":"2015-04-19T19:31:27","date_gmt":"2015-04-19T11:31:27","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=436"},"modified":"2026-09-06T17:28:49","modified_gmt":"2026-09-06T09:28:49","slug":"android%e5%b7%a5%e7%a8%8b%e7%9b%ae%e5%bd%95%e7%bb%93%e6%9e%84%e8%af%b4%e6%98%8e","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=436","title":{"rendered":"\u5de5\u7a0b\u76ee\u5f55\u7ed3\u6784\u8bf4\u660e"},"content":{"rendered":"<section id=\"wenyan\" data-provider=\"WenYan\" style=\"font-family: system-ui, &quot;Apple Color Emoji&quot;, &quot;Segoe UI&quot;, &quot;Segoe UI Symbol&quot;, &quot;Noto Sans&quot;, Roboto, sans-serif; line-height: 1.75; font-size: 16px; color: rgb(0, 0, 0); caret-color: rgb(0, 0, 0);\">\n<blockquote style=\"margin: 20px 0px; display: block; font-size: 0.9em; overflow: auto; border-left: 3px solid rgb(239, 112, 96); color: rgb(106, 115, 125); padding: 10px 10px 10px 20px; background: rgb(255, 249, 249);\">\n<p style=\"margin: 1em 0px;\">\u7ea6\u5b9a\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">minSdkVersion = 26<\/code>\u3001<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">targetSdkVersion = 36<\/code>\u3001JDK 17\u3001\u4ec5 Java\u3001\u4e0d\u7528 Kotlin\uff1bGradle 8.x + AGP 8.x\uff1b\u5305\u540d\u6839 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">edu.cdp.android.dayNN<\/code>\u3002<\/p>\n<\/blockquote>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid rgb(239, 112, 96); display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: rgb(239, 112, 96); color: rgb(255, 255, 255); padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">1. \u5de5\u7a0b\u603b\u89c8<\/span><\/p>\n<section style=\"border-bottom: 36px solid rgb(239, 235, 233); border-right: 20px solid transparent; align-self: flex-end; height: 0px;\"><\/section>\n<\/h2>\n<p style=\"margin: 1em 0px;\">\u5728 Android Studio\uff08AS\uff09\u91cc\u65b0\u5efa <strong>Empty Activity<\/strong>\uff08\u6ce8\u610f\u9009 <strong>Java<\/strong> \u800c\u4e0d\u662f Kotlin\uff09\u540e\uff0c\u5de5\u7a0b\u6839\u76ee\u5f55\u4e00\u773c\u770b\u4e0a\u53bb\u5e76\u4e0d\u590d\u6742\u2014\u2014\u548c\u65e9\u5e74\u7684 Eclipse \u65f6\u4ee3\u76f8\u6bd4\uff0c\u5df2\u7ecf\u6e05\u723d\u5f88\u591a\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 10px; background: rgb(0, 43, 54); max-width: 100%; overflow-wrap: normal;\"><section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"45\" height=\"12\" viewBox=\"0 0 450 130\"><ellipse cx=\"65\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(220,60,54)\" stroke-width=\"2\" fill=\"rgb(237,108,96)\"><\/ellipse><ellipse cx=\"225\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(218,151,33)\" stroke-width=\"2\" fill=\"rgb(247,193,81)\"><\/ellipse><ellipse cx=\"385\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(27,161,37)\" stroke-width=\"2\" fill=\"rgb(100,200,86)\"><\/ellipse><\/svg><\/section><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; display: block; margin: 0.5em; padding: 3px 5px; overflow-x: auto; color: rgb(147, 161, 161); background: rgb(0, 43, 54); overflow-wrap: normal;\">day01_helloworld\/          \u2190 \u5de5\u7a0b\u6839\n\u251c\u2500\u2500 build.gradle           \u2190 \u9879\u76ee\u7ea7 Gradle \u914d\u7f6e\n\u251c\u2500\u2500 settings.gradle          \u2190 \u6a21\u5757\u5305\u542b\u5173\u7cfb\n\u251c\u2500\u2500 gradle.properties         \u2190 Gradle \u8fd0\u884c\u65f6\u53c2\u6570\n\u251c\u2500\u2500 gradlew \/ gradlew.bat       \u2190 Gradle Wrapper \u542f\u52a8\u811a\u672c\n\u251c\u2500\u2500 gradle\/\n\u2502   \u2514\u2500\u2500 wrapper\/\n\u2502     \u2514\u2500\u2500 gradle-wrapper.properties \u2190 Wrapper \u6307\u5b9a Gradle \u7248\u672c\n\u251c\u2500\u2500 .gitignore\n\u2514\u2500\u2500 app\/                \u2190 \u5e94\u7528\u6a21\u5757\uff08\u53ef\u6539\u540d\uff0c\u672c\u8bfe\u4e0d\u52a8\uff09\n  \u251c\u2500\u2500 build.gradle          \u2190 \u6a21\u5757\u7ea7 Gradle \u914d\u7f6e\n  \u251c\u2500\u2500 proguard-rules.pro\n  \u2514\u2500\u2500 src\/\n    \u2514\u2500\u2500 main\/\n      \u251c\u2500\u2500 AndroidManifest.xml   \u2190 \u5e94\u7528\u6e05\u5355\n      \u251c\u2500\u2500 java\/         \u2190 \u6211\u4eec\u7684 Java \u6e90\u7801\n      \u2514\u2500\u2500 res\/          \u2190 \u8d44\u6e90\uff08\u56fe\u7247\u3001\u5e03\u5c40\u3001\u5b57\u7b26\u4e32\uff09\n<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u8bb0\u4f4f\u4e00\u6761\u603b\u539f\u5219\uff1a<strong>\u6e90\u7801\u4e09\u4ef6\u5957<\/strong>\u2014\u2014<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">AndroidManifest.xml<\/code> + <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">java\/<\/code> + <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">res\/<\/code>\u2014\u2014\u5176\u4ed6\u90fd\u662f\u88c5\u914d\u5b83\u4eec\u7684\u300c\u811a\u624b\u67b6\u300d\u3002<\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u533a\u5757<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u653e\u4ec0\u4e48<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u8c01\u8d1f\u8d23<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6839\u76ee\u5f55<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">Gradle \u914d\u7f6e\u3001Wrapper\u3001<code>.gitignore<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u9879\u76ee\u7ea7\uff0c<strong>\u672c\u8bfe\u57fa\u672c\u4e0d\u52a8<\/strong><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>app\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u5e94\u7528\u6a21\u5757\uff08\u6e90\u7801 + \u8d44\u6e90 + \u6e05\u5355\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6211\u4eec\u5199\u4ee3\u7801\u7684\u4e3b\u6218\u573a<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>app\/src\/main\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u771f\u6b63\u80fd\u8dd1\u7684\u5e94\u7528\u6e90\u7801<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u4e1a\u52a1\u4ee3\u7801\u4ece\u8fd9\u91cc\u5f00\u59cb<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>gradle\/wrapper\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">Wrapper \u914d\u7f6e<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u4fdd\u8bc1\u4e0d\u540c\u673a\u5668\u7528\u540c\u4e00\u4efd Gradle<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid rgb(239, 112, 96); display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: rgb(239, 112, 96); color: rgb(255, 255, 255); padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">2. \u6839\u76ee\u5f55\u5173\u952e\u6587\u4ef6<\/span><\/p>\n<section style=\"border-bottom: 36px solid rgb(239, 235, 233); border-right: 20px solid transparent; align-self: flex-end; height: 0px;\"><\/section>\n<\/h2>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\"><span>2.1 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">settings.gradle<\/code><\/span><\/h3>\n<p style=\"margin: 1em 0px;\">\u58f0\u660e\u8fd9\u4e2a\u5de5\u7a0b\u5305\u542b\u54ea\u4e9b\u6a21\u5757\u3002\u672c\u8bfe\u53ea\u6709\u4e00\u4e2a <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">app<\/code>\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 10px; background: rgb(0, 43, 54); max-width: 100%; overflow-wrap: normal;\"><section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"45\" height=\"12\" viewBox=\"0 0 450 130\"><ellipse cx=\"65\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(220,60,54)\" stroke-width=\"2\" fill=\"rgb(237,108,96)\"><\/ellipse><ellipse cx=\"225\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(218,151,33)\" stroke-width=\"2\" fill=\"rgb(247,193,81)\"><\/ellipse><ellipse cx=\"385\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(27,161,37)\" stroke-width=\"2\" fill=\"rgb(100,200,86)\"><\/ellipse><\/svg><\/section><code class=\"hljs language-groovy\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; display: block; margin: 0.5em; padding: 3px 5px; overflow-x: auto; color: rgb(147, 161, 161); background: rgb(0, 43, 54); overflow-wrap: normal;\">pluginManagement {\n  repositories {\n    google()\n    mavenCentral()\n    gradlePluginPortal()\n  }\n}\ndependencyResolutionManagement {\n  repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)\n  repositories {\n    google()\n    mavenCentral()\n  }\n}\nrootProject.name = \"Day01HelloWorld\"\ninclude ':app'\n<\/code><\/pre>\n<p style=\"margin: 1em 0px;\"><code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">include ':app'<\/code> \u8fd9\u4e00\u884c\u6700\u5e38\u88ab\u672c\u8bfe\u4fee\u6539\u2014\u2014\u4f60\u6539\u540d\u6a21\u5757\u5c31\u8981\u540c\u65f6\u6539\u8fd9\u91cc\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\"><span>2.2 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">build.gradle<\/code>\uff08\u9879\u76ee\u7ea7\uff09<\/span><\/h3>\n<p style=\"margin: 1em 0px;\">\u653e\u5404\u6a21\u5757<strong>\u5171\u7528\u7684\u63d2\u4ef6\u58f0\u660e<\/strong>\u3002\u672c\u8bfe\u5e38\u89c1\u914d\u7f6e\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 10px; background: rgb(0, 43, 54); max-width: 100%; overflow-wrap: normal;\"><section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"45\" height=\"12\" viewBox=\"0 0 450 130\"><ellipse cx=\"65\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(220,60,54)\" stroke-width=\"2\" fill=\"rgb(237,108,96)\"><\/ellipse><ellipse cx=\"225\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(218,151,33)\" stroke-width=\"2\" fill=\"rgb(247,193,81)\"><\/ellipse><ellipse cx=\"385\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(27,161,37)\" stroke-width=\"2\" fill=\"rgb(100,200,86)\"><\/ellipse><\/svg><\/section><code class=\"hljs language-groovy\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; display: block; margin: 0.5em; padding: 3px 5px; overflow-x: auto; color: rgb(147, 161, 161); background: rgb(0, 43, 54); overflow-wrap: normal;\">plugins {\n  id 'com.android.application' version '8.1.0' apply false\n  id 'com.android.library'   version '8.1.0' apply false\n}\n<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u7248\u672c\u53f7\u4e0e AGP \u5bf9\u5e94\uff1b\u7b2c\u4e00\u8282\u8bfe\u7528 AS \u9ed8\u8ba4\u5373\u53ef\uff0c<strong>\u4e0d\u8981\u4e3b\u52a8\u6539<\/strong>\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\"><span>2.3 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">app\/build.gradle<\/code>\uff08\u6a21\u5757\u7ea7\uff09<\/span><\/h3>\n<p style=\"margin: 1em 0px;\">\u8fd9\u91cc\u7684\u8bbe\u7f6e\u6700\u5f71\u54cd app \u884c\u4e3a\u3002\u8981\u8bb0\u4f4f\u7684\u5b57\u6bb5\uff1a<\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u5b57\u6bb5<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u672c\u8bfe\u53d6\u503c<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>applicationId<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>edu.cdp.android.day01.helloworld<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u5e94\u7528\u7684\u300c\u8eab\u4efd\u8bc1\u300d\uff08\u548c\u5305\u540d\u76f8\u4f3c\uff0c<strong>\u4e0e Java \u5305\u540d\u53ef\u4ee5\u4e0d\u540c<\/strong>\uff09<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>minSdkVersion<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>26<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6700\u4f4e\u652f\u6301\u5230 Android 8.0<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>targetSdkVersion<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>36<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7f16\u8bd1\u65f6\u6309\u6700\u65b0\u7248\u884c\u4e3a\u6821\u9a8c<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>compileSdkVersion<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>36<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7f16\u8bd1\u65f6\u4f7f\u7528\u7684 SDK \u7248\u672c<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>versionCode<\/code> \/ <code>versionName<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>1<\/code> \/ <code>\"1.0\"<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u5b89\u88c5\u5305\u5347\u7ea7\u7528\uff0c\u672c\u8bfe\u56fa\u5b9a\u5373\u53ef<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px;\"><code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">sourceCompatibility<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">targetCompatibility<\/code> \u7528 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">JavaVersion.VERSION_17<\/code>\uff0c\u5bf9\u5e94 JDK 17\u3002<\/p>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\"><span>2.4 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">gradle\/wrapper\/<\/code> \u4e0e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">gradlew<\/code><\/span><\/h3>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section><code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">gradlew<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">gradlew.bat<\/code>\uff1a\u547d\u4ee4\u884c\u6267\u884c\u5165\u53e3\u3002  <\/section>\n<\/li>\n<li>\n<section><code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">gradle-wrapper.properties<\/code>\uff1a\u8bb0\u7740\u300c\u672c\u5de5\u7a0b\u56fa\u5b9a\u7528\u54ea\u4e00\u7248 Gradle\u300d\u3002<\/section>\n<\/li>\n<\/ul>\n<p style=\"margin: 1em 0px;\">\u8bfe\u5802\u7ea6\u5b9a\uff1a\u6240\u6709\u4eba\u7528\u540c\u4e00\u4efd Wrapper\uff0c\u4fdd\u8bc1\u7f16\u8bd1\u73af\u5883\u4e00\u81f4\uff1b\u9047\u5230\u300cGradle \u7248\u672c\u4e0d\u5339\u914d\u300d\u7684\u62a5\u9519\uff0c\u5148\u68c0\u67e5\u8fd9\u53f0\u673a\u5668\u662f\u4e0d\u662f\u7528\u4e86 Wrapper\uff0c\u800c\u4e0d\u662f\u5168\u5c40 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">gradle<\/code>\u3002<\/p>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid rgb(239, 112, 96); display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: rgb(239, 112, 96); color: rgb(255, 255, 255); padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">3. app\/ \u6a21\u5757\uff1a\u6e90\u7801\u4e09\u4ef6\u5957<\/span><\/p>\n<section style=\"border-bottom: 36px solid rgb(239, 235, 233); border-right: 20px solid transparent; align-self: flex-end; height: 0px;\"><\/section>\n<\/h2>\n<p style=\"margin: 1em 0px;\">\u8fdb\u5165 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">app\/src\/main\/<\/code>\uff0c\u76ee\u5f55\u53ea\u6709\u4e09\u79cd\u4e1c\u897f\uff1a\u6e05\u5355\u3001Java \u4ee3\u7801\u3001\u8d44\u6e90\u3002<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 10px; background: rgb(0, 43, 54); max-width: 100%; overflow-wrap: normal;\"><section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"45\" height=\"12\" viewBox=\"0 0 450 130\"><ellipse cx=\"65\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(220,60,54)\" stroke-width=\"2\" fill=\"rgb(237,108,96)\"><\/ellipse><ellipse cx=\"225\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(218,151,33)\" stroke-width=\"2\" fill=\"rgb(247,193,81)\"><\/ellipse><ellipse cx=\"385\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(27,161,37)\" stroke-width=\"2\" fill=\"rgb(100,200,86)\"><\/ellipse><\/svg><\/section><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; display: block; margin: 0.5em; padding: 3px 5px; overflow-x: auto; color: rgb(147, 161, 161); background: rgb(0, 43, 54); overflow-wrap: normal;\">app\/src\/main\/\n\u251c\u2500\u2500 AndroidManifest.xml  \u2190 \u6e05\u5355\uff1a\u7ec4\u4ef6\u3001\u6743\u9650\u3001\u4e3b\u9898\n\u251c\u2500\u2500 java\/\n\u2502   \u2514\u2500\u2500 edu\/cdp\/android\/day01\/helloworld\/\n\u2502     \u2514\u2500\u2500 MainActivity.java   \u2190 \u4e00\u4e2a Activity = \u4e00\u4e2a Java \u7c7b\n\u2514\u2500\u2500 res\/          \u2190 \u8d44\u6e90\uff0c\u4e0b\u4e00\u8282\u5355\u72ec\u8bb2\n  \u251c\u2500\u2500 layout\/\n  \u251c\u2500\u2500 values\/\n  \u2514\u2500\u2500 mipmap-*\/\n<\/code><\/pre>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\"><span>3.1 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">AndroidManifest.xml<\/code>\uff08\u6e05\u5355\uff09<\/span><\/h3>\n<p style=\"margin: 1em 0px;\"><strong>\u8fd9\u662f app\u300c\u767b\u8bb0\u300d\u6240\u6709\u7ec4\u4ef6\u7684\u5730\u65b9\u3002<\/strong> \u4e0d\u767b\u8bb0\u7684 Activity\uff0c\u7cfb\u7edf\u4e0d\u4f1a\u542f\u52a8\u5b83\u3002<\/p>\n<p style=\"margin: 1em 0px;\">\u6700\u5c0f\u5316\u793a\u4f8b\uff08AS \u5e2e\u6211\u4eec\u751f\u6210\uff09\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 10px; background: rgb(0, 43, 54); max-width: 100%; overflow-wrap: normal;\"><section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"45\" height=\"12\" viewBox=\"0 0 450 130\"><ellipse cx=\"65\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(220,60,54)\" stroke-width=\"2\" fill=\"rgb(237,108,96)\"><\/ellipse><ellipse cx=\"225\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(218,151,33)\" stroke-width=\"2\" fill=\"rgb(247,193,81)\"><\/ellipse><ellipse cx=\"385\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(27,161,37)\" stroke-width=\"2\" fill=\"rgb(100,200,86)\"><\/ellipse><\/svg><\/section><code class=\"hljs language-xml\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; display: block; margin: 0.5em; padding: 3px 5px; overflow-x: auto; color: rgb(147, 161, 161); background: rgb(0, 43, 54); overflow-wrap: normal;\"><span class=\"hljs-meta\" style=\"color: rgb(211, 54, 130);\">&lt;?xml version=<span class=\"hljs-string\" style=\"color: rgb(211, 54, 130);\">\"1.0\"<\/span> encoding=<span class=\"hljs-string\" style=\"color: rgb(211, 54, 130);\">\"utf-8\"<\/span>?&gt;<\/span>\n<span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">manifest<\/span> <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">xmlns:android<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"http:\/\/schemas.android.com\/apk\/res\/android\"<\/span>&gt;<\/span>\n\n  <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">application<\/span>\n    <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:allowBackup<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"true\"<\/span>\n    <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:icon<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"@mipmap\/ic_launcher\"<\/span>\n    <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:label<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"@string\/app_name\"<\/span>\n    <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:theme<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"@style\/Theme.Day01\"<\/span>&gt;<\/span>\n    <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">activity<\/span>\n      <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:name<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\".MainActivity\"<\/span>\n      <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:exported<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"true\"<\/span>&gt;<\/span>\n      <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">intent-filter<\/span>&gt;<\/span>\n        <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">action<\/span> <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:name<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"android.intent.action.MAIN\"<\/span> \/&gt;<\/span>\n        <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">category<\/span> <span class=\"hljs-attr\" style=\"color: rgb(203, 75, 22);\">android:name<\/span>=<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"android.intent.category.LAUNCHER\"<\/span> \/&gt;<\/span>\n      <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;\/<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">intent-filter<\/span>&gt;<\/span>\n    <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;\/<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">activity<\/span>&gt;<\/span>\n  <span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;\/<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">application<\/span>&gt;<\/span>\n<span class=\"hljs-tag\" style=\"color: rgb(131, 148, 150);\">&lt;\/<span class=\"hljs-name\" style=\"color: rgb(220, 50, 47);\">manifest<\/span>&gt;<\/span>\n<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u8981\u8bb0\u7684\u51e0\u6761\uff1a<\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u5143\u7d20\/\u5c5e\u6027<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u4f5c\u7528<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u672c\u8bfe\u662f\u5426\u52a8<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>&lt;uses-permission&gt;<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7533\u8bf7\u6743\u9650\uff08\u5199\u6587\u4ef6\u3001\u7f51\u7edc\u7b49\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7b2c 7 \u65e5\u8d77\u9700\u8981\u65f6\u518d\u52a0<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>&lt;application android:theme&gt;<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">app \u4e3b\u9898<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7b2c 14 \u65e5\u6539 NoActionBar<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>&lt;activity android:name&gt;<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7c7b\u540d\uff0c<code>.<\/code> \u8868\u793a\u300c\u76f8\u5bf9 applicationId \u7684\u5b50\u5305\u300d<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6539\u540d\u65f6\u540c\u6b65\u6539\u8fd9\u91cc<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>&lt;intent-filter&gt;<\/code> + <code>MAIN<\/code> \/ <code>LAUNCHER<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u684c\u9762\u56fe\u6807\u70b9\u8fdb\u6765\u7684\u5165\u53e3<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u4e00\u4e2a app \u53ea\u914d<strong>\u4e00\u4e2a<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\"><span>3.2 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">java\/<\/code>\uff1aJava \u6e90\u7801<\/span><\/h3>\n<ul style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: disc;\">\n<li>\n<section>\u8def\u5f84\u5c42\u6b21\u8981<strong>\u548c\u5305\u540d\u4e00\u4e00\u5bf9\u5e94<\/strong>\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">package edu.cdp.android.day01.helloworld;<\/code> \u5bf9\u5e94 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">java\/edu\/cdp\/android\/day01\/helloworld\/<\/code>\u3002  <\/section>\n<\/li>\n<li>\n<section>\u4e00\u4e2a\u6587\u4ef6\u4e00\u4e2a\u9876\u5c42 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">public<\/code> \u7c7b\uff0c\u6587\u4ef6\u540d\u5fc5\u987b\u4e0e\u7c7b\u540d\u4e00\u81f4\u3002  <\/section>\n<\/li>\n<li>\n<section>\u7b2c 1 \u65e5\u5c31\u4e00\u4e2a <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">MainActivity.java<\/code>\uff0c\u7b2c 4 \u65e5\u8d77\u6309\u8bfe\u7a0b\u7ea6\u5b9a\u7684\u5b50\u5305\u7ed3\u6784\u62c6\u3002<\/section>\n<\/li>\n<\/ul>\n<h3 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em;\"><span>3.3 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; color: rgb(239, 112, 96);\">res\/<\/code>\uff1a\u8d44\u6e90<\/span><\/h3>\n<p style=\"margin: 1em 0px;\">\u4e0b\u4e00\u8282\u5355\u72ec\u8bb2\u3002<\/p>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid rgb(239, 112, 96); display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: rgb(239, 112, 96); color: rgb(255, 255, 255); padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">4. res\/ \u8d44\u6e90\u5b50\u76ee\u5f55<\/span><\/p>\n<section style=\"border-bottom: 36px solid rgb(239, 235, 233); border-right: 20px solid transparent; align-self: flex-end; height: 0px;\"><\/section>\n<\/h2>\n<p style=\"margin: 1em 0px;\"><code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">res\/<\/code> \u653e App \u8d44\u6e90\uff08\u56fe\u7247\u3001\u5e03\u5c40\u3001\u6587\u5b57\u3001\u4e3b\u9898\u2026\u2026\uff09\u3002<strong>\u8fd9\u4e9b\u6587\u4ef6\u4f1a\u5728\u7f16\u8bd1\u671f\u7f16\u5165 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">R.java<\/code><\/strong>\uff0c\u8fd0\u884c\u65f6\u7528\u8d44\u6e90 ID\uff08<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">R.string.app_name<\/code>\u3001<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">R.layout.activity_main<\/code>\uff09\u5f15\u7528\u2014\u2014\u6bd4\u76f4\u63a5\u4f20\u5b57\u7b26\u4e32\u5b89\u5168\u5f97\u591a\u3002<\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u76ee\u5f55<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u653e\u4ec0\u4e48<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u5907\u6ce8<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>res\/layout\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u5e03\u5c40 XML\uff08<code>activity_main.xml<\/code>\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7b2c 2 \u65e5\u5f00\u59cb\u5929\u5929\u6539<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>res\/values\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>strings.xml<\/code>\u3001<code>colors.xml<\/code>\u3001<code>styles.xml<\/code>\u3001<code>themes.xml<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u4e0d\u653e\u6587\u4ef6\u540d\u5f53 ID\uff1bXML \u8282\u70b9\u540d\u51b3\u5b9a R \u4e2d\u7684\u5b57\u6bb5\u540d<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>res\/drawable\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u4f4d\u56fe\uff08PNG\/JPEG\uff09\u3001<code>.9.png<\/code>\u3001Shape\u3001Selector<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7b2c 2 \u65e5\u5f00\u59cb\u5927\u91cf\u4f7f\u7528 Shape\/Selector<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>res\/mipmap-*dpi\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u5e94\u7528\u56fe\u6807\uff08\u591a\u5206\u8fa8\u7387\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">AS \u9ed8\u8ba4\u751f\u6210\uff0c\u4e0d\u8981\u624b\u52a8\u6539\u6587\u4ef6\u540d<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>res\/menu\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u83dc\u5355 XML\uff08Toolbar \u7528\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7b2c 14 \u65e5\u8d77<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>res\/anim\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u52a8\u753b XML\uff08\u6de1\u5165\u3001\u65cb\u8f6c\u3001\u8865\u95f4\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u7b2c 16 \u65e5\u65cb\u8f6c\u52a8\u753b<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>res\/xml\/<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6742\u9879\u914d\u7f6e\uff08<code>backup_rules.xml<\/code>\u3001<code>network_security_config.xml<\/code> \u7b49\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u672c\u8bfe\u51e0\u4e4e\u4e0d\u52a8<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px;\"><strong>\u5224\u65ad\u8d44\u6e90\u653e\u54ea\u513f\u7684\u6377\u5f84\uff1a<\/strong><\/p>\n<ol style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: decimal;\">\n<li>\n<section><strong>\u8981\u5728\u4ee3\u7801\u91cc\u7528\u8d44\u6e90 ID \u62ff\u7684<\/strong>\uff08\u5982 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">findViewById<\/code>\u3001<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">setBackgroundResource<\/code>\uff09 \u2192 \u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">res\/<\/code>\u3002<\/section>\n<\/li>\n<li>\n<section><strong>\u8981\u4fdd\u7559\u539f\u6587\u4ef6\u540d \/ \u76ee\u5f55\u5c42\u7ea7\u5f53\u5b57\u9762\u8def\u5f84\u8bfb\u7684<\/strong> \u2192 \u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">assets\/<\/code>\u3002<\/section>\n<\/li>\n<\/ol>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid rgb(239, 112, 96); display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: rgb(239, 112, 96); color: rgb(255, 255, 255); padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">5. assets\/ \u4e0eres\/raw\/ \u600e\u4e48\u9009<\/span><\/p>\n<section style=\"border-bottom: 36px solid rgb(239, 235, 233); border-right: 20px solid transparent; align-self: flex-end; height: 0px;\"><\/section>\n<\/h2>\n<p style=\"margin: 1em 0px;\">\u8fd9\u662f\u521d\u5b66\u8005\u6700\u5bb9\u6613\u6df7\u7684\u4e00\u7ec4\u2014\u2014\u5b83\u4eec\u90fd\u80fd\u585e\u300c\u539f\u6587\u4ef6\u300d\uff0c\u533a\u522b\u53ea\u5728<strong>\u8bbf\u95ee\u65b9\u5f0f<\/strong>\u3002<\/p>\n<table style=\"border-collapse: collapse; margin: 1.4em auto; max-width: 100%; table-layout: fixed; text-align: left; overflow: auto; display: table; overflow-wrap: break-word; word-break: break-all;\">\n<thead>\n<tr>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\">\u7ef4\u5ea6<\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\"><code>res\/raw\/<\/code><\/th>\n<th style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top; font-weight: bold; background-color: rgb(255, 249, 249); color: rgb(239, 112, 96);\"><code>assets\/<\/code><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u662f\u5426\u8fdb\u5165 <code>R.java<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u2705 \u662f\uff0c\u7528 <code>R.raw.bg<\/code> \u5f15\u7528<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u274c \u5426<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6587\u4ef6\u540d\u662f\u5426\u4fdd\u7559\u539f\u6837<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6587\u4ef6\u540d\u5c31\u662f R \u91cc\u7684\u5b57\u6bb5\u540d\uff08\u5982 <code>R.raw.song<\/code>\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u4fdd\u7559\u539f\u6587\u4ef6\u540d + \u76ee\u5f55\u7ed3\u6784<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u8bbf\u95ee API<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>Resources.openRawResource(R.raw.x)<\/code><\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\"><code>AssetManager.open(\"sub\/x.mp3\")<\/code><\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u9002\u7528\u573a\u666f<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">MediaPlayer \u64ad\u4e00\u6bb5 ogg\u3001\u94c3\u58f0\uff1b\u5c11\u91cf\u56fa\u5b9a\u6587\u4ef6<\/td>\n<td style=\"font-size: 0.75em; padding: 9px 12px; line-height: 22px; border: 1px solid rgb(239, 112, 96); vertical-align: top;\">\u6574\u4e2a <code>mp3<\/code> \u76ee\u5f55\u3001HTML \u6a21\u677f\u3001JSON \u914d\u7f6e\u76ee\u5f55<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin: 1em 0px;\"><strong>\u4e00\u53e5\u8bdd\uff1a\u7528\u300c\u8d44\u6e90 ID\u300d\u5f15\uff0c\u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">raw\/<\/code>\uff1b\u7528\u300c\u8def\u5f84\u300d\u8bfb\uff0c\u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">assets\/<\/code>\u3002<\/strong><\/p>\n<p style=\"margin: 1em 0px;\">\u4f8b\uff1a\u7b2c 17 \u65e5\u505a JSON \u6a21\u62df\u7f51\u7edc\u5217\u8868\uff0c\u53ef\u4ee5\u628a <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">songs.json<\/code> \u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">assets\/sample\/<\/code>\uff0c\u4ee3\u7801\u91cc\u8fd9\u6837\u8bfb\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 10px; background: rgb(0, 43, 54); max-width: 100%; overflow-wrap: normal;\"><section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"45\" height=\"12\" viewBox=\"0 0 450 130\"><ellipse cx=\"65\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(220,60,54)\" stroke-width=\"2\" fill=\"rgb(237,108,96)\"><\/ellipse><ellipse cx=\"225\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(218,151,33)\" stroke-width=\"2\" fill=\"rgb(247,193,81)\"><\/ellipse><ellipse cx=\"385\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(27,161,37)\" stroke-width=\"2\" fill=\"rgb(100,200,86)\"><\/ellipse><\/svg><\/section><code class=\"hljs language-java\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; display: block; margin: 0.5em; padding: 3px 5px; overflow-x: auto; color: rgb(147, 161, 161); background: rgb(0, 43, 54); overflow-wrap: normal;\"><span class=\"hljs-type\" style=\"color: rgb(108, 113, 196);\">InputStream<\/span> <span class=\"hljs-variable\" style=\"color: rgb(220, 50, 47);\">is<\/span> <span class=\"hljs-operator\" style=\"color: rgb(147, 161, 161); opacity: 0.7;\">=<\/span> <span class=\"hljs-literal\" style=\"color: rgb(203, 75, 22);\">null<\/span>;\n<span class=\"hljs-keyword\" style=\"color: rgb(108, 113, 196);\">try<\/span> {\n  is = getAssets().open(<span class=\"hljs-string\" style=\"color: rgb(133, 153, 0);\">\"sample\/songs.json\"<\/span>);\n  <span class=\"hljs-comment\" style=\"color: rgb(101, 123, 131);\">\/\/ \u2026read &amp; parse\u2026<\/span>\n} <span class=\"hljs-keyword\" style=\"color: rgb(108, 113, 196);\">finally<\/span> {\n  <span class=\"hljs-keyword\" style=\"color: rgb(108, 113, 196);\">if<\/span> (is != <span class=\"hljs-literal\" style=\"color: rgb(203, 75, 22);\">null<\/span>) {\n    <span class=\"hljs-keyword\" style=\"color: rgb(108, 113, 196);\">try<\/span> { is.close(); } <span class=\"hljs-keyword\" style=\"color: rgb(108, 113, 196);\">catch<\/span> (Exception ignored) {}\n  }\n}\n<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u6ce8\u610f <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">try \/ catch \/ finally<\/code> \u91cc\u663e\u5f0f\u5173\u6d41\u2014\u2014\u672c\u8bfe<strong>\u7981\u6b62 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">try-with-resources<\/code><\/strong>\u3002<\/p>\n<hr>\n<h2 style=\"margin: 1.2em 0px 1em; padding: 0px; font-weight: bold; font-size: 1.3em; border-bottom: 2px solid rgb(239, 112, 96); display: flex;\"><span style=\"display: inline-block; font-weight: bold; background: rgb(239, 112, 96); color: rgb(255, 255, 255); padding: 3px 10px 1px; border-top-right-radius: 3px; border-top-left-radius: 3px; margin-right: 3px;\">6. \u8bfe\u7a0b\u7ea6\u5b9a\u7684 Java \u5b50\u5305\u7ed3\u6784<\/span><\/p>\n<section style=\"border-bottom: 36px solid rgb(239, 235, 233); border-right: 20px solid transparent; align-self: flex-end; height: 0px;\"><\/section>\n<\/h2>\n<p style=\"margin: 1em 0px;\">\u6309\u8bfe\u7a0b\u5927\u7eb2 2.3 \u8282\uff1a\u300c\u80fd\u6309\u804c\u8d23\u628a\u6e90\u7801\u653e\u5230 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">ui<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">adapter<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">model<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">util<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">db<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">listener<\/code> \/ <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">service<\/code> \u7b49\u5b50\u5305\uff0c\u6839\u5305\u540d\u4ecd\u7528 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">edu.cdp.android.dayNN<\/code>\u3002\u300d<\/p>\n<p style=\"margin: 1em 0px;\">\u7b2c 1 \u65e5\u5c31\u662f <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">MainActivity<\/code> \u4e00\u4e2a\u6587\u4ef6\uff0c\u6ca1\u5fc5\u8981\u62c6\uff1b\u4ece\u7b2c 4 \u65e5\u8d77\u6309\u8fd9\u5957\u7ea6\u5b9a\u5206\u5305\u3002\u4f8b\u5982\u7b2c 14 \u65e5\u97f3\u4e50\u9879\u76ee\uff1a<\/p>\n<pre style=\"overflow: auto hidden; word-break: normal; white-space: pre; tab-size: 2; border-radius: 5px; line-height: 2; margin: 1em 0.5em; padding: 0.5em; box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px; font-size: 10px; background: rgb(0, 43, 54); max-width: 100%; overflow-wrap: normal;\"><section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" version=\"1.1\" width=\"45\" height=\"12\" viewBox=\"0 0 450 130\"><ellipse cx=\"65\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(220,60,54)\" stroke-width=\"2\" fill=\"rgb(237,108,96)\"><\/ellipse><ellipse cx=\"225\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(218,151,33)\" stroke-width=\"2\" fill=\"rgb(247,193,81)\"><\/ellipse><ellipse cx=\"385\" cy=\"65\" rx=\"50\" ry=\"52\" stroke=\"rgb(27,161,37)\" stroke-width=\"2\" fill=\"rgb(100,200,86)\"><\/ellipse><\/svg><\/section><code class=\"hljs\" style=\"word-break: normal; white-space: nowrap; tab-size: 2; font-size: 10px; font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; display: block; margin: 0.5em; padding: 3px 5px; overflow-x: auto; color: rgb(147, 161, 161); background: rgb(0, 43, 54); overflow-wrap: normal;\">edu.cdp.android.day14\/\n\u251c\u2500\u2500 SongListActivity.java      \u2190 \u5165\u53e3\uff08Activity = UI \u7684\u6839\uff09\n\u251c\u2500\u2500 model\/\n\u2502   \u2514\u2500\u2500 SongItem.java         \u2190 \u6570\u636e\u7c7b\n\u251c\u2500\u2500 db\/  \u2190 (\u672c\u8bfe\u7b2c 7 \u65e5\u8d77\u624d\u6709)\n\u251c\u2500\u2500 util\/\n\u2502   \u2514\u2500\u2500 SongScanner.java      \u2190 \u626b\u63cf \/ IO \u5de5\u5177\n\u251c\u2500\u2500 adapter\/\n\u2502   \u2514\u2500\u2500 SongAdapter.java      \u2190 \u7ee7\u627f BaseAdapter\n\u251c\u2500\u2500 listener\/\n\u2502   \u251c\u2500\u2500 SongItemClickListener.java  \u2190 \u5177\u540d\u76d1\u542c\u5668\n\u2502   \u2514\u2500\u2500 ToolbarMenuClickListener.java\n\u2514\u2500\u2500 service\/\n  \u2514\u2500\u2500 \uff08\u7b2c 15 \u65e5\u52a0 PlayService\uff09\n<\/code><\/pre>\n<p style=\"margin: 1em 0px;\">\u7ea6\u5b9a\u53ea\u6709\u4e09\u6761\uff1a<\/p>\n<ol style=\"padding-left: 1rem; margin-left: 1rem; font-size: 0.9rem; list-style-type: decimal;\">\n<li>\n<section><strong>Activity \u7c7b\u653e\u5728\u6839\u5305<\/strong>\uff08\u65b9\u4fbf Manifest \u7528 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">.MainActivity<\/code> \u8fd9\u79cd\u77ed\u540d\u5b57\u5f15\u5230\uff09\u3002<\/section>\n<\/li>\n<li>\n<section><strong>\u5177\u540d\u76d1\u542c\u5668\u7edf\u4e00\u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">listener\/<\/code><\/strong>\uff08\u72ec\u7acb\u7c7b\u6216 Activity \u5185\u90e8\u5177\u540d\u7c7b\uff1b\u672c\u8bfe\u524d\u9762\u65e5\u5b50\u7528\u5185\u90e8\u5177\u540d\u7c7b\u4e5f\u53ef\u4ee5\uff0c\u4f46\u5f52\u5728 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">listener\/<\/code> \u5b50\u5305\u91cc\u66f4\u6574\u9f50\uff09\u3002<\/section>\n<\/li>\n<li>\n<section><strong>\u540c\u804c\u8d23\u7684\u4e1c\u897f\u76f8\u90bb<\/strong>\uff08DAO \u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">db\/<\/code>\u3001\u5de5\u5177\u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">util\/<\/code>\u3001\u4e1a\u52a1\u6a21\u578b\u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">model\/<\/code>\uff09\uff0c\u4e0d\u8981\u968f\u624b\u4e22\u5728\u6839\u5305\u3002<\/section>\n<\/li>\n<\/ol>\n<hr>\n<blockquote style=\"margin: 20px 0px; display: block; font-size: 0.9em; overflow: auto; border-left: 3px solid rgb(239, 112, 96); color: rgb(106, 115, 125); padding: 10px 10px 10px 20px; background: rgb(255, 249, 249);\">\n<p style=\"margin: 1em 0px;\"><strong>\u4e00\u53e5\u8bdd\u603b\u7ed3\uff1a<\/strong> \u6839\u76ee\u5f55\u7ba1 Gradle\uff1b<code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">app\/src\/main\/<\/code> \u91cc\u53ea\u6709\u6e05\u5355\u3001Java\u3001\u8d44\u6e90\u4e09\u4ef6\u5957\uff1b\u8d44\u6e90\u80fd\u8fdb <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">R<\/code> \u7684\u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">res<\/code>\uff0c\u8981\u6309\u8def\u5f84\u8bfb\u539f\u6587\u4ef6\u7684\u653e <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">assets<\/code>\uff1b\u4e1a\u52a1\u4ee3\u7801\u6309 <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">ui \/ adapter \/ model \/ util \/ db \/ listener \/ service<\/code> \u5206\u5b50\u5305\uff0c\u6839\u5305\u4ecd\u662f <code style=\"font-family: Menlo, Monaco, Consolas, &quot;Liberation Mono&quot;, &quot;Roboto Mono&quot;, &quot;Courier New&quot;, &quot;Microsoft YaHei&quot;, monospace; font-size: 0.9em; overflow-wrap: break-word; padding: 2px 4px; border-radius: 4px; margin: 0px 2px; color: rgb(239, 112, 96); background-color: rgba(27, 31, 35, 0.05); word-break: break-all;\">edu.cdp.android.dayNN<\/code>\u3002<\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u7ea6\u5b9a\uff1aminSdkVersion = 26\u3001targetSdkVersion = 36\u3001JDK 17\u3001\u4ec5 Ja [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[52],"tags":[195],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/436"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=436"}],"version-history":[{"count":5,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/436\/revisions"}],"predecessor-version":[{"id":3976,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/436\/revisions\/3976"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=436"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=436"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=436"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}