-
I'm trying to use Cordova for the first time. When I execute the following command :
I tried a few solutions but none worked for me. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This usually indicates that you have the legacy android tools installed. You can uninstall them by removing the Note that While you're there, I'd recommend going against the documentations and install Command-line tools version 11. Alternatively upgrade your JDK to 17. The latest command line tools requires JDK 17. Lastly a "working" printout will produce something like:
While android target and avdmanager doesn't appear to work in requirements, it shouldn't prevent you from building and running your cordova project. |
Beta Was this translation helpful? Give feedback.
I realise this message isn't very clear, but it means that it's looking for 33.x.x, but you only have 32.0.0 installed. Inside android SDK manager, if you check
Show Package Details
you'll see a list of build tools by their versions and you'll need33.0.2
or later (but not 34.x.x)