Does your Properties\AndroidManifest.xml contain the correct values? 
Properties\AndroidManifest.xml is used as the template for generating 
obj\Release\android\AndroidManifest.xml, so the latter should contain the 
former's data.

It's possible that your .csproj isn't referencing 
Properties\AndroidManifest.xml. To check, open your Project.csproj and see if 
it contains the XML fragment:

        <AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>

Finally, it's possible that you've only done Debug builds since changing the 
version number and not a release build. Are you sure you've done a Release 
build?

Thanks,
 - Jon

On Feb 3, 2012, at 10:50 AM, S.J. Visschers wrote:
> I check the androidManifest.xml in the obj\Release\android directory and the 
> values are ‘1’ and ‘1.0’ instead of ‘2’ and ‘1.1’.
> 
> Any idea how this can happen? Or how I can solve the problem?
> 
>  
> 
> Thanks,
> 
> JeroenV
> 
>  
> 
> From: Jonathan Pryor-2 [via Mono for Android] [mailto:[hidden email]] 
> Sent: vrijdag 3 februari 2012 16:33
> To: Jeroen Visschers
> Subject: Re: Incorrect version number apk
> 
>  
> 
> On Feb 3, 2012, at 5:06 AM, S.J. Visschers wrote: 
> > Meanwhile we have an update ready for this app. I changed the versionnumber 
> > in the manifest from '1' to '2' and the versionname from '1.0' to '1.1'. 
> 
> As a sanity check, open obj\Release\android\AndroidManifest.xml, and ensure 
> that it has the expected attribute values. 
> 
>  - Jon 
> 
> _______________________________________________ 
> Monodroid mailing list 
> [hidden email] 
> 
> UNSUBSCRIBE INFORMATION: 
> click here.
> NAML
> 
> 
> View this message in context: RE: Incorrect version number apk
> Sent from the Mono for Android mailing list archive at Nabble.com.
> _______________________________________________
> Monodroid mailing list
> [email protected]
> 
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to