Adrxking opened a new issue, #660:
URL: https://github.com/apache/cordova-cli/issues/660

   # Bug Report
   
   ## Problem
   Can't add android platform when using android@13 or android@12.
   I always added android@13 successfully using cordova CLI v11.0.0 but some 
days ago it started to fail with this console error:
   
   `cordova platform add android@13.0.0`
   **Using cordova-fetch for cordova-android@13.0.0
   Adding android project...
   Could not load API for android project 
/Users/adrian/Documents/development/hispatec/godoy-app/cordova/node_modules/cordova-android**
   
   ### What is expected to happen?
   Add the android platform correctly
   
   
   ### What does actually happen?
   It gives an error with this message: "Could not load API for android 
project".
   
   `cordova platform add android@13.0.0`
   **Using cordova-fetch for cordova-android@13.0.0
   Adding android project...
   Could not load API for android project 
/<project>/cordova/node_modules/cordova-android**
   
   
   ## Information
   <!-- Include all relevant information that might help understand and 
reproduce the problem -->
   Im using cordova cli @11.0.0, i cannot upgrade it because its a very legacy 
project, the problem is that it worked fine for years with android@12 and 
android@13.
   
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   cordova platform add android@13.0.0
   
   
   ### Environment, Platform, Device
   Trying on macos sequoia 15.3
   
   ### Version information
   node v14.16.1 - npm v6.14.11 - cordova cli v11.0.0 (with cordova cli v12.0.0 
it does not work because im using node v14) - platform android@13.0.0
   
   
   <img width="1059" alt="Image" 
src="https://github.com/user-attachments/assets/ff0f8228-5a4c-4910-8c89-9668d01cd7f8";
 />
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [ ] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to