如何使用离子在android中运行离子应用程序 [英] How to run ionic application in android using ionic

查看:120
本文介绍了如何使用离子在android中运行离子应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

*出了什么问题:

配置根项目'android'时出现问题。

> SDK目录D:\ androidsource不存在。



*尝试:

使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行以获得更多日志输出。

在ChildProcess.whenDone(D:\ ion-proj \Reports \ platforms \ android \ coordova \ node_modules\cordova-common\src\superspawn.js:169:23)



我的尝试:



尝试在我的android上运行我的应用程序时遇到此问题

解决方案

按照此处的设置说明操作:< a href =https://ionicframework.com/docs/developer-resources/platform-setup/windows-setup.html> Ionic Resources | Windows平台设置 [ ^ ]

* What went wrong:
A problem occurred configuring root project 'android'.
> The SDK directory 'D:\androidsource' does not exist.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
at ChildProcess.whenDone (D:\ion-proj\Reports\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)

What I have tried:

I have this problem when trying to run my application on my android

解决方案

Follow the setup instructions here : Ionic Resources | Windows Platform Setup[^]


这篇关于如何使用离子在android中运行离子应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