Skip to content

Commit 7de4ca7

Browse files
committed
Add entries for Android Studio and IntelliJ
1 parent 4d9adbf commit 7de4ca7

File tree

1 file changed

+111
-1
lines changed

1 file changed

+111
-1
lines changed

src/content/reference/create-new-app.md

+111-1
Original file line numberDiff line numberDiff line change
@@ -148,19 +148,74 @@ you first need to [install Flutter][flutter-setup] and
148148
Then follow these steps:
149149

150150
1. <h3>Launch Android Studio</h3>
151+
152+
Open Android Studio with the Dart and Flutter plugins installed.
153+
151154
1. <h3>Begin project creation</h3>
155+
156+
If you're on the IDE welcome dialog that says **Welcome to Android Studio**,
157+
find and click the **New Flutter Project** button in the center.
158+
159+
If you already have a project open, either close it or
160+
go to **File** <span aria-label="and then">></span> **New**
161+
<span aria-label="and then">></span> **New Flutter Project...**.
162+
152163
1. <h3>Choose a project type</h3>
164+
165+
In the **New Project** dialog, under **Generators** in the left panel,
166+
select **Flutter**.
167+
168+
1. <h3>Verify Flutter SDK setup</h3>
169+
170+
At the top of the right panel, ensure the **Flutter SDK path** value matches
171+
the location of the Flutter SDK you'd like to develop with.
172+
If not, update it by choosing or specifying the correct one.
173+
153174
1. <h3>Configure your project</h3>
175+
176+
Click **Next** to continue to project configuration.
177+
Multiple configuration options should appear.
178+
179+
In the **Project name** field, enter a name for your app that
180+
follows the `lowercase_with_underscores` naming convention,
181+
following the [Effective Dart][package-name] guidelines.
182+
183+
If you're not creating an application,
184+
select another template from the **Project type** dropdown.
185+
186+
If you're creating an app that you might publish in the future,
187+
set the **Organization** field [to your company domain][as-set-org].
188+
189+
The other fields can be kept as is or
190+
configured according to your project's needs.
191+
154192
1. <h3>Finish project creation</h3>
193+
194+
Once you've completed the configuration of your project,
195+
click **Create** to begin project initialization.
196+
197+
1. <h3>Wait for workspace initialization</h3>
198+
199+
Android Studio will now initialize your workspace,
200+
bootstrap your project file structure,
201+
and retrieve your app's dependencies.
202+
This might take a while and can be tracked at the bottom of the window.
203+
155204
1. <h3>Run your app</h3>
156205

206+
Your new app should now be created and open in Android Studio.
207+
To try your new app,
208+
follow the steps to [run and debug][as-run] in Android Studio.
209+
157210
{:.steps}
158211

159212
You've successfully created a new Flutter app in Android Studio!
160213
If you need more help with developing Flutter in Android Studio,
161214
check out the [Android Studio for Flutter reference][as-more].
162215

163216
[as-setup]: /tools/android-studio#installation-and-setup
217+
[as-set-org]: /tools/android-studio#set-the-company-domain
218+
[as-run]: /tools/android-studio#running-and-debugging
164219
[as-more]: /tools/android-studio
165220

166221
## IntelliJ
@@ -170,13 +225,67 @@ you first need to [install Flutter][flutter-setup] and
170225
[set up IntelliJ][ij-setup] for Flutter development.
171226
Then follow these steps:
172227

173-
1. <h3>Launch IntelliJ or other JetBrains IDE</h3>
228+
1. <h3>Launch IntelliJ</h3>
229+
230+
Open IntelliJ IDEA or your preferred IntelliJ-based IDE by JetBrains
231+
that has the Dart and Flutter plugins installed.
232+
174233
1. <h3>Begin project creation</h3>
234+
235+
If you're on the IDE welcome dialog that says **Welcome to IntelliJ IDEA**,
236+
find and click the **New Project** button in the upper right corner.
237+
238+
If you already have a project open, either close it or
239+
go to **File** <span aria-label="and then">></span> **New**
240+
<span aria-label="and then">></span> **New Project...**.
241+
175242
1. <h3>Choose a project type</h3>
243+
244+
In the **New Project** dialog, under **Generators** in the left panel,
245+
select **Flutter**.
246+
247+
1. <h3>Verify Flutter SDK setup</h3>
248+
249+
At the top of the right panel, ensure the **Flutter SDK path** value matches
250+
the location of the Flutter SDK you'd like to develop with.
251+
If not, update it by choosing or specifying the correct one.
252+
176253
1. <h3>Configure your project</h3>
254+
255+
Click **Next** to continue to project configuration.
256+
Multiple configuration options should appear.
257+
258+
In the **Project name** field, enter a name for your app that
259+
follows the `lowercase_with_underscores` naming convention,
260+
following the [Effective Dart][package-name] guidelines.
261+
262+
If you're not creating an application,
263+
select another template from the **Project type** dropdown.
264+
265+
If you're creating an app that you might publish in the future,
266+
set the **Organization** field [to your company domain][ij-set-org].
267+
268+
The other fields can be kept as is or
269+
configured according to your project's needs.
270+
177271
1. <h3>Finish project creation</h3>
272+
273+
Once you've completed the configuration of your project,
274+
click **Create** to begin project initialization.
275+
276+
1. <h3>Wait for workspace initialization</h3>
277+
278+
IntelliJ will now initialize your workspace,
279+
bootstrap your project file structure,
280+
and retrieve your app's dependencies.
281+
This might take a while and can be tracked at the bottom of the window.
282+
178283
1. <h3>Run your app</h3>
179284

285+
Your new app should now be created and open in IntelliJ.
286+
To try your new app,
287+
follow the steps to [run and debug][ij-run] in IntelliJ.
288+
180289
{:.steps}
181290

182291
You've successfully created a new Flutter app in IntelliJ!
@@ -185,6 +294,7 @@ check out the [IntelliJ for Flutter reference][ij-more].
185294

186295
[ij-setup]: /tools/android-studio#installation-and-setup
187296
[ij-more]: /tools/android-studio
297+
[ij-run]: /tools/android-studio#running-and-debugging
188298

189299
## Project IDX
190300

0 commit comments

Comments
 (0)