I want to use a specific version of cordova android (lets say 6.2.2). I know it can be done by this command :
cordova add platform android@6.2.2
But I want to know if there is way to just add platform and the version to put it inside the xml.
I have seen also this question How can I specify the minimum SDK in phonegap? It is ignoring android-minsdkversion in config.xml but I cannot figure out how it can be possible
This is done using the <engine>
tag:
<engine name="android" spec="^6.3.0" />
<engine name="ios" spec="~4.5.1" />
<engine name="browser" spec="latest" />
You can find the docs for it here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.