erdomester
erdomester

Reputation: 11829

Android application name confusion

I have created an app with a full and a lite version.

Lite version: AndroidManifest.xml android:label="@string/app_name" which is SomeApp Lite.

Full version: AndroidManifest.xml android:label="@string/app_name" which is SomeApp.

Signed apks are SomeAppLite.apk and SomeApp.apk. When I open an installer app on my phone, it shows both apps as SomeApp Lite 1.0 (ofc with the different .apk names).

Where do I miss something?

strings.xml files:

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="hello">SomeApp</string>
    <string name="app_name">SomeApp</string>
    <string name="widget_text">Loading...</string>
</resources>


<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="hello">SomeApp Lite</string>
    <string name="app_name">SomeApp Lite</string>
    <string name="widget_text">Loading...</string>
</resources>

Upvotes: 0

Views: 114

Answers (1)

Bill Gary
Bill Gary

Reputation: 3005

you need to use different package names. if the name is the same, the phone and the Android Market consider both the same app.

Upvotes: 2

Related Questions