Tyrant
Tyrant

Reputation: 60

Ionic run does nothing

While executing ionic run android --device --verbose, there is nothing happens. It logs the below message and nothing happens. ionic compile works though.

ConfigXml.setConfigXml path~to~my~project resetContent=true, errorWhenNotFound=false

ionic info yields the below information

Anyone has any idea what happens here?

Upvotes: 3

Views: 3674

Answers (5)

Arun B Krishnegowda
Arun B Krishnegowda

Reputation: 7

please check compiled api is updated in your sdk manager.

Upvotes: 0

Jose G Varanam
Jose G Varanam

Reputation: 767

I thing the steps below can help to solve your problem:

Make sure you added a platform to your project

ionic platform add android

Once you added the platform. then copy the contents from "www" folder then past on "platforms/android/assets/www" folder. Make sure replace all files other than folder "cordova-js-src" and files "cordova.js", "cordova_plugins.js".

then try to run using cordova

cd {YOUR_PROJECT_DIR}/platforms/android/cordova  [run/build]

Upvotes: -1

Nurdindev
Nurdindev

Reputation: 183

i have some problem the reason from Node Version downgrade to 4 Version.

Upvotes: 0

tasos
tasos

Reputation: 369

I had the same problem and I also downgrade my node...

My system information:

  • Cordova CLI: 5.3.3
  • Gulp version: CLI version 3.8.11
  • Gulp local: Local version 3.9.0
  • Ionic Version: 1.1.0
  • Ionic CLI Version: 1.7.7
  • Ionic App Lib Version: 0.6.3
  • ios-deploy version: 1.7.0
  • ios-sim version: 3.0.0
  • OS: Mac OS X El Capitan
  • Node Version: v5.0.0
  • Xcode version: Xcode 7.1 Build version 7B91b

You only have to:

brew unlink node

brew install homebrew/versions/node012 --without-npm

I don't want brew to install npm package, that is why I use --without-npm

Upvotes: 2

Grace Tay
Grace Tay

Reputation: 336

try to uninstall nodejs v5.0.0 & install nodejs v4.2.1 I was facing the same problem but in Windows 8. It just showing no error and nothing happens. Reverting nodejs version do the trick for me.

Good Luck!

Upvotes: 22

Related Questions