Livecode Update - App Update could not be installed because of wrong signature
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Livecode Update - App Update could not be installed because of wrong signature
Hi everybody!
I did update my Livecode from version 8.1.6 to 8.1.9, because i needed a function which is only included in 8.1.9 (export data to specialfolderpath("external documents") (which works great, special thanks to jacque!)
I didn't update the Java SDK yet. its the same version since before.
So, i build the .apk and wanted to install it on the smartphone, but then the following error appeared:
App not installed
A package with the same name but conflicting signature is already installed
I've never got this error before. Every solution i've found in the www based on that i have to delete the app and reinstall the new version. I've tested it on a another phone, it works. But the problem is, i can't delete the app on that phone where it works, because theres a lot of data in the database, which i need after the update. If i delete the app, i'll also delete the whole data.
does anyone have an idea what to do? i didn't change anything in the Standalone developer settings. The signing is still "Sign for development only".
I did update my Livecode from version 8.1.6 to 8.1.9, because i needed a function which is only included in 8.1.9 (export data to specialfolderpath("external documents") (which works great, special thanks to jacque!)
I didn't update the Java SDK yet. its the same version since before.
So, i build the .apk and wanted to install it on the smartphone, but then the following error appeared:
App not installed
A package with the same name but conflicting signature is already installed
I've never got this error before. Every solution i've found in the www based on that i have to delete the app and reinstall the new version. I've tested it on a another phone, it works. But the problem is, i can't delete the app on that phone where it works, because theres a lot of data in the database, which i need after the update. If i delete the app, i'll also delete the whole data.
does anyone have an idea what to do? i didn't change anything in the Standalone developer settings. The signing is still "Sign for development only".
-
- VIP Livecode Opensource Backer
- Posts: 7229
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Livecode Update - App Update could not be installed because of wrong signature
I thin by "signature" it means the reverse-domain you have entered in standalone settings, it would look something like this:
com.domain.appname
That is how Android identifies your app. If you changed that, Android would consider it a different app that happens to have the same name as an existing one. It's true you could delete the old one and that would solve it, but if you changed the signature then try that first.
Edit: I'm not positive, but because you're storing your database to external storage I don't think deleting the app will delete the external file. But even if it does, you could use a backup utility to copy it somewhere for insurance before deleting the app, and then copy it back to its current location after installation. Almost any Android file manager will allow you to move or copy external files. I like Solid Explorer.
com.domain.appname
That is how Android identifies your app. If you changed that, Android would consider it a different app that happens to have the same name as an existing one. It's true you could delete the old one and that would solve it, but if you changed the signature then try that first.
Edit: I'm not positive, but because you're storing your database to external storage I don't think deleting the app will delete the external file. But even if it does, you could use a backup utility to copy it somewhere for insurance before deleting the app, and then copy it back to its current location after installation. Almost any Android file manager will allow you to move or copy external files. I like Solid Explorer.
Last edited by jacque on Wed Feb 14, 2018 8:01 pm, edited 1 time in total.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Livecode Update - App Update could not be installed because of wrong signature
no, i did'nt change that. thats still the same since 1.0.0jacque wrote: ↑Wed Feb 14, 2018 7:57 pmI thin by "signature" it means the reverse-domain you have entered in standalone settings, it would look something like this:
com.domain.appname
That is how Android identifies your app. If you changed that, Android would consider it a different app that happens to have the same name as an existing one. It's true you could delete the old one and that would solve it, but if you changed the signature then try that first.
the only thing i've changed is the version number, but i did this before the livecodeupdate everytime when i save a new .apk too..
-
- VIP Livecode Opensource Backer
- Posts: 7229
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Livecode Update - App Update could not be installed because of wrong signature
Just edited my first post, see above.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
-
- VIP Livecode Opensource Backer
- Posts: 7229
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Livecode Update - App Update could not be installed because of wrong signature
I'm out of ideas, sorry. Hopefully someone else can chime in. Or your could write to support if you aren't using the free version of LC.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Livecode Update - App Update could not be installed because of wrong signature
I have encountered this error. My app was conflicting due to having same reserve-domain with another app however on changing that I got the issue resolved. Thanks a lot for the solution @Jacque.jacque wrote: ↑Wed Feb 14, 2018 7:57 pmI thin by "signature" it means the reverse-domain you have entered in standalone settings, it would look something like this:
com.domain.appname
That is how Android identifies your app. If you changed that, Android would consider it a different app that happens to have the same name as an existing one. It's true you could delete the old one and that would solve it, but if you changed the signature then try that first.
Edit: I'm not positive, but because you're storing your database to external storage I don't think deleting the app will delete the external file. But even if it does, you could use a backup utility to copy it somewhere for insurance before deleting the app, and then copy it back to its current location after installation. Almost any Android file manager will allow you to move or copy external files. I like Solid Explorer.
-
- Posts: 1
- Joined: Tue Sep 15, 2020 3:38 pm
Re: Livecode Update - App Update could not be installed because of wrong signature
Hello Manu9351,
Did you find any solution to this?. I'm facing the same problem. If you find any solution, then let me know.
Regards,
Sherry
Did you find any solution to this?. I'm facing the same problem. If you find any solution, then let me know.
Regards,
Sherry
-
- VIP Livecode Opensource Backer
- Posts: 7229
- Joined: Sat Apr 08, 2006 8:31 pm
- Location: Minneapolis MN
- Contact:
Re: Livecode Update - App Update could not be installed because of wrong signature
I get this error if I have an app on the device that was signed for development, and then try to update it with a new version number that was signed with my key. The only solution is to delete the app from the device, or to rebuild the update as signed for development.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com