尝试运行时,离子构建失败了.cordova build android'

时间:2018-06-14 09:03:39

标签: android cordova ionic-framework ionic2

运行&#cord; buildova'

时出现以下错误
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.

尝试在同一问题的其他解决方案中提及运行离子cordova资源。

每当运行命令时,它都会要求提供凭据。即使输入正确的凭据,它也会显示以下错误。

? Password: [hidden]
Request: POST https://api.ionicjs.com/login
Response: 422
Body:
{ link: null,
message: 'An error occurred while validating the request parameters.',
type: 'UnprocessableEntity',
details: [ { parameter: 'source', errors: [Object], error_type: 'required' } 
]
}

有人可以帮忙吗?

0 个答案:

没有答案