Thanks! and a possible update?
heya! thank you for your blog and repo
I've been tinkering with it, and was having udev issues
then I remembered ... i can debug & run over wifi
so on my host computer, I do the
adb tcpip 5555
adb connect xxx.xxx.xxx.xxx:5555 // IP address of your device xxx.xxx.xxx.xxx:5555
commands, and from there flutter run works without needing to deal with usb
Hi,
Thanks for posting this update!
I've tested your solution but I had some connectivity issues. Sometimes I wasn't able to connect to my Android device over WiFi. Eventually, when I managed to establish the connection I can't run my project with flutter run (no devices was detected).
However, I kept trying and I ended up with this set of instructions which allows me to install Flutter apps over WiFi:
- From your host machine:
- install
adbtool (more info here link), - connect your device via USB,
- from console, type:
adb tcpip 5555, - then:
adb connect xxxx.xxxx.xxxx.xxxx:5555(xxxx.xxxx.xxxx.xxxx is an IP address of your Android device), - if the connection is successfully established then you can unplug your device and move to the next point, otherwise some errors occurred. Sometimes it is helpfull to issue
adb tcpip 5555command twice or change port number (from 5555 to something else that is not used).
- From container terminal type the following commands:
cd ~/Android/Sdk/platform-tools,./adb tcpip 55555555 is a port number so type the same that you used in the host machine./adb connect xxxx.xxxx.xxxx.xxxx:5555xxxx.xxxx.xxxx.xxxx is an IP address of your Android device.
Maybe I'm missing something and it can be done in an easier way but I wasn't managed to.
awesome! Hopefully i'll get back to this project this week :)