skip to Main Content

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?

2

Answers


  1. Chosen as BEST ANSWER

    I found the issue. It was the internet connection. Tried another one and it works.


  2. 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
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search