y-polek / adb-wi-fi Goto Github PK
View Code? Open in Web Editor NEWAndroid Studio (IntelliJ IDEA) plugin that simplifies "adb over Wi-Fi" usage.
License: Apache License 2.0
Android Studio (IntelliJ IDEA) plugin that simplifies "adb over Wi-Fi" usage.
License: Apache License 2.0
Please add a feature to save devices so I don't have to plug in a USB cable to connect a device that I have connected to previously.
I was facing this type of error
c:\program files\common files\system\symsrv.dll.000 c:\program files\common files\system\symsrv.dll.000 c:\program files\common files\system\symsrv.dll.000 cannot connect to 192.168.31.106:5555: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
Please tell me how can I fixed it!
The kotlin code was modified, but it did not take effect after runIde
Windows 11 Android Subsystem default port is 58526;
but ADB Wi-Fi not support custom port number.
Add instructions about how to run the code if we want to contribute with the project.
Some small documentation about hot to test in our local environment
Incompatible with the new version of IntelliJ IDEA (Incompatible: requires IDE build 211.* or older)
IntelliJ IDEA 2021.2 (Community Edition)
Build #IC-212.4746.92, built on July 27, 2021
Runtime version: 11.0.11+9-b1504.13 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 11.4
There's a bug in this plugin. If you connect your phone over wifi, and then put your laptop to sleep, then bring it back, the plugin won't be able to connect my phone over wifi, even if I try to reconnect it with usb. It helps to relaunch android studio.
When my phone turn on the mobile network and Wi-Fi at the same time, this plugin will get the IP address of the mobile network instead of Wi-Fi(Local Area Network). So it will not be able to connect to my phone.
After I read the code, I guess the cause of this problem comes from this method at
// ADB-Wi-Fi/src/main/kotlin/dev/polek/adbwifi/adb/Adb.kt Line 105-108
private fun address(deviceId: String): String? {
val firstLine = "-s $deviceId shell ip route".exec().firstLine()
return DEVICE_ADDRESS_REGEX.matchEntire(firstLine)?.groupValues?.get(1)
}
When I turn on the mobile network and Wi-Fi together, the return result of command adb shell ip route
is as follows
As you can see, the first line of the result is not the IP address of Wi-Fi.
Is it possible to let us rename the device? cause right now, when you have two the same devices, both have the same naming and the only way to distinguish them is the IP address!
The plugin worked properly before upgrading to MacOS Sonoma, but now it keeps showing a loading bar and doesn't connect to the device over wifi.
Android Studio: Giraffe | 2022.3.1 and up
OS: MacOS Sonoma 14.1
Note: The issue is also present while connecting the device with the Wireless Debugging feature in Android Studio,
Google Issue Tracker: https://issuetracker.google.com/issues/306215396
Hello,
Thanks for this great plugin, it also includes scrcpy
support; but, it is not intuitive to user it with this plugin, i really couldn't find the way to run scrcpy
but just with the bash command; hence, i don't understand what this feature does do.
Could you add some documentation about it? or, could you add a button/command to launch scrcpy
from the tool?
Thanks!
Hi
When I'm connected to my mobile hotspot and the internet it's not possible to connect to the hotspots IP
adb shell ip route
gives me this output
192.168.43.0/24 dev swlan0 proto kernel scope link src 192.168.43.1
Please add an option to connect to this IP
Thanks by the way for this awesome plugin, really helpful
I have installed plugin in my studio. It is working fine for me in android projects. When I am creating Flutter project this plugin is not even showing to me. I am not able to connect device remotely for my flutter projects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.