2

I have an application that I want to distribute a free and paid version for. However, when I try to install them both on the same phone, they both register as the same application. They have different package names, so I don't know how to differentiate them so that they can install as two applications.

They also both have completely different certificates when I signed them.

Cybran
  • 83
  • 1
  • 1
  • 8

2 Answers2

2

From this question:

The Android SDK formally addresses the issue of a shared or common codebase with something called a library project.

Basically, the shared code is defined as a library project, then a paid and a free version are simply two different projects in your eclipse workbench, both referencing aforementioned library project.

Updated link: http://developer.android.com/guide/developing/projects/projects-eclipse.html

Community
  • 1
  • 1
Nick
  • 748
  • 1
  • 5
  • 23
0

I think it's because you have to firm each app with a different key.

Anearion
  • 103
  • 1
  • 10