User Tag List

Results 1 to 4 of 4

Thread: My new .apk overwrites the old one on the same phone. why?

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export Module

    Join Date
    Apr 2014
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    My new .apk overwrites the old one on the same phone. why?

    Hi,
    I install the first .apk and test it successfully. I make another .apk (with the same keystore if it matters) and try to install it on the samme phone besides the first app. It promps "the file already exists. Do you want to overwrite it?
    So when I press "ok" it overwrites the old app so I on ly have one app (the new one) instead of two?
    Why it happens?
    Ho do I fix it?

    Another thing is that although it overwrites the old app it keeps it's name. So the new app shows by the old name (name of the 1st app).
    Why? How do I fix it?

    Thanks in advance

    PS.: specs: I have Android 2.3, 3.0 and 4.0 (quadcore) - same result on all 3 devices.

  2. #2
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    961
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It could be if you have given your app/game the same package name (it can be changed under the Android tab in the application properties)

    Naturally, if you install a new version with the same package name, it will overwrite (update) it.
    If you were wanting two separate apps, then you'd assign a different package name, usually as com.yourcompany.yourapplication .

    Make sure your package has a unique name, so it doesn't overwrite/remove other apps with the same name!

    As for the old name, changing it under the About tab in the application properties should change it to the new one when you re-built the APK... and has the same package name.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleXNA Export Module

    Join Date
    Apr 2014
    Posts
    15
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Again lh37! You also helped me with another topic just before !
    Now I know what a "package name" actually Means. Because before I just thought that by Building an .apk under a new name should do it. Well, it doesn't, and now I know it :-) . Another problem solved I guess :-)

    Thank you very much

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleInstall Creator Pro

    Join Date
    Dec 2010
    Location
    United Kingdom
    Posts
    961
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're welcome!

Similar Threads

  1. Replies: 10
    Last Post: 28th April 2014, 04:05 PM
  2. XNA, Windows Phone
    By Francois in forum XNA Export Module Version 2.0
    Replies: 6
    Last Post: 14th June 2013, 05:44 AM
  3. XNA phone & sounds pbs
    By Ronan in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 19th August 2012, 06:02 PM
  4. What phone?
    By life2searching in forum XNA Export Module Version 2.0
    Replies: 2
    Last Post: 9th October 2011, 09:36 AM
  5. ID of phone
    By DT in forum Android Export Module Version 2.0
    Replies: 2
    Last Post: 30th November 2010, 02:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •