Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Android™ Development

Reply
New Member
Posts: 1
Registered: ‎03-07-2012
My Device: Play Book
My Carrier: Starhub
Accepted Solution

How to increase application version number in Android runtime eclipse plugin

I am using BlackBerry Android runtime eclipse plugin to code sign my application. It is successful first time, later I changed some code and code sign it again and get error


Error: Code signing request failed because this file has been previously signed.    <MyApp>.bar    /<MyWorkspace>/dist/Android 2.3.1   <MyWorkspace>\<MyApp>.bar    BlackBerry Previously Signed

 

Then I read some post in this forum and find some version number in <MyApp>.xml need to be increased to solve my error, but I cannot find such a file and the version number in the eclipse project. It would be appreciate if someone can tell me how to increase version number in a project created by BlackBerry Android runtime eclipse plugin.

Highlighted
Contributor
Posts: 21
Registered: ‎03-07-2012
My Device: Developer
My Carrier: T-Mobile

Re: How to increase application version number in Android runtime eclipse plugin

You need to edit the AndroidManifest.xml file that you'll find in the root of the project in Eclipse.

Just increase the versionCode parameter by 1.

 

http://developer.android.com/guide/publishing/versioning.html