{"id":15192,"date":"2021-09-13T11:55:30","date_gmt":"2021-09-13T11:55:30","guid":{"rendered":"https:\/\/flobiz.in\/blog\/?p=15192"},"modified":"2021-09-19T06:34:34","modified_gmt":"2021-09-19T06:34:34","slug":"connect-your-android-device-without-usb-connector","status":"publish","type":"post","link":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/connect-your-android-device-without-usb-connector\/","title":{"rendered":"Connect your Android device without USB Connector"},"content":{"rendered":"\n<p id=\"ff4e\">As an Android developer, we are running the app many times a day while developing\/ testing in our mobile for instant results.<\/p>\n\n\n\n<p id=\"89f7\">But we all have faced issues related to&nbsp;USB disconnection. Sometimes broken \/ loose \/ non-functional cables ruin our whole development day.<\/p>\n\n\n\n<p id=\"d128\">To solve this issue we are going to see how we can\u00a0<strong>connect the Android device over wifi using an IP Address<\/strong>.<\/p>\n\n\n\n<p id=\"eeab\"><strong><em>Note<\/em><\/strong>: Both Android and System must be on the <strong><em>same wifi network, for the first time you need to attach the device using your cable.<\/em><\/strong><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"51e9\"><strong>Approach<\/strong><\/h3>\n\n\n\n<p id=\"859e\">We will use&nbsp;<a href=\"https:\/\/developer.android.com\/studio\/command-line\/adb\"><strong>ADB<\/strong><\/a>&nbsp;(Android Debug Bridge) tool which is there in Platform-Tools inside the Android SDK.<\/p>\n\n\n\n<p id=\"a2ae\"><strong>All the below steps are for the Mac, open the terminal and be ready:<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><span class=\"has-inline-color has-blogar-dark-light-color\">First we will set the Android SDK path in base_profile file<\/span><\/li><\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">% echo \u2018export ANDROID_HOME=[ANDROID_SDK_PATH]\u2019 &gt;&gt; ~\/.bash_profile<\/pre>\n\n\n\n<p id=\"dc6f\"><span class=\"has-inline-color has-blogar-dark-light-color\">2. Now set your Platform-Tools path from SDK location<\/span><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">% echo \u2018export PATH=${PATH}:$ANDROID_HOME\/tools:$ANDROID_HOME\/platform-tools\u2019 &gt;&gt; ~\/.bash_profile<\/pre>\n\n\n\n<p id=\"aedb\">3. Reload base_profile file<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">% source ~\/.bash_profile<\/pre>\n\n\n\n<p id=\"d6ad\">4. Set the target device to listen for TCP\/ IP connection on port 5555<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">% adb tcpip 5555<\/pre>\n\n\n\n<p id=\"5290\">5. Find the IP Address from mobile, many ways are available<\/p>\n\n\n\n<p id=\"ca36\"><strong>5.1 : Open Setting -&gt; Search IP Address -&gt; Click on IP address<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/875\/1*8BaeHXODMclD_nWjtMC7aw.jpeg\" alt=\"\" width=\"438\" height=\"438\"\/><figcaption>5.1<\/figcaption><\/figure>\n\n\n\n<p id=\"405f\"><strong>5.2 Open Setting -&gt; About Phone -&gt; Scroll till you find IP Address<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/875\/1*4rsCSCwn0bIi2Ll6NFa2KA.jpeg\" alt=\"\" width=\"438\" height=\"438\"\/><figcaption>5.2<\/figcaption><\/figure>\n\n\n\n<p id=\"7c33\"><strong>5.3 Long Press on Wifi -&gt; Click on Gear Icon -&gt; Advance -&gt; IP Address<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/2000\/1*zaRy3TneZmAXdtIlLae4sg.png\" alt=\"\"\/><figcaption>5.3<\/figcaption><\/figure>\n\n\n\n<p id=\"9eaa\">6. Connect the device using IP Address<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">% adb connect [IP_ADDRESS]<\/pre>\n\n\n\n<p id=\"2995\">7. Remove the cable and check the connection type<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">% adb devices<\/pre>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/848\/1*uH1lcwEX8Q0kH7n4eb9mhw.png\" alt=\"\" width=\"509\" height=\"75\"\/><\/figure>\n\n\n\n<p id=\"1e3e\"><strong>That\u2019s it, now we can run our Android app wirelessly\u00a0<\/strong><\/p>\n\n\n\n<p id=\"034b\">I hope you enjoyed reading this article. Please let me know your suggestions and comments.<\/p>\n\n\n\n<p id=\"fda5\">Thanks for reading\u2026have a good day.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read this blog to know how to solve the issues of USB disconnection as an android developer. <\/p>\n","protected":false},"author":8,"featured_media":15278,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[149],"tags":[],"class_list":["post-15192","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-engineering-product"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Connect your Android device without USB Connector - Flobiz<\/title>\n<meta name=\"description\" content=\"You must have faced the problem of USB getting disconnected on your Android Phone. Here&#039;s how you can connect your android device without using a USB connector.\" \/>\n<link rel=\"canonical\" href=\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Connect your Android device without USB Connector - Flobiz\" \/>\n<meta property=\"og:description\" content=\"You must have faced the problem of USB getting disconnected on your Android Phone. Here&#039;s how you can connect your android device without using a USB connector.\" \/>\n<meta property=\"og:url\" content=\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/\" \/>\n<meta property=\"og:site_name\" content=\"FloBiz\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-13T11:55:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-19T06:34:34+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-content\/uploads\/2021\/09\/Untitled-design-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data1\" content=\"3 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/35.200.248.73\/blog\/#website\",\"url\":\"https:\/\/35.200.248.73\/blog\/\",\"name\":\"FloBiz\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/35.200.248.73\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-content\/uploads\/2021\/09\/Untitled-design-1.png\",\"contentUrl\":\"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-content\/uploads\/2021\/09\/Untitled-design-1.png\",\"width\":1200,\"height\":675,\"caption\":\"Android USB Connector\"},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/#webpage\",\"url\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/\",\"name\":\"Connect your Android device without USB Connector - Flobiz\",\"isPartOf\":{\"@id\":\"https:\/\/35.200.248.73\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/#primaryimage\"},\"datePublished\":\"2021-09-13T11:55:30+00:00\",\"dateModified\":\"2021-09-19T06:34:34+00:00\",\"author\":{\"@id\":\"https:\/\/35.200.248.73\/blog\/#\/schema\/person\/acf0255a56a8dacf88e9a27998430248\"},\"description\":\"You must have faced the problem of USB getting disconnected on your Android Phone. Here's how you can connect your android device without using a USB connector.\",\"breadcrumb\":{\"@id\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/35.200.248.73\/blog\/\",\"url\":\"https:\/\/35.200.248.73\/blog\/\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/\",\"url\":\"http:\/\/35.200.248.73\/blog\/connect-your-android-device-without-usb-connector\/\",\"name\":\"Connect your Android device without USB Connector\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/35.200.248.73\/blog\/#\/schema\/person\/acf0255a56a8dacf88e9a27998430248\",\"name\":\"Dipen Jansari\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/35.200.248.73\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d92393e3a8f1d1045848cb246f4a770d7e44bdcc74f38ac6e0e3bb67d4d10d13?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d92393e3a8f1d1045848cb246f4a770d7e44bdcc74f38ac6e0e3bb67d4d10d13?s=96&d=mm&r=g\",\"caption\":\"Dipen Jansari\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/posts\/15192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/comments?post=15192"}],"version-history":[{"count":7,"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/posts\/15192\/revisions"}],"predecessor-version":[{"id":15352,"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/posts\/15192\/revisions\/15352"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/media\/15278"}],"wp:attachment":[{"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/media?parent=15192"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/categories?post=15192"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/73.248.200.35.bc.googleusercontent.com\/blog\/wp-json\/wp\/v2\/tags?post=15192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}