
{"id":7213,"date":"2020-12-01T03:30:00","date_gmt":"2020-12-01T03:30:00","guid":{"rendered":"https:\/\/tapchicntt.com\/?p=7213"},"modified":"2020-12-01T03:30:00","modified_gmt":"2020-12-01T03:30:00","slug":"bai-2-cai-dat-flutter","status":"publish","type":"post","link":"https:\/\/tapchicntt.com\/bai-2-cai-dat-flutter\/","title":{"rendered":"B\u00e0i 2: C\u00e0i \u0111\u1eb7t Flutter"},"content":{"rendered":"\n<p>Trong b\u00e0i h\u1ecdc n\u00e0y, m\u00ecnh s\u1ebd h\u01b0\u1ee1ng d\u1eabn c\u00e1c b\u1ea1n c\u00e0i \u0111\u1eb7t Flutter framework tr\u00ean m\u00e1y t\u00ednh c\u00e1 nh\u00e2n \u0111\u1ec3 chu\u1ea9n b\u1ecb m\u00f4i tr\u01b0\u1eddng h\u1ecdc Flutter<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">C\u00e0i \u0111\u1eb7t Flutter tr\u00ean Window<\/h2>\n\n\n\n<p>C\u00e1c b\u01b0\u1edbc c\u00e0i \u0111\u1eb7t Flutter SDK tr\u00ean Window<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 1<\/strong>\u00a0\u2212 C\u00e1c b\u1ea1n truy c\u1eadp \u0111\u1ecba ch\u1ec9 <a target=\"_blank\" rel=\"noreferrer noopener\" href=\"https:\/\/flutter.dev\/docs\/get-started\/install\/windows\">https:\/\/flutter.dev\/docs\/get-started\/install\/windows<\/a>\u00a0<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 2<\/strong>\u00a0\u2212 Gi\u1ea3i n\u00e9n v\u00f4 th\u01b0 m\u1ee5c b\u1ea5t k\u00ec v\u00ed d\u1ee5 C:\\\\flutter<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 3<\/strong>\u00a0\u2212 C\u1eadp nh\u1eadt system path cho th\u01b0 m\u1ee5c flutter\\bin<\/p>\n\n\n\n<p>Trong thanh t\u00ecm ki\u1ebfm \u1edf Start, b\u1ea1n g\u00f5 \u2018env\u2019 sau \u0111\u00f3 ch\u1ecdn Edit environment variables for your account.<\/p>\n\n\n\n<p> D\u01b0\u1edbi d\u00f2ng ch\u1eef User variables\u00a0\bb\u1ea1n ki\u1ec3m tra n\u1ebfu th\u1ea5y \u00f4 Path: th\u00ec th\u00eam \u0111\u01b0\u1eddng d\u1eabn \u0111\u1ea7y \u0111\u1ee7 c\u1ee7a th\u01b0 m\u1ee5c\u00a0 flutter\\bin\u00a0s\u1eed d\u1ee5ng d\u1ea5u ; \u0111\u1ec3 ng\u0103n c\u00e1ch v\u1edbi c\u00e1c bi\u1ebfn kh\u00e1c.<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 4<\/strong>\u00a0\u2212 Flutter cung c\u1ea5p m\u1ed9t tool g\u1ecdi l\u00e0\u00a0\u00a0<strong>flutter doctor<\/strong>\u00a0\u0111\u1ec3 ki\u1ec3m tra t\u1ea5t c\u1ea3 nh\u1eefng y\u00eau c\u1ea7u c\u1ea7n thi\u1ebft cho m\u00f4i tr\u01b0\u1eddng ph\u00e1t tri\u1ec3n Flutter<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nflutter doctor\n<\/pre><\/div>\n\n\n<p><strong>B\u01b0\u1edbc 5<\/strong>\u00a0\u2212 C\u00e1c b\u1ea1n ch\u1ea1y l\u1ec7nh ph\u00eda tr\u00ean \u0111\u1ec3 h\u1ec7 th\u1ed1ng ki\u1ec3m tra v\u00e0 \u0111\u01b0a ra th\u00f4ng b\u00e1o c\u00e1c y\u00eau c\u1ea7u c\u1ea7n c\u00e0i \u0111\u1eb7t<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 6<\/strong>\u00a0\u2212 C\u00e0i \u0111\u1eb7t b\u1ea3n Android SDK m\u1edbi nh\u1ea5t n\u1ebfu b\u1ea1n ch\u01b0a c\u00e0i \u0111\u1eb7t<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 7<\/strong>\u00a0\u2212 C\u00e0i \u0111\u1eb7t Android Studio m\u1edbi nh\u1ea5t n\u1ebfu b\u1ea1n ch\u01b0a c\u00e0i \u0111\u1eb7t v\u00e0 \u0111\u01b0\u1ee3c c\u1ea3nh b\u00e1o<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 8<\/strong>\u00a0\u2212 B\u1eadt android emulator ho\u1eb7c k\u1ebft n\u1ed1i t\u1edbi m\u1ed9t thi\u1ebft b\u1ecb Android<\/p>\n\n\n\n<p><strong>B\u01b0\u1edbc 9<\/strong>\u00a0\u2212 C\u00e0i \u0111\u1eb7t plugin Flutter v\u00e0 Dart cho Android Studio. Hai plugin n\u00e0y s\u1ebd cung c\u1ea5p c\u00e1c template \u0111\u1ec3 t\u1ea1o \u1ee9ng d\u1ee5ng Flutter v\u00e0 c\u00e1c tu\u1ef3 ch\u1ecdn \u0111\u1ec3 ch\u1ea1y v\u00e0 debug \u1ee9ng d\u1ee5ng Flutter tr\u00ean Android studio<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>M\u1edf Android Studio.<\/li><li>Ch\u1ecdn File \u2192 Settings \u2192 Plugins.<\/li><li>T\u00ecm ki\u1ebfm\u00a0 Flutter plugin v\u00e0 click v\u00e0o Install.<\/li><li>Ch\u1ecdn Yes khi h\u1ec7 th\u1ed1ng y\u00eau c\u1ea7u c\u00e0i \u0111\u1eb7t Dart plugin.<\/li><li>Kh\u1edfi \u0111\u1ed9ng l\u1ea1i Android studio.<\/li><\/ol>\n\n\n\n<p><\/p>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trong b\u00e0i h\u1ecdc n\u00e0y, m\u00ecnh s\u1ebd h\u01b0\u1ee1ng d\u1eabn c\u00e1c b\u1ea1n c\u00e0i \u0111\u1eb7t Flutter framework tr\u00ean m\u00e1y t\u00ednh c\u00e1 nh\u00e2n \u0111\u1ec3 [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":7210,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[214],"tags":[],"class_list":["post-7213","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-flutter"],"views":602,"_links":{"self":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts\/7213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/comments?post=7213"}],"version-history":[{"count":1,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts\/7213\/revisions"}],"predecessor-version":[{"id":7214,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/posts\/7213\/revisions\/7214"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/media\/7210"}],"wp:attachment":[{"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/media?parent=7213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/categories?post=7213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tapchicntt.com\/rest-api\/wp\/v2\/tags?post=7213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}