Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

1.3K
Views
An error occurred while running subprocess cordova. Why?

I make mobile game on JS, and i use Ionic for build Android app. For adding to my project Android Platform i writed:

C:\TB>ionic cordova prepare android

But this back me:

? Platform android is not installed! Would you like to install it? Yes
> cordova.cmd platform add android --save

You have been opted out of telemetry. To change this, run: cordova telemetry on.
Using cordova-fetch for cordova-android@9.1.0
Adding android project...
Could not load API for android project C:\TB\node_modules\cordova-android
[ERROR] An error occurred while running subprocess cordova.

        cordova.cmd platform add android --save exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.

At my node_modules folder have subfolder cordova-android, why ionic?! How can i fix this? P.S. My android SDK at needed folder AppData\Local\Android\Sdk

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Try running the following commands

ionic cordova platform rm android

ionic cordova platform add android

ionic cordova build android

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!