ionic-team / ionic-team/ionic-cli

"ionic capacitor build" command error

未关闭
#5,119 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
triage
主要语言
TypeScript
星标
2k
派生
682
PR 合并指标
30 天内没有已合并 PR

描述

### Prerequisites

- [x] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/docs/CONTRIBUTING.md#creating-an-issue).
- [x] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [x] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v8.x

### Current Behavior

I installed android studio in custom path then execute "ionic capacitor build" command. It let me make a choice alternately, I can't continue my work🤨
> npm.cmd run ionic:build

> zhnapp@0.0.1 ionic:build
> ionic capacitor build

? What platform would you like to build for? (Use arrow keys)
> android
ios

### Expected Behavior

ionic capacitor build

### Steps to Reproduce

ionic capacitor build

### Code Reproduction URL

https://github.com/aristocracy/ionic-ai-assistant

### Ionic Info

Ionic:

Ionic CLI : 7.2.1 (D:\nvm\v22.16.0\node_modules\@ionic\cli)
Ionic Framework : @ionic/vue 8.6.2

Capacitor:

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

Utility:

cordova-res : not installed globally
native-run : 2.0.1

System:

NodeJS : v22.16.0 (D:\nvm4w\nodejs\node.exe)
npm : 10.9.2
OS : Windows 10

### Additional Information

_No response_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。