New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ionic run anroid - command is successfully executed, but ionic is not trying to install the apk on phone with node v5.8.0 #920
Comments
Hey there, thanks for the issue. Does running |
hi @tlancina ,
cordova version: 5.3.3 I guess I should report this to cordova because it is not ionic issue? |
Hello @petervojtek ! Did you get a chance to talk to the cordova team about this? |
hi @jgw96 , no as I did not received response for my last question. However now I tried to find a way how to submit issue to apache cordova jira, but the help page says "click the blue "Create" button at the top of the Cordova JIRA page to create an issue." However as a logger user, I see there only red Create button and by clicking it I am allowed to create only "Create Service Desk Request'. |
@petervojtek ahh OK sorry about that. So I'm guessing you have all the Android tools installed on your machine correct? Android tools being adb, fast boot etc? |
@jgw96 , I hope my environment is setup properly regarding android deployment because when I use nodejs v0.12.7, I can run After then when I switch nodejs version (via nvm) to v5.8.0, I do no other changes to the enviroment, only change nodejs using nvm. |
hmmm sounds like it is set up correctly then. Does it only happen with this app? Or does it happen with any ionic app? |
So far I played with two Ionic 2 apps and I experience the issue with both of them:
|
@petervojtek Would you mind running |
@jgw96 , here is outcome for your request:
|
@petervojtek Thanks for working with me and thanks for your patience (: Would you mind deleting your node_modules folder in the project we just created above, and then run |
here is the full shell output of |
I have the same exact issue. |
For me, it was a missing dependency on the package.json |
Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue. Thank you for using Ionic! |
Hello,
I have ionic 2 project and
ionic run anroid
seems to end up prematurely, but its exit status is 0 and no errors are displayed.My steps:
i fetch the sample project via
ionic start MyIonic2Project tutorial --v2
.I add anroid platform, it performs successfully:
I connect smartphone and run
ionic run android
and this is the output:and that is all.
the
ionic run android
command exit status is 0, and ionic made no attempt to build the apk and upload it to the smartphone.What is suspicious to me is that the directory
platforms/android
has only 2.8MB and 211 items. Other ionic projects i played with had this directory much larger (hundreds of MB).nodejs: 5.8.0., npm: 3.7.3, ubuntu 14.04 32bit, ionic version 2.0.0-beta.22
Update:
When I downgrade nodejs version from 5.8.0 to v0.12.7, it builds and deploys the apk to android smartphone properly.
The text was updated successfully, but these errors were encountered: