{"id":44277,"date":"2025-06-18T09:33:38","date_gmt":"2025-06-18T01:33:38","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/44277.html"},"modified":"2025-06-18T09:33:38","modified_gmt":"2025-06-18T01:33:38","slug":"%e5%bc%80%e6%ba%90-arkts-%e9%b8%bf%e8%92%99%e5%ba%94%e7%94%a8-%e5%bc%80%e5%8f%91%ef%bc%88%e4%ba%8c%ef%bc%89%e5%b0%81%e8%a3%85%e5%ba%93-har%e5%88%b6%e4%bd%9c%e5%92%8c%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/44277.html","title":{"rendered":"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528"},"content":{"rendered":"<p>\u6587\u7ae0\u7684\u76ee\u7684\u4e3a\u4e86\u8bb0\u5f55\u4f7f\u7528Arkts\u00a0\u8fdb\u884cHarmony\u00a0app\u00a0\u5f00\u53d1\u5b66\u4e60\u7684\u7ecf\u5386\u3002\u672c\u804c\u4e3a\u5d4c\u5165\u5f0f\u8f6f\u4ef6\u5f00\u53d1&#xff0c;\u516c\u53f8\u5b89\u6392\u5f00\u53d1app&#xff0c;\u4e34\u65f6\u5b66\u4e60&#xff0c;\u5b8c\u6210app\u7684\u5f00\u53d1\u3002\u5f00\u53d1\u6d41\u7a0b\u548c\u8981\u70b9\u6709\u4e9b\u8bb0\u5fc6\u6a21\u7cca&#xff0c;\u8d76\u7d27\u8bb0\u5f55&#xff0c;\u9632\u6b62\u5fd8\u8bb0\u3002<\/p>\n<\/p>\n<p>\u00a0\u76f8\u5173\u94fe\u63a5&#xff1a;<\/p>\n<p><span>\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1&#xff08;\u4e00&#xff09;\u5de5\u7a0b\u6587\u4ef6\u5206\u6790-CSDN\u535a\u5ba2<\/span><\/p>\n<p><span>\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1&#xff08;\u4e8c&#xff09;\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528-CSDN\u535a\u5ba2<\/span><\/p>\n<\/p>\n<p>\u00a0\u63a8\u8350\u94fe\u63a5&#xff1a;<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u4e00&#xff09;\u5f00\u53d1\u73af\u5883\u7684\u642d\u5efa-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u4e8c&#xff09;\u5de5\u7a0b\u6587\u4ef6\u7ed3\u6784-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u4e09&#xff09;GUI\u754c\u9762\u5e03\u5c40\u548c\u5e38\u7528\u7ec4\u4ef6-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u56db&#xff09;GUI\u754c\u9762\u91cd\u8981\u7ec4\u4ef6-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u4e94&#xff09;\u6587\u4ef6\u548c\u6570\u636e\u5e93\u5b58\u50a8-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u516d&#xff09;\u591a\u5a92\u4f53\u4f7f\u7528-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u4e03&#xff09;\u901a\u8baf\u4e4bTcp\u548cHttp-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u516b&#xff09;\u901a\u8baf\u4e4bMqtt\u548cBle-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u4e5d&#xff09;\u540e\u53f0\u4e4b\u7ebf\u7a0b\u548c\u670d\u52a1-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u5341&#xff09;\u5e7f\u64ad\u673a\u5236-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u5341\u4e00&#xff09;\u8c03\u8bd5\u3001\u53d1\u5e03-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 java android app \u5f00\u53d1&#xff08;\u5341\u4e8c&#xff09;\u5c01\u5e93.aar-CSDN\u535a\u5ba2<\/p>\n<p>\u63a8\u8350\u94fe\u63a5&#xff1a;<\/p>\n<p>\u5f00\u6e90C# .net mvc \u5f00\u53d1&#xff08;\u4e00&#xff09;WEB\u642d\u5efa_c#\u90e8\u7f72web\u7a0b\u5e8f-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 C# .net mvc \u5f00\u53d1&#xff08;\u4e8c&#xff09;\u7f51\u7ad9\u5feb\u901f\u642d\u5efa_c#\u7f51\u7ad9\u5f00\u53d1-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 C# .net mvc \u5f00\u53d1&#xff08;\u4e09&#xff09;WEB\u5185\u5916\u7f51\u8bbf\u95ee(VS\u53d1\u5e03\u3001IIS\u914d\u7f6e\u7f51\u7ad9\u3001\u82b1\u751f\u58f3\u5916\u7f51\u7a7f\u523a\u8bbf\u95ee)_c# mvc \u57df\u540d\u4e0b\u4e0d\u53ef\u8a2a\u554f\u5167\u7db2,\u5167\u7db2\u4e0b\u53ef\u4ee5\u8a2a\u554f\u57df\u540d-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 C# .net mvc \u5f00\u53d1&#xff08;\u56db&#xff09;\u5de5\u7a0b\u7ed3\u6784\u3001\u9875\u9762\u63d0\u4ea4\u4ee5\u53ca\u663e\u793a_c#\u5de5\u7a0b\u7ed3\u6784-CSDN\u535a\u5ba2<\/p>\n<p>\u5f00\u6e90 C# .net mvc \u5f00\u53d1&#xff08;\u4e94&#xff09;\u5e38\u7528\u4ee3\u7801\u5feb\u901f\u5f00\u53d1_c# mvc\u5f00\u53d1-CSDN\u535a\u5ba2<\/p>\n<\/p>\n<p>\u672c\u7ae0\u8282\u4e3b\u8981\u8bb2\u8ff0\u9e3f\u8499\u5f00\u53d1\u73af\u5883\u65f6\u5c01\u88c5\u5e93.har\u7684\u5236\u4f5c\u548c\u5e94\u7528<\/p>\n<p>\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p>1.\u00a0 .har\u6a21\u5757\u7684\u5236\u4f5c<\/p>\n<p>2.\u00a0 .har\u7f16\u5199\u6d4b\u8bd5\u4ee3\u7801<\/p>\n<p>3.\u00a0 .har\u7684\u5de5\u7a0b\u5e94\u7528<\/p>\n<\/p>\n<p>\u4e00\u3001\u00a0.har\u6a21\u5757\u7684\u5236\u4f5c&#xff0c;\u5728\u7a0b\u5e8f\u5f00\u53d1\u4e2d\u9700\u8981\u5c06sdk\u63d0\u4f9b\u7ed9\u7b2c\u4e09\u65b9&#xff0c;\u4e0d\u8ba9\u5bf9\u65b9\u5f00\u5230\u6e90\u7801\u7684\u60c5\u51b5\u3002\u53c8\u6216\u8005\u4ee3\u7801\u4e0d\u9700\u8981\u4fee\u6539&#xff0c;\u4e3a\u4e86\u52a0\u5feb\u7f16\u8bd1\u901f\u5ea6&#xff0c;\u628a\u4ee3\u7801\u5c01\u88c5\u4e3a\u6a21\u5757\u3002\u8fd9\u4e2a\u65f6\u5019\u5c31\u9700\u8981\u5236\u4f5c.har\u6a21\u5757\u3002<\/p>\n<\/p>\n<p>1.1\u00a0 \u521b\u5efa\u6a21\u5757<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"987\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013329-685217695ea69.png\" width=\"1567\" \/><\/p>\n<\/p>\n<p>\u9009\u62e9\u9759\u6001\u5e93<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"993\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013330-6852176a23222.png\" width=\"1494\" \/><\/p>\n<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"993\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013330-6852176a98f22.png\" width=\"1494\" \/><\/p>\n<\/p>\n<p>\u751f\u6210\u4e86library\u6a21\u5757<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1210\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013331-6852176b2f4c6.png\" width=\"1369\" \/><\/p>\n<\/p>\n<p>\u4e8c\u3001.har\u7f16\u5199\u6d4b\u8bd5\u4ee3\u7801<\/p>\n<p>2.1\u00a0 \u9700\u8981\u6ce8\u610flibrary\u6a21\u5757\u4e2d\u7684oh-package.json5\u914d\u7f6e\u6587\u4ef6&#xff0c;Index.ets\u6587\u4ef6\u662fHAR\u5bfc\u51fa\u58f0\u660e\u6587\u4ef6\u7684\u5165\u53e3&#xff0c;HAR\u9700\u8981\u5bfc\u51fa\u7684\u63a5\u53e3&#xff0c;\u7edf\u4e00\u5728Index.ets\u6587\u4ef6\u4e2d\u5bfc\u51fa\u3002Index.ets\u6587\u4ef6\u662fDevEco Studio\u9ed8\u8ba4\u81ea\u52a8\u751f\u6210\u7684&#xff0c;\u7528\u6237\u4e5f\u53ef\u4ee5\u81ea\u5b9a\u4e49&#xff0c;\u5728\u6a21\u5757\u7684oh-package.json5\u6587\u4ef6\u4e2d\u7684main\u5b57\u6bb5\u914d\u7f6e\u5165\u53e3\u58f0\u660e\u6587\u4ef6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"967\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013331-6852176bb0d28.png\" width=\"1296\" \/><\/p>\n<\/p>\n<p>\u6dfb\u52a0\u6587\u4ef6test.ets<\/p>\n<p>\/\/ library\/src\/main\/ts\/test.ets<br \/>\nexport class classTest {<br \/>\n  public info(msg: string) {<br \/>\n    console.info(msg);<br \/>\n  }<br \/>\n}<\/p>\n<p>export function funTest():string{<br \/>\n  return &#039;har func&#039;;<br \/>\n}<\/p>\n<p>\u4fee\u6539MainPage.ets\u6587\u4ef6\u7684width\u548cheight&#xff0c;\u8ba9\u8fd9\u4e2a\u7ec4\u4ef6\u53ef\u4ee5\u88ab\u8c03\u7528\u663e\u793a<\/p>\n<p>&#064;Component<br \/>\nexport struct MainPage {<br \/>\n  &#064;State message: string &#061; &#039;Hello World&#039;;<\/p>\n<p>  build() {<br \/>\n    Row() {<br \/>\n      Column() {<br \/>\n        Text(this.message)<br \/>\n          .fontSize($r(&#039;app.float.page_text_font_size&#039;))<br \/>\n          .fontWeight(FontWeight.Bold)<br \/>\n          .onClick(() &#061;&gt; {<br \/>\n            this.message &#061; &#039;Welcome&#039;;<br \/>\n          })<br \/>\n      }<br \/>\n      .width(&#039;200&#039;)<br \/>\n    }<br \/>\n    .height(&#039;80&#039;)<br \/>\n  }<br \/>\n}<\/p>\n<p>\u4fee\u6539Index.ets,\u5c06\u7c7b\u548c\u51fd\u6570\u5f15\u51fa<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1066\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013332-6852176c1dca6.png\" width=\"1690\" \/><\/p>\n<\/p>\n<p>\u751f\u6210library.har<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"865\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013332-6852176cc30dc.png\" width=\"1545\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1150\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013333-6852176d5a0f9.png\" width=\"1330\" \/><\/p>\n<\/p>\n<p>\u4e09\u3001\u00a0 .har\u6587\u4ef6\u7684\u5e94\u7528<\/p>\n<p>3.1\u00a0 \u5c06library.har\u6587\u4ef6\u62f7\u8d1d\u5230\u6d4b\u8bd5\u5de5\u7a0b\u4e2d<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1132\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013333-6852176dcb8a7.png\" width=\"1558\" \/><\/p>\n<\/p>\n<p>3.2\u00a0 \u4fee\u6539\u914d\u7f6e\u6587\u4ef6oh-package.json5\u6dfb\u52a0\u4f9d\u8d56,\u5e76\u70b9\u51fb\u5de5\u7a0b\u540c\u6b65\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1131\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013334-6852176e88f2a.png\" width=\"1336\" \/><\/p>\n<\/p>\n<p>3.3\u00a0 \u5728Index.ets\u4e2d\u4fee\u6539\u4ee3\u7801&#xff0c;\u5f15\u5165library\u53ef\u4ee5\u4f7f\u7528MainPage\u7ec4\u4ef6<\/p>\n<p>import  {MainPage} from &#039;library&#039;<br \/>\n&#064;Entry<br \/>\n&#064;Component<br \/>\nstruct Index {<br \/>\n  &#064;State message: string &#061; &#039;Hello World&#039;;<\/p>\n<p>  build() {<br \/>\n      Row(){<br \/>\n        MainPage();<br \/>\n      }<br \/>\n  }<br \/>\n} <\/p>\n<p>\u6548\u679c\u4e3a<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"933\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013335-6852176f05129.png\" width=\"2044\" \/><\/p>\n<\/p>\n<p>3.4\u00a0 \u5728entryablity.ets\u4e2d\u5f15\u5165 classTest\u7c7b&#xff0c;\u5c31\u53ef\u4ee5\u8c03\u7528\u5b83\u7684\u51fd\u6570\u4e86&#xff0c;\u4ece\u800c\u5b9e\u73b0\u5c01\u88c5\u5e93.har\u7684\u5e94\u7528\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1476\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013335-6852176f9248c.png\" width=\"2506\" \/><\/p>\n<\/p>\n<p>3.5\u00a0 \u70b9\u51fb.info\u51fd\u6570&#xff0c;\u663e\u793a\u5982\u56fe&#xff0c;\u53ea\u80fd\u770b\u5230\u51fd\u6570\u63a5\u53e3&#xff0c;\u65e0\u6cd5\u770b\u5230\u5b9e\u9645\u5185\u5bb9&#xff0c;\u5c01\u88c5\u6709\u6548\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"645\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013336-68521770f22de.png\" width=\"1377\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb671\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf7\u6b21\u30022.1  \u9700\u8981\u6ce8\u610flibrary\u6a21\u5757\u4e2d\u7684oh-package.json5\u914d\u7f6e\u6587\u4ef6\uff0cIndex.ets\u6587\u4ef6\u662fHAR\u5bfc\u51fa\u58f0\u660e\u6587\u4ef6\u7684\u5165\u53e3\uff0cHAR\u9700\u8981\u5bfc\u51fa\u7684\u63a5\u53e3\uff0c\u7edf\u4e00\u5728Index.ets\u6587\u4ef6\u4e2d\u5bfc\u51fa\u3002Index.ets\u6587\u4ef6\u662fDevEco Studio\u9ed8\u8ba4\u81ea\u52a8\u751f\u6210\u7684\uff0c\u7528\u6237\u4e5f\u53ef\u4ee5\u81ea\u5b9a\u4e49\uff0c\u5728\u6a21\u5757\u7684oh-package.json5\u6587\u4ef6\u4e2d\u7684main\u5b57\u6bb5\u914d\u7f6e\u5165\u53e3\u58f0\u660e\u6587\u4ef6\u30023.4  \u5728entryablity.ets\u4e2d\u5f15\u5165 classTest\u7c7b\uff0c\u5c31\u53ef\u4ee5\u8c03\u7528\u5b83\u7684\u51fd\u6570\u4e86\uff0c\u4ece\u800c\u5b9e\u73b0\u5c01\u88c5\u5e93.har\u7684\u5e94\u7528\u30021.  .har\u6a21\u5757\u7684\u5236\u4f5c\u3002<\/p>\n","protected":false},"author":2,"featured_media":44264,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[280,58,4121,67,227],"topic":[],"class_list":["post-44277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-harmonyos","tag-linux","tag-linux-c---app","tag-67","tag-227"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528 - \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\/44277.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb671\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf7\u6b21\u30022.1 \u9700\u8981\u6ce8\u610flibrary\u6a21\u5757\u4e2d\u7684oh-package.json5\u914d\u7f6e\u6587\u4ef6\uff0cIndex.ets\u6587\u4ef6\u662fHAR\u5bfc\u51fa\u58f0\u660e\u6587\u4ef6\u7684\u5165\u53e3\uff0cHAR\u9700\u8981\u5bfc\u51fa\u7684\u63a5\u53e3\uff0c\u7edf\u4e00\u5728Index.ets\u6587\u4ef6\u4e2d\u5bfc\u51fa\u3002Index.ets\u6587\u4ef6\u662fDevEco Studio\u9ed8\u8ba4\u81ea\u52a8\u751f\u6210\u7684\uff0c\u7528\u6237\u4e5f\u53ef\u4ee5\u81ea\u5b9a\u4e49\uff0c\u5728\u6a21\u5757\u7684oh-package.json5\u6587\u4ef6\u4e2d\u7684main\u5b57\u6bb5\u914d\u7f6e\u5165\u53e3\u58f0\u660e\u6587\u4ef6\u30023.4 \u5728entryablity.ets\u4e2d\u5f15\u5165 classTest\u7c7b\uff0c\u5c31\u53ef\u4ee5\u8c03\u7528\u5b83\u7684\u51fd\u6570\u4e86\uff0c\u4ece\u800c\u5b9e\u73b0\u5c01\u88c5\u5e93.har\u7684\u5e94\u7528\u30021. .har\u6a21\u5757\u7684\u5236\u4f5c\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/44277.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-18T01:33:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013329-685217695ea69.png\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/44277.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/44277.html\",\"name\":\"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-06-18T01:33:38+00:00\",\"dateModified\":\"2025-06-18T01:33:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/44277.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/44277.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/44277.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528\"}]},{\"@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":"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528 - \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\/44277.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb671\u6b21\uff0c\u70b9\u8d5e8\u6b21\uff0c\u6536\u85cf7\u6b21\u30022.1 \u9700\u8981\u6ce8\u610flibrary\u6a21\u5757\u4e2d\u7684oh-package.json5\u914d\u7f6e\u6587\u4ef6\uff0cIndex.ets\u6587\u4ef6\u662fHAR\u5bfc\u51fa\u58f0\u660e\u6587\u4ef6\u7684\u5165\u53e3\uff0cHAR\u9700\u8981\u5bfc\u51fa\u7684\u63a5\u53e3\uff0c\u7edf\u4e00\u5728Index.ets\u6587\u4ef6\u4e2d\u5bfc\u51fa\u3002Index.ets\u6587\u4ef6\u662fDevEco Studio\u9ed8\u8ba4\u81ea\u52a8\u751f\u6210\u7684\uff0c\u7528\u6237\u4e5f\u53ef\u4ee5\u81ea\u5b9a\u4e49\uff0c\u5728\u6a21\u5757\u7684oh-package.json5\u6587\u4ef6\u4e2d\u7684main\u5b57\u6bb5\u914d\u7f6e\u5165\u53e3\u58f0\u660e\u6587\u4ef6\u30023.4 \u5728entryablity.ets\u4e2d\u5f15\u5165 classTest\u7c7b\uff0c\u5c31\u53ef\u4ee5\u8c03\u7528\u5b83\u7684\u51fd\u6570\u4e86\uff0c\u4ece\u800c\u5b9e\u73b0\u5c01\u88c5\u5e93.har\u7684\u5e94\u7528\u30021. .har\u6a21\u5757\u7684\u5236\u4f5c\u3002","og_url":"https:\/\/www.wsisp.com\/helps\/44277.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-06-18T01:33:38+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/06\/20250618013329-685217695ea69.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/44277.html","url":"https:\/\/www.wsisp.com\/helps\/44277.html","name":"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-06-18T01:33:38+00:00","dateModified":"2025-06-18T01:33:38+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/44277.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/44277.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/44277.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5f00\u6e90 Arkts \u9e3f\u8499\u5e94\u7528 \u5f00\u53d1\uff08\u4e8c\uff09\u5c01\u88c5\u5e93.har\u5236\u4f5c\u548c\u5e94\u7528"}]},{"@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\/44277","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=44277"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/44277\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/44264"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=44277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=44277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=44277"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=44277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}