{"id":333,"date":"2025-09-17T06:12:35","date_gmt":"2025-09-17T06:12:35","guid":{"rendered":"https:\/\/blog.chaiyakul.com\/?p=333"},"modified":"2025-09-17T06:12:35","modified_gmt":"2025-09-17T06:12:35","slug":"adb-devices-on-windows","status":"publish","type":"post","link":"https:\/\/blog.chaiyakul.com\/index.php\/2025\/09\/17\/adb-devices-on-windows\/","title":{"rendered":"\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07 adb devices \u0e1a\u0e19 Windows"},"content":{"rendered":"\n<p><code>adb devices<\/code> \u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e02\u0e2d\u0e07 <strong>ADB (Android Debug Bridge)<\/strong> \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e40\u0e1e\u0e37\u0e48\u0e2d\u0e14\u0e39\u0e27\u0e48\u0e32\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e40\u0e23\u0e32\u0e15\u0e48\u0e2d\u0e01\u0e31\u0e1a\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c Android \u0e2d\u0e30\u0e44\u0e23\u0e1a\u0e49\u0e32\u0e07<\/p>\n\n\n\n<p>\u0e40\u0e21\u0e37\u0e48\u0e2d\u0e1e\u0e34\u0e21\u0e1e\u0e4c<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nadb devices\n<\/pre><\/div>\n\n\n<p>ADB \u0e08\u0e30\u0e42\u0e0a\u0e27\u0e4c\u0e23\u0e32\u0e22\u0e01\u0e32\u0e23\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e17\u0e35\u0e48\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e1c\u0e48\u0e32\u0e19 USB (\u0e2b\u0e23\u0e37\u0e2d TCP\/IP \u0e16\u0e49\u0e32\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e1c\u0e48\u0e32\u0e19 WiFi) \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e01\u0e31\u0e1a\u0e2a\u0e16\u0e32\u0e19\u0e30 \u0e40\u0e0a\u0e48\u0e19:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nList of devices attached\nR9JR408XKAJ     device\nemulator-5554   device\n0123456789ABCDEF unauthorized\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">\u0e04\u0e33\u0e2d\u0e18\u0e34\u0e1a\u0e32\u0e22\u0e1c\u0e25\u0e25\u0e31\u0e1e\u0e18\u0e4c<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>device<\/code> \u2192 \u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e1b\u0e01\u0e15\u0e34 \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19<\/li>\n\n\n\n<li><code>unauthorized<\/code> \u2192 \u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07 Android \u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e2d\u0e19\u0e38\u0e0d\u0e32\u0e15 (\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e14 &#8220;Allow USB debugging&#8221; \u0e1a\u0e19\u0e21\u0e37\u0e2d\u0e16\u0e37\u0e2d)<\/li>\n\n\n\n<li><code>offline<\/code> \u2192 ADB \u0e15\u0e34\u0e14\u0e15\u0e48\u0e2d\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49 (\u0e2d\u0e32\u0e08\u0e40\u0e1b\u0e47\u0e19\u0e40\u0e1e\u0e23\u0e32\u0e30\u0e2a\u0e32\u0e22 USB, driver, \u0e2b\u0e23\u0e37\u0e2d service ADB \u0e04\u0e49\u0e32\u0e07)<\/li>\n\n\n\n<li>\u0e16\u0e49\u0e32\u0e44\u0e21\u0e48\u0e21\u0e35\u0e2d\u0e30\u0e44\u0e23\u0e02\u0e36\u0e49\u0e19 \u2192 \u0e44\u0e21\u0e48\u0e21\u0e35\u0e2d\u0e38\u0e1b\u0e01\u0e23\u0e13\u0e4c\u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d<\/li>\n<\/ul>\n\n\n\n<p><u><strong>\u0e27\u0e34\u0e18\u0e35\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 adb<\/strong><\/u><\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u0e27\u0e34\u0e18\u0e35\u0e41\u0e01\u0e49<\/h5>\n\n\n\n<p><strong>1.\u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 ADB \u0e01\u0e48\u0e2d\u0e19<\/strong><\/p>\n\n\n\n<p>\u0e14\u0e32\u0e27\u0e19\u0e4c\u0e42\u0e2b\u0e25\u0e14 <strong>Android SDK Platform-Tools<\/strong> \u0e08\u0e32\u0e01 Google:<br>\ud83d\udc49 <a>https:\/\/developer.android.com\/studio\/releases\/platform-tools<\/a><\/p>\n\n\n\n<p>2.<strong>\u0e40\u0e1e\u0e34\u0e48\u0e21 path \u0e43\u0e2b\u0e49 Windows \u0e23\u0e39\u0e49\u0e08\u0e31\u0e01 adb<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0e40\u0e1b\u0e34\u0e14 <strong>Environment Variables<\/strong>\n<ol class=\"wp-block-list\">\n<li>\u0e01\u0e14\u0e1b\u0e38\u0e48\u0e21 <code>Win + R<\/code> \u2192 \u0e1e\u0e34\u0e21\u0e1e\u0e4c <code>sysdm.cpl<\/code> \u2192 Enter<\/li>\n\n\n\n<li>\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e41\u0e17\u0e47\u0e1a <strong>Advanced<\/strong> \u2192 \u0e01\u0e14 <strong>Environment Variables<\/strong><\/li>\n\n\n\n<li>\u0e43\u0e19\u0e0a\u0e48\u0e2d\u0e07 <strong>System variables<\/strong> \u2192 \u0e2b\u0e32 <strong>Path<\/strong> \u2192 \u0e01\u0e14 <strong>Edit<\/strong><\/li>\n\n\n\n<li>\u0e01\u0e14 <strong>New<\/strong> \u0e41\u0e25\u0e49\u0e27\u0e43\u0e2a\u0e48 path \u0e02\u0e2d\u0e07\u0e42\u0e1f\u0e25\u0e40\u0e14\u0e2d\u0e23\u0e4c <code>platform-tools<\/code> \u0e40\u0e0a\u0e48\u0e19<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nC:\\Users\\mill\\Desktop\\application\\platform-tools\n<\/pre><\/div>\n\n\n<p>              5. \u0e01\u0e14 OK \u0e43\u0e2b\u0e49\u0e2b\u0e21\u0e14<\/p>\n\n\n\n<p>3.<strong>\u0e40\u0e1b\u0e34\u0e14 PowerShell \u0e2b\u0e23\u0e37\u0e2d CMD \u0e43\u0e2b\u0e21\u0e48<\/strong> \u0e41\u0e25\u0e49\u0e27\u0e25\u0e2d\u0e07\u0e1e\u0e34\u0e21\u0e1e\u0e4c:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nadb version\n<\/pre><\/div>\n\n\n<p>\u0e16\u0e49\u0e32\u0e40\u0e08\u0e2d\u0e08\u0e30\u0e41\u0e2a\u0e14\u0e07\u0e40\u0e27\u0e2d\u0e23\u0e4c\u0e0a\u0e31\u0e19 ADB \u0e40\u0e0a\u0e48\u0e19<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nAndroid Debug Bridge version 1.0.41\n<\/pre><\/div>\n\n\n<p>4.\u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e25\u0e2d\u0e07\u0e43\u0e2b\u0e21\u0e48<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nadb devices\n<\/pre><\/div>\n\n\n<h5 class=\"wp-block-heading\">\u0e2a\u0e23\u0e38\u0e1b\u0e2a\u0e31\u0e49\u0e19 \u0e46<\/h5>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>device<\/code> \u2192 \u0e1e\u0e23\u0e49\u0e2d\u0e21\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 (\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49 <code>adb install<\/code>, <code>adb logcat<\/code>, <code>adb shell<\/code> \u0e44\u0e14\u0e49\u0e40\u0e25\u0e22)<\/li>\n\n\n\n<li>\u0e16\u0e49\u0e32\u0e40\u0e08\u0e2d <code>unauthorized<\/code> \u2192 \u0e15\u0e49\u0e2d\u0e07\u0e01\u0e14 &#8220;Allow USB debugging&#8221; \u0e1a\u0e19\u0e21\u0e37\u0e2d\u0e16\u0e37\u0e2d<\/li>\n\n\n\n<li>\u0e16\u0e49\u0e32\u0e40\u0e08\u0e2d <code>offline<\/code> \u2192 \u0e2d\u0e32\u0e08\u0e15\u0e49\u0e2d\u0e07\u0e16\u0e2d\u0e14\u0e40\u0e2a\u0e35\u0e22\u0e1a\u0e2a\u0e32\u0e22\u0e43\u0e2b\u0e21\u0e48 \u0e2b\u0e23\u0e37\u0e2d\u0e23\u0e35\u0e2a\u0e15\u0e32\u0e23\u0e4c\u0e17 <code>adb server<\/code> \u0e14\u0e49\u0e27\u0e22\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nadb kill-server\nadb start-server\n<\/pre><\/div>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>adb devices \u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e2a\u0e31\u0e48\u0e07\u0e02\u0e2d\u0e07 ADB (Android Debug Bridge) \u0e17\u0e35 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_editorskit_title_hidden":false,"_editorskit_reading_time":0,"_editorskit_is_block_options_detached":false,"_editorskit_block_options_position":"{}","footnotes":""},"categories":[102,103],"tags":[],"class_list":["post-333","post","type-post","status-publish","format-standard","hentry","category-android","category-windows"],"_links":{"self":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/comments?post=333"}],"version-history":[{"count":1,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/333\/revisions"}],"predecessor-version":[{"id":334,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/posts\/333\/revisions\/334"}],"wp:attachment":[{"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/media?parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/categories?post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chaiyakul.com\/index.php\/wp-json\/wp\/v2\/tags?post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}