IntelliJ/AndroidStudio plugin which provides a button to connect your Android device over WiFi to install, run and debug your applications without a USB connected.

Related tags

Tools AndroidWiFiADB
Overview

Android WiFi ADB - IntelliJ/Android Studio Plugin Android Arsenal

Android WiFi ADB

IntelliJ and Android Studio plugin created to quickly connect your Android device over WiFi to install, run and debug your applications without a USB connected. Press one button and forget about your USB cable.

Android WiFI ADB plugin adds a button Android WiFi ADB Button to your IntelliJ/Android Studio Toolbar to connect your device to your computer over WiFi.

To use this plugin the project opened in your IntelliJ/Android Studio has to be an Android project configured with the Android SDK.

Archived repository: Maintaining this project up to date for all the different Android devices without having access to the physical devices is not possible at all right now. Most of the bugs reported ar related to the adb installation and not to the plugin code so this repository will keep archived for now.

Screenshots

Connect all devices button:

Android WiFi ADB Usage

Devices dashboard:

Android Devices Window

Usage

Connect your device to your computer using a USB cable. Then press the button, and a notification will pop up saying that the phone has been connected. Disconnect your USB once the plugin shows your device is connected. Open the Android WiFi ADB tab at the right side to see all the devices and manage your connections. Your device will be connected over WiFi now. You can now deploy, run and debug your device using your WiFi connection. Remember that your device and your computer have to be in the same WiFi connection. Also, you have to first connect your device with a USB every time you open Android Studio, for setting up the connection over WiFi.

If you want to handle your devices connection individually, open the Android WiFi ADB dashboard you will find at the right of your IDE.

Installation

Download and install Android WiFi ADB directly from Intellij / Android Studio: Preferences/Settings->Plugins->Browse Repositories

Alternatively, you can download the plugin from the JetBrains plugin site and install it manually in: Preferences/Settings->Plugins->Install plugin from disk.

Build the project

If you need some information about how to build this project review IntelliJ Idea's Gradle Plugin documentation.

Do you want to contribute?

Please, do it! If you have any improvement or you've found any bug, send a pull request with the code or open an issue :)

Libraries used on the sample project

Developed By

Follow me on Twitter Add me to Linkedin

License

