When I run the app it get stuck
Launching lib\\main.dart on Lenovo A319 in debug mode...
Running Gradle task \'assembleDebug\'...
(This is taking an unexpec
Finally i fixed it. The problem is mostly due to android SDK or gradle built tool
There are different ways you can try to fix it. way 1. check whether google drivers are installed . you can find them in sdk manager of the android studio
way 2. flutter doctor -v flutter doctor --android-licenses (#this will check whether all the licenses of android are accepted)
way 3. flutter clean;flutter build apk
flutter run ( In the start it will take time for assembledeubg so kindly be patient for 7 to 10 mins)
way 4. If this also do not work flutter clean flutter run (be patient and finally after 5 to 10 min your flutter code will run on the emulator)
Hope these solutions work for you, If not reply me back.