{"id":19407,"date":"2025-09-24T23:16:35","date_gmt":"2025-09-24T15:16:35","guid":{"rendered":"https:\/\/www.bookcard.net\/wordpress\/?p=19407"},"modified":"2025-09-24T23:16:35","modified_gmt":"2025-09-24T15:16:35","slug":"android-studio-%e5%95%9f%e7%94%a8%e3%80%8eclang-tidy%e3%80%8f%e8%aa%9e%e6%b3%95%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.bookcard.net\/wordpress\/android-studio-%e5%95%9f%e7%94%a8%e3%80%8eclang-tidy%e3%80%8f%e8%aa%9e%e6%b3%95%e5%88%86%e6%9e%90\/","title":{"rendered":"Android Studio-\u555f\u7528\u300eClang-Tidy\u300f\u8a9e\u6cd5\u5206\u6790"},"content":{"rendered":"<figure id=\"attachment_19408\" aria-describedby=\"caption-attachment-19408\" style=\"width: 1280px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/09\/Android_Studio_Clang_Tidy.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-19408\" src=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/09\/Android_Studio_Clang_Tidy.jpg\" alt=\"Android Studio-\u555f\u7528\u300eClang-Tidy\u300f\u8a9e\u6cd5\u5206\u6790\" width=\"1280\" height=\"800\" srcset=\"https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/09\/Android_Studio_Clang_Tidy.jpg 1280w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/09\/Android_Studio_Clang_Tidy-300x188.jpg 300w, https:\/\/www.bookcard.net\/wordpress\/wp-content\/uploads\/2025\/09\/Android_Studio_Clang_Tidy-768x480.jpg 768w\" sizes=\"auto, (max-width: 1280px) 100vw, 1280px\" \/><\/a><figcaption id=\"caption-attachment-19408\" class=\"wp-caption-text\">Android Studio-\u555f\u7528\u300eClang-Tidy\u300f\u8a9e\u6cd5\u5206\u6790<\/figcaption><\/figure>\n<p>Android Studio-\u652f\u6301C\/C++\u8a9e\u6cd5\u5206\u6790\u300eClang-Tidy\u300f, \u4f46\u4fc2\u9ed8\u8a8d\u7981\u7528.<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"601\">Unable to execute Clang-Tidy: Clang-Tidy is not found or cannot be executed<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u555f\u7528\u300eClang-Tidy\u300f\u8a9e\u6cd5\u5206\u6790.<\/p>\n<ol>\n<li>\u64b3\u300eFile\u300f-&gt;\u300eSettings\u300f<\/li>\n<li>\u64b3\u300eLanguages &amp; Frameworks\u300f-&gt;\u300eC\/C++\u300f-&gt;\u300eClangd\u300f<\/li>\n<li>\u52fe\u300eUse clang-tidy via clangd (also enables some CLion bui)\u300f<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Android Studio-\u652f\u6301C\/C++\u8a9e\u6cd5\u5206\u6790\u300eClang-Tidy\u300f, \u4f46\u4fc2\u9ed8\u8a8d\u7981\u7528. Unable  &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.bookcard.net\/wordpress\/android-studio-%e5%95%9f%e7%94%a8%e3%80%8eclang-tidy%e3%80%8f%e8%aa%9e%e6%b3%95%e5%88%86%e6%9e%90\/\" class=\"more-link\">\u7e7c\u7e8c\u95b1\u8b80 <span class=\"screen-reader-text\">Android Studio-\u555f\u7528\u300eClang-Tidy\u300f\u8a9e\u6cd5\u5206\u6790<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2],"class_list":["post-19407","post","type-post","status-publish","format-standard","hentry","category-android","tag-android","entry"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/19407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/comments?post=19407"}],"version-history":[{"count":1,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/19407\/revisions"}],"predecessor-version":[{"id":19409,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/posts\/19407\/revisions\/19409"}],"wp:attachment":[{"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/media?parent=19407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/categories?post=19407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bookcard.net\/wordpress\/wp-json\/wp\/v2\/tags?post=19407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}