amitsharma amitsharma - 3 months ago 7
Android Question

How to change the version of android application

my main class :-

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class Splash extends Activity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash);
}

}


manifeast:-

package="aaa.amit.com"
android:versionCode="1"//that i have change android:versionCode="2"
android:versionName="1.0" >//android:versionName="1.0.1"

<uses-sdk
android:minSdkVersion="8"

android:targetSdkVersion="18" />


Fingerprints :-

[2013-12-20 17:43:29 - aaa] Certificate fingerprints:
[2013-12-20 17:43:29 - aaa] MD5 : CA:81:DE:6E:C5:35:2A:40:6C:AF:48:57:9E:DE:A5:4F
[2013-12-20 17:43:29 - aaa] SHA1: 50:88:B2:FB:4E:7C:9F:24:15:89:A7:08:09:06:95:5C:DD:BB:8F:48


.................
can any buddy tell me how can i change my version ....
thank u .

Answer

Just try changing .. in your manifest file

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="info.androidhacker.googlemapsv2"
    android:versionCode="2" <!-- 1 / 2 / 3 etc for version code @Thanks laalto ..-->
    android:versionName="1.1" > <!-- 1.1 / 1.2 etc for version name ..-->

Update:: Exporting project ..

(1) Right click on project.
(2) Select Export.
(3) Now check option for android -> Export Android Application.
(4) Check your project name and click next.
(5)Now select option "Use existing keystore" and browse where you need to keep .apk file. Put password which was used for creating first built. click next and fallow other.

Now you can find your new .apk file at place where you located at point-5. 

That's it. you are done with your work.

Comments