How to Run Flutter APP without Emulator and USB Debugging method

How to Run Flutter APP in Browser without Emulator and USB Debugging method 


  • In this tutorial i will demonstrate " How to Run Flutter APP in Browser without Emulator and USB Debugging method ".
  •  Most of them think must need android emulator for debug your flutter app and some people think must need android mobile for debug your flutter app
  •  If you don't have android emulator or mobile phone, You will never run(DEBUG) my flutter app 
  • The above statement is totally false. 
  • Because i will find a new method for debug your Flutter apps like you can use only the chrome browser you can easily debug it or run it . In this method very fast
  • Hot reload  is available for in this method. It takes for hot reload time maximum 0.5 ms 


Interesting one

   This method work on very useful for low configuration system like low RAM and Normal Processor system

Installation guide

Step 1 : 

   you can Download flutter SDK
Download link : 
git clone https://github.com/flutter/flutter.git -b stable

Step 2 :

   Extract the Flutter download file 

Step 3 :

   setup your flutter path
export PATH="$PATH:`pwd`/flutter/bin"
Replace pwd to your flutter location  like 

export PATH="$PATH: /home/flutter/bin"

Step 4 :
flutter upgrade
Step 5 :
flutter channel master
Step 6 :
flutter config --enable-web
Step 7 :
flutter devices
Step 8 :
flutter create myapp
You can give any name flutter app name like

 flutter create <anyname>

Step 9 :
cd myapp
Change you directory into your flutter app

Step 10 :
flutter run -d web-server
Step 11 :




Finally you can copy that link the paste your chrome browser


Output of the project 



  • I hope guys you would enjoyed this tutorial
  • If you have any doubts please comment or contact me on social link








Share:

No comments:

Post a Comment