简体   繁体   中英

I install my application from memory card. It replaces my another app

I have developed two apps for Android. I copy them to memory card of my LG P500 via USB. I use AppsInstaller for that. First app installation is okay. I see it's icon and can run it.

Installation of the second app replaces the first. I don't see the icon of my second app in Android. I only see the icon of the first app. But touching it runs the second app.

First app has icons in appropriate project folder as

res/drawable-hdpi/icon.png
res/drawable-ldpi/icon.png
res/drawable-mdpi/icon.png

I use myApp2.png for icons in second project folder.

Nevertheless 2-nd replaces the 1-st app. What's wrong in my project?

Thanks.

这是因为两个应用程序的Package Name都相同,因此只需更改PackageName。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM