My flutter project runs on real devices with F5 or with
flutter run --release
on real devices connected to the PC. It also worked on emulators (Windows 10) and simulators (macOS) but it stopped, getting an endless loading screen right after splash screen. On iOS i got this message in the logs:
PET daemon has launched
Failed to initialize PET service. Exiting...
Failed to initialize the tracker
Anyone an idea?
Try these three one by one:
1- flutter clean , flutter doctor (then resolve if there are any errors)
2- Search for dart.flutterAdditionalArgs in your vs code settings.
and remove args against it.
3- go to Android Studio , Uninstall all the sdk tools you have installed ,then reinstall it
I found the issue. It was the internet connection. Tried another one and it works.
Just getting started with flutter development and facing this error
I have been running flutter in emulator and just launched it on a physical device yesterday, and now, I am getting this issue. I can neither launch emulator nor physical device now. I have tried many things, and have flutter SDK components installed. My android studio is the latest version. I am a beginner to flutter, would be a great help if you could help.HERE IS THE IMAGE:
I was working on my flutter project (course in udemy, the course used AVD instead of genymotion) (mobile, without any platform-specific features) and came to add an image with Image.network(imageUrl). All the other widgets worked perfectly fine, yet the moment I come to a screen with Image.network(imageUrl), genymotion freezes and does not get any input. When I tried it on an Android Virtual Device in Android Studio, it worked perfectly fine! Why does this happen?
My Project runs on emulator without any error but when i run it on my physical device it stuck while installing the apk. It does not show any error just stuck on installation.