@@ -125,7 +125,13 @@ If you are using any version of **`cordova-android`** below `10.0.0`, install th
125
125
126
126
Before apps can be deployed to Android simulators and devices, the native project must be configured.
127
127
128
- 1 . ** Generate the native project, if it does not already exist.**
128
+ 1 . ** Perform an Ionic build, if you haven't already.**
129
+
130
+ ```
131
+ $ ionic build
132
+ ```
133
+
134
+ 2 . ** Generate the native project, if it does not already exist.**
129
135
130
136
For Capacitor, run the following:
131
137
@@ -139,7 +145,7 @@ Before apps can be deployed to Android simulators and devices, the native projec
139
145
$ ionic cordova prepare android
140
146
```
141
147
142
- 2 . ** Set the [ Package ID] ( ../reference/glossary.md#package-id ) .**
148
+ 3 . ** Set the [ Package ID] ( ../reference/glossary.md#package-id ) .**
143
149
144
150
For Capacitor, open the ` capacitor.config.json ` file and modify the ` appId ` property.
145
151
@@ -157,9 +163,17 @@ Capacitor uses Android Studio to build and run apps to simulators and devices.
157
163
$ ionic capacitor copy android
158
164
```
159
165
160
- 2 . ** In Android Studio, click the Run button and then select the target simulator or device.**
166
+ 2 . ** Run the app on a simulator or device.**
167
+
168
+ You can open the Android Studio Project using:
169
+
170
+ ``` shell
171
+ $ ionic capacitor open android
172
+ ```
173
+
174
+ In Android Studio, click the Run button and then select the target simulator or device.
161
175
162
- ![ Android Studio Run Button Area] ( /img/running/android-studio-run-button-area.png )
176
+ ![ Android Studio Run Button Area] ( /img/running/android-studio-run-button-area.png )
163
177
164
178
### Live reload
165
179
0 commit comments