I found the answer to my problem in that in the platforms/android/build.gradle , on line 178,
versionCode cdvVersionCode ?: Integer.parseInt("" + privateHelpers.extractIntFromManifest("versionCode") + "0")
at the end means that + "0" thus changes the version code from 7 to 70. Extracting + "0" at the end and changing line 178 to the next solution to this problem.
versionCode cdvVersionCode ?: Integer.parseInt("" + privateHelpers.extractIntFromManifest("versionCode"))
Running aapt.exe l -a on the generated apk now shows A: android:versionCode(0x0101021b)=(type 0x10)0x7
source share