A new Flutter project. This is a scable directory structrue for Flutter projects.
- Start the emulator on your machine. If you doesn't have one already created, create one.
- Go to root of the project and run
flutter pub get - Click on the green play button at the toolbar of Android Studio.
- Let the application boot and get installed into the emulator.
- Connect your device with laptop using USB and connect mobile with same WiFi to which your laptop is connect
- Open CMD/Terminal
- Check if device correctly connected using
adb devices - Run
adb tcpip 5555 - Open your mobile
Settings>About Phone>Status>IP Address(IP Address will change everytime you connect) - Run
adb connect <your_mobile_ip>eg: -adb connect 192.168.1.6 - Remove the USB cable.
- Run
adb kill-server - Run
adb usb - Run
adb tcpip 5555 - Run
adb connect <your_mobile_ip>:5555
ce0657c677554cba71ec25a7a4084a7ce7e26a22