aws-amplify / aws-amplify/amplify-cli
initializing project Android Application is not recognized on Amplify init
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### How did you install the Amplify CLI?
npm
### If applicable, what version of Node.js are you using?
20.5.1
### Amplify CLI Version
12.4.0
### What operating system are you using?
macOS
### Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
### Describe the bug
When user initializes an Amplify project on an Android project, the CLI does not recognize the project type
### Expected behavior
Amplify CLI should know the Android project when it is initialized
### Reproduction steps
1. Create an Android project
2. Run `amplify init`
Expected: The App type is shown as Android
Current: (The current step information)
```
Project information
| Name: MyApplication2
| Environment: dev
| Default editor: Visual Studio Code
| App type: javascript
| Javascript framework: none
| Source Directory Path: src
| Distribution Directory Path: dist
| Build Command: npm run-script build
| Start Command: npm run-script start
```
### Project Identifier
_No response_
### Log output
```
# Put your logs below this line
```
### Additional information
_No response_
### Before submitting, please confirm:
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
- [X] I have removed any sensitive information from my code snippets and submission.
Contributor guide
Research direction
Start by reproducing the issue with an Android project and `amplify init`, then trace the CLI's project-type detection from that entry point. The work is done when initialization identifies the project as Android and displays the expected Android app information instead of JavaScript defaults.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, typescript
- Domain
- cli, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100