{"id":4446,"date":"2023-08-23T14:06:39","date_gmt":"2023-08-23T06:06:39","guid":{"rendered":"https:\/\/blog.odjbinail.cn\/?p=4446"},"modified":"2023-08-23T14:06:39","modified_gmt":"2023-08-23T06:06:39","slug":"idea%e8%bf%90%e8%a1%8c%e5%ae%89%e5%8d%93%e9%a1%b9%e7%9b%ae%e8%a7%a3%e5%86%b3%e6%8a%a5%e9%94%99sdk-location-not-found-define-location-with-sdk-dir-in-the-local-properties","status":"publish","type":"post","link":"https:\/\/blog.odjbinail.cn\/?p=4446","title":{"rendered":"IDEA\u8fd0\u884c\u5b89\u5353\u9879\u76ee\u89e3\u51b3\u62a5\u9519&#8221;SDK location not found. Define location with sdk.dir in the local.properties&#8221;"},"content":{"rendered":"<ul>\n<li>\n<p>\u5728\u5b89\u5353\u9879\u76ee\u6839\u76ee\u5f55\u4e2d\u5982\u679c\u6ca1\u6709 local.properties \u6587\u4ef6\u5219\u65b0\u5efa\u4e00\u4e2a<\/p>\n<\/li>\n<li>\n<p>\u5185\u5bb9\u586b\u5165\u4f60\u5b9e\u9645\u7684 android-sdk \u76ee\u5f55, \u5373\u53ef\u89e3\u51b3\u95ee\u9898<\/p>\n<\/li>\n<\/ul>\n<pre class=\"prettyprint linenums\" ><code>sdk.dir=D\\:\\\\android-sdk-windows<\/code><\/pre>\n<p><img data-original=\"https:\/\/blog.odjbinail.cn\/wp-content\/uploads\/2023\/08\/2023082314062326.png\"  alt=\"\" \/><\/p>\n<noscript><img decoding=\"async\" src=\"https:\/\/blog.odjbinail.cn\/wp-content\/uploads\/2023\/08\/2023082314062326.png\" alt=\"\" \/><\/p><\/noscript>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u5b89\u5353\u9879\u76ee\u6839\u76ee\u5f55\u4e2d\u5982\u679c\u6ca1\u6709 local.properties \u6587\u4ef6\u5219\u65b0\u5efa\u4e00\u4e2a \u5185\u5bb9\u586b\u5165\u4f60\u5b9e\u9645\u7684 android [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4446","post","type-post","status-publish","format-standard","hentry","category-1"],"_links":{"self":[{"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=\/wp\/v2\/posts\/4446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4446"}],"version-history":[{"count":3,"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=\/wp\/v2\/posts\/4446\/revisions"}],"predecessor-version":[{"id":4450,"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=\/wp\/v2\/posts\/4446\/revisions\/4450"}],"wp:attachment":[{"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.odjbinail.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}