ionic-team / ionic-team/ionic-cli

bug: `ionic deploy configure` doesn't recognize my custom 'Android' native project's path!

Open
#4,718 0 comments 0 reactions 0 assignees View on GitHub
triage
Dominant language
TypeScript
Stars
2k
Forks
682
PR merge metrics
No merged PRs in 30d

Description

**Description:**
If I already have changed my default **Android** native project's path in `capacitor.config.json` file, when I run `ionic deploy configure` command, it doesn't recognize my Android project!

**Steps to Reproduce:**
1. Change the default **Android** native project's path in `capacitor.config.json` file to something else such as `dist/android`.
2. Run `npx cap add android`.
3. Run `ionic deploy configure`.

**Output:**
```
[WARN] No Capacitor Android project found

You will need to rerun ionic deploy configure if you add it later.
```

**My `ionic info`:**
```
Ionic:

Ionic CLI : 6.16.2 (C:\Users\ponte\AppData\Roaming\npm\node_modules\@ionic\cli)

Capacitor:

Capacitor CLI : 3.0.0
@capacitor/android : 3.0.0
@capacitor/core : 3.0.0
@capacitor/ios : 3.0.0

Utility:

cordova-res : 0.15.3
native-run (update available: 1.4.0) : 1.3.1

System:

NodeJS : v14.15.1 (C:\Program Files\nodejs\node.exe)
npm : 6.14.8
OS : Windows 10
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.