Copyright 2015 Pedro Vicente Gómez Sánchez

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Comments
  • Moto G3 connects fine but removing cable disconnects the device

    Moto G3 connects fine but removing cable disconnects the device

    When I connect my Moto G3 to the Android Studio and click on the plugin icon I see that phone gets connected properly but at the same time when I remove the usb cable it is gone. No device is connected as soon as I remove the cable.

    I am able to connect fine by adb tcpip 5555, remove cable, and adb connect ip-address.

    opened by sudhirkhanger 12
  • Version 1.1 not working on windows 10 with ANDROID_HOME variable path.

    Version 1.1 not working on windows 10 with ANDROID_HOME variable path.

    I have installed version 1.1 just now but it also fails to connect to device over wifi.

    error : adb command not found , Review your android SDK installation.

    my environment variable setting ANDROID_HOME = D:\SOFTWARE\adt_bundle\sdk\platform-tools

    bug 
    opened by pinakinkansara 12
  • Unable to connect device 'GT_I9300'. Review your connection

    Unable to connect device 'GT_I9300'. Review your connection

    I'm using the 1.2 version of this plugin together with AS 1.5 Preview 2.

    The S3 is in my WiFi and I can also ping to it from my computer and vice versa.

    Do you know what could be the issue?

    question 
    opened by vanniktech 11
  • Unable to connect device 'MI_4W'. Review your WiFi connection.

    Unable to connect device 'MI_4W'. Review your WiFi connection.

    I connect Mobile Device to PC use Usb and click that button, but AndroidStudio point

     Android WiFi ADB
     Unable to connect device 'MI_4W'. Review your WiFi connection.
    

    I am sure the wifi is same in mobile and pc

    bug 
    opened by maoruibin 10
  • There are no devices connected. Review your USB connection and try again.

    There are no devices connected. Review your USB connection and try again.

    I'm getting this error over and over.

    08:35:15 Android WiFi ADB: There are no devices connected. Review your USB connection and try again. 
    08:35:27 Adb connection Error:Se ha forzado la interrupción de una conexión existente por el host remoto
    08:35:28 Connection attempts: 1
    

    Using Windows 10, AS 1.4 and One plus One device.

    bug 
    opened by MiguelCatalan 8
  • Exception thrown when running USB to WIFI

    Exception thrown when running USB to WIFI

    I have installed the plugin from the repository inside the Android Studio. Version installed is 1.0.1 I am running AS 1.4 ANDROID_HOME is created and added to my path I have restarted AS and adb several times and I get the same exception when trying to do USB to WIFI screen shot 2015-10-23 at 10 26 46 am

    bug 
    opened by danlegion 7
  • String index out of range: -5

    String index out of range: -5

    String index out of range: -5 java.lang.StringIndexOutOfBoundsException: String index out of range: -5 at java.lang.String.substring(String.java:1937) at com.github.pedrovgs.androidwifiadb.adb.ADBParser.parseGetDeviceIp(ADBParser.java:71) at com.github.pedrovgs.androidwifiadb.adb.ADB.getDeviceIp(ADB.java:68) at com.github.pedrovgs.androidwifiadb.adb.ADB.connectDeviceByIp(ADB.java:56) at com.github.pedrovgs.androidwifiadb.adb.ADB.connectDevices(ADB.java:49) at com.github.pedrovgs.androidwifiadb.AndroidWiFiADB.connectDevices(AndroidWiFiADB.java:45) at com.github.pedrovgs.androidwifiadb.action.AndroidWiFiADBAction$1.run(AndroidWiFiADBAction.java:52) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:695) at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)

    bug 
    opened by mnleano 6
  • String index out of range: -5

    String index out of range: -5

    From a Windows environment I get this Exception:

    String index out of range: -5
    java.lang.StringIndexOutOfBoundsException: String index out of range: -5
        at java.lang.String.substring(String.java:1954)
        at com.github.pedrovgs.androidwifiadb.adb.ADBParser.parseGetDeviceIp(ADBParser.java:69)
        at com.github.pedrovgs.androidwifiadb.adb.ADB.getDeviceIp(ADB.java:68)
        at com.github.pedrovgs.androidwifiadb.adb.ADB.connectDeviceByIp(ADB.java:56)
        at com.github.pedrovgs.androidwifiadb.adb.ADB.connectDevices(ADB.java:49)
        at com.github.pedrovgs.androidwifiadb.AndroidWiFiADB.connectDevices(AndroidWiFiADB.java:43)
        at com.github.pedrovgs.androidwifiadb.action.AndroidWiFiADBAction$1.run(AndroidWiFiADBAction.java:51)
        at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:400)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:745)
        at org.jetbrains.ide.PooledThreadExecutor$1$1.run(PooledThreadExecutor.java:56)
    

    EDIT: FYI it is a Windows 10

    bug 
    opened by MiguelCatalan 6
  • Do not depend on the ANDROID_HOME environment variable.

    Do not depend on the ANDROID_HOME environment variable.

    I had tried to declare system variable ANDROID_HOME with values 'D:\Users\Administrator\AppData\Local\Android', 'D:\Users\Administrator\AppData\Local\Android\sdk', 'D:\Users\Administrator\AppData\Local\Android\sdk\platform-tools', 'D:\Users\Administrator\AppData\Local\Android\sdk\platform-tools\adb.exe', but none of them work. The plugin kept saying that 'adb commond not found. Review your Android SDK installation'. I also had declared user variable 'ANDROID_HOME', it's not work too. My PC is WIN7.

    enhancement 
    opened by bu2zhouzhu 5
  • Device connected successful,but device disconnect after disconnected USB

    Device connected successful,but device disconnect after disconnected USB

    abc cde

    Device connection is successful, the connected devices list there are two devices, but after disconnected USB, the two devices are gone. This phone and my computer can transfer data via the same WIFI. Maybe WIFI ADB is not compatible with my phone?

    phone:moto x style pc:win8.1

    wontfix 
    opened by treycc 4
  • Cann't connect to my device

    Cann't connect to my device

    When I'm trying to connect to my device, I get this "10060" error. I wanna know how to fix it anxiously.

    `D:\Space\ASSpace\android>adb tcpip 5555 restarting in TCP mode port: 5555

    D:\Space\ASSpace\android>adb connect 10.2.5.29 unable to connect to 10.2.5.29:5555: cannot connect to 10.2.5.29:5555: 由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。 (10060) `

    question 
    opened by DysaniazzZ 3
  • Unable to connect to device 'MI_5'

    Unable to connect to device 'MI_5'

    Hello, I linked my phone with my pc by usb3.0, open the hotpot of pc, open the wifi of phone and make phone connect to the hotpot of pc. Unfortunately, I got a trouble in AndroidStudio:Unable to connect to device 'MI_5'. Make sure that your computer and your device are connected to the same WiFi network. Could u tell me how to fix it? The info of my IDE is as follows:

    Android Studio 3.3.2 Build #AI-182.5107.16.33.5314842, built on February 16, 2019 JRE: 1.8.0_152-release-1248-b01 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0

    opened by stefango 0
  • Why (one plus) plugged in dose not see my phone?

    Why (one plus) plugged in dose not see my phone?

    I plug my phone in and AS lets me run my app but ADB dose not see my phone it is a one plus 6t maybe there is no support is my guess

    Thank you in advance for any help.

    question 
    opened by Miguelacosta90 2
  • Cannot connect device with Android Studio 3.3.2 and Android 8.1

    Cannot connect device with Android Studio 3.3.2 and Android 8.1

    After clicking Connect, android studio prompted "Unable to connect to device......Same network" and on device, it prompted for permission. After allowed on device, click "Connect" on android studio, looping the issue.

    Please help. Thanks.

    bug 
    opened by mikechy2005 18
  • Does not work over Wifi Direct

    Does not work over Wifi Direct

    Hi All,

    I am working on two apps that use a Wifi Direct connection to connect to each other. I wanted to use this to update one of the apps as I make very frequent changes to the code. However, when I connect my laptop to the Wifi Direct network Wifi ADB still gives me the "Please connect to the same Wifi network" error. What can I do to fix this?

    Thanks, Washingdone

    help wanted question 
    opened by washingdone 0
  • Connecting without using USB cable for the first time

    Connecting without using USB cable for the first time

    It is possible to connect without using a cable at all (at least on some devices). All the information needed is IP address of the device. Is it possible to implement inputting of IP address within the plugin GUI? It would be much more convenient if a cable is not required.

    enhancement 
    opened by asdzxcasd 1
Releases(2.4)
Owner
Pedro Gómez
"Sometimes it is the people no one imagines anything of who do the things no one can imagine." - Alan Turing
Pedro Gómez
🍼Debug Bottle is an Android runtime debug / develop tools written using kotlin language.

???? 中文 / ???? 日本語 / ???? English ?? Debug Bottle An Android debug / develop tools written using Kotlin language. All the features in Debug bottle are

Yuriel Arlencloyn 846 Nov 14, 2022
Android USB host serial driver library for CDC, FTDI, Arduino and other devices.

usb-serial-for-android This is a driver library for communication with Arduinos and other USB serial hardware on Android, using the Android USB Host M

mike w 3.8k Dec 30, 2022
This application will provide information about almost all currently plugged-in USB devices.

USB Device Info Android 3.1 introduced USB host mode which allows the user to plug USB devices to your Android tablet in the same way as a Desktop PC

Alexandros Schillings 153 Nov 18, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
A tool to install components of the Android SDK into a Maven repository or repository manager to use with the Android Maven Plugin, Gradle and other tools.

Maven Android SDK Deployer Original author including numerous fixes and changes: Manfred Moser [email protected] at simpligility technologies i

simpligility 1.4k Dec 27, 2022
This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically.

#Android Localizationer This is a Android Studio/ IntelliJ IDEA plugin to localize your Android app, translate your string resources automactically. T

Wesley Lin 822 Dec 8, 2022
A super fast build tool for Android, an alternative to Instant Run

Freeline Freeline is a super fast build tool for Android and an alternative to Instant Run. Caching reusable class files and resource indices, it enab

Alibaba 5.5k Jan 2, 2023
A library which will save you a lot of time from writing the same intent creation code. it consist of many intent creation codes like Share, Contacts, Email and etc, which you can easily use.

Android-Intent-Library A library which will save you a lot of time from writing the same intent creation code. it consist of many intent creation code

Next 67 Aug 24, 2022
TaggerString is very light library which allows to build dynamic string resource in much more readable way.

TaggerString TaggerString is very light library which allows to build dynamic string resource in much more readable way. I guess that every Android de

polok 241 Jun 3, 2022
Android Resource Manager application to manage and analysis your app resources with many features like image resize, Color, Dimens and code Analysis

Android Resource Manager application to manage and analysis your app resources with many features like image resize, Color, Dimens and code Analysis

Amr Hesham 26 Nov 16, 2022
Taskbar puts a start menu and recent apps tray on top of your screen that's accessible at any time

Taskbar puts a start menu and recent apps tray on top of your screen that's accessible at any time, increasing your productivity and turning your Andr

Braden Farmer 551 Dec 31, 2022
A simple utility to remove unused resources in your Android app to lower the size of the APK. It's based on the Android lint tool output.

android-resource-remover android-resource-remover is utility that removes unused resources reported by Android Lint from your project. The goal is to

Keepsafe 1.3k Dec 16, 2022
An android library that handles the closing of your app interactively.

Shutdown A library that handles the closing of your app interactively. Overview of Shutdown library Shutdown library handles the closing of your app i

Emmanuel Kehinde 56 Oct 5, 2022
A surgical debugging tool to uncover the layers under your app.

Scalpel DEPRECATED! Android Studio 4.0's layout inspector now includes a live-updating 3D view. Use it! A surgical debugging tool to uncover the layer

Jake Wharton 2.8k Jan 3, 2023
The metrics layer for your data

metriql metriql lets you define your business metrics and share them across different data tools. It uses dbt for the transformation layer and integra

metriql 227 Dec 29, 2022
Simple library to generate and view PDF in Android

PDFCreatorAndroid Simple library to generate and view PDF in Android A simple library to create and view PDF with zero dependency Or native code. Add

Tej Pratap Singh 234 Dec 11, 2022
Android Material Design Theme UI and Tool Library. Support: 4.0.3~O

GitHub OSChina 中文 English Genius-Android Genius-Android: by Material Design style and some commonly used packages. Starting in 2015, The divided into

Qiujuer 2.3k Dec 27, 2022