Hi I am developing an application that your use is private and i prefer not to upload to Google play.
When the app opens check if exist new updates in a server, if exist download the apk and then install
Intent i = new Intent();
i.setAction(Intent.ACTION_VIEW);
i.setDataAndType(Uri.fromFile(new File(Environment.getExternalStorageDirectory() + "/ipacUpdates/ipac.apk")), "application/vnd.android.package-archive" );
this.ctx.startActivity(i);
When the installation finishes shows this error
an existing package by the same name with a confilcting signature is already installed
Both apk builded with the same machine and tested on avd emulator
.
What can be happening?