Ionic run does nothing

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

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

  • Cordova CLI: 5.3.3
  • Ionic Version: 1.1.0
  • Ionic CLI Version: 1.7.7
  • Ionic App Lib Version: 0.6.3
  • ios-deploy version: 1.8.2
  • ios-sim version: 5.0.2
  • OS: Mac OS X El Capitan
  • Node Version: v5.0.0
  • Xcode version: Xcode 7.0.1 Build version 7A1001

Anyone has any idea what happens here?

profilepic.png
manpreet 2 years ago

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]

0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.