"versioncode" is automatically generated by cordova if absent from config.xml, it bases it on the version attribute which you can set in your project settings.
[quote:1crvit9w] To change the version code for your app's generated apk, set the android-versionCode attribute in the widget element of your application's config.xml file. If the android-versionCode is not set, the version code will be determined using the version attribute. For example, if the version is MAJOR.MINOR.PATCH:
versionCode = MAJOR * 10000 + MINOR * 100 + PATCH
There is a small confusion that we use 4 value version numbers by default for compatibility with certain exporters that require it, but Android uses 3 value numbers. I believe Android doesn't really care about having the extra value, but cordova ignores it when generating the version code.
+---------+-------------+
| Version | VersionCode |
+---------+-------------+
| 1.0.0.0 | 10000 |
+---------+-------------+
| 1.0.0.1 | 10000 |
+---------+-------------+
| 1.0.0 | 10000 |
+---------+-------------+
| 1.0.1.0 | 10001 |
+---------+-------------+
| 1.1.0 | 10100 |
+---------+-------------+
| 2.0.0 | 20000 |
+---------+-------------+[/code:1crvit9w]