If you’re finding that your project fails to build and you have added Actions to the Application Launched Event, these may be the source of the problem.
To check this, open Lifecycle on the left of the editor and click Manage for the Application Launched Event. Actions that require a page context will cause your build to fail. You can only use certain Actions in the launch Event, mainly those dealing with logic and variables - such as If Else and Set Value (for example to set an initial value for a device variable). Remove any other Actions from the list and try your build again.
If your build still fails send us a message via the chat in the editor and our developers will check your project to find the issue.