Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

updating android app with eclipse

I'm doing a new version of my android app.

I only changed the versionCode (in the androidmanifest.xml) from 1.0 to 1.1. and now it gives me the error - Float types not allowed (at "versioneCode" with value "1.1").

Also if I rewrite 1.0, it does not work.

Quite baffling.

like image 805
volso Avatar asked Jan 23 '13 11:01

volso


2 Answers

versionCode should be only numbers only and not decimals. You can assign decimals for versionName which is displayed on PlayStore and in App details in the device.

For Example, if you have set versionCode as 1 in your first version it should be now 2.

set it as versionCode="2"

like image 88
TNR Avatar answered Nov 11 '22 23:11

TNR


Version code is in integer numbers ie from 1,2....etc., and only version name is in decimals.

like image 42
Shadow Avatar answered Nov 12 '22 01:11

Shadow