Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Start here if you are setting up a brand new development environment, or want to reconfigure your environment from scratch.

Requirements:

The instructions below assume you already have available:

To set up your IntelliJ project:

  • Launch the New Project wizard by closing your project File | Close Project.
  • Then click Open from the splash page to open a new project (Depending on what version of IntelliJ you may need to find an option to "Import project" instead)
  • Select the settings.gradle.kts in the root of your beam git repo

...

Set Names count to use static import with '*'; to 999


Issues when building:

When building the project with IntelliJ, you may encounter some issues, here is the fix for each issue:

Flutter finished with non-zero exit value 1

Image Added

When you get this issue, you should make sure that ChromeDriver is installed and running with the command chromedriver --port=4444 and duplicate or rename the file config.example.dart to config.g.dart in the folder playground/frontend/lib.

If you want to see exactly what cause the issue, you can ran just the task that failed. For this example, you could ran the task as the following:  ./gradlew integrationTest_standalone_change_example_sdk_run and see the error message.

If you got as an error message the following, then you should only rename the file config.example.dart to config.g.dart

Image Added

If you got this error message, then you should run ChromeDriver with the following command chromedriver --port=4444

Info
titleChromeDriver

Note: You should keep ChromeDriver running until the build is finished.

Image Added