Giter Club home page Giter Club logo

Comments (13)

vaenow avatar vaenow commented on July 2, 2024 1

Hi @arthurflor,

I googled some tips for you. This is most likely a problem with your APK signature

Vote 58

The problem is the keys that have been used to sign the APKs, by default if you are running directly from your IDE and opening your Emulator, the APK installed in the Emulator is signed with your debug-key(usually installed in ~/.android/debug.keystore), so if the previous APK was signed with a different key other than the one you are currently using you will always get the signatures conflict, in order to fix it, make sure you are using the very same key to sign both APKs, even if the previous APK was signed with a debug-key from another SDK, the keys will definitely be different.

Also if you don't know exactly what key was used before to sign the apk and yet you want to install the new version of your app, you can just uninstall the previous application and reinstall the new one.

Vote 171

I had the same error message, but these answers did not help. On a 4.3 nexus 7, I was using a user who was NOT the owner. I had uninstalled the older version but I kept getting the same message.Solution: I had to login as the owner and go to Settings -> Apps, then swipe to the All tab. Scroll down to the very end of the list where the old versions are listed with a mark 'not installed'. Select it and press the 'settings' button in the top right corner and finally 'uninstall for all users'

https://stackoverflow.com/questions/19959890/android-app-not-install-an-existing-package-by-the-same-name-with-a-conflicting

from cordova-plugin-app-update.

arthurflor23 avatar arthurflor23 commented on July 2, 2024

Hi,
I'm using Ionic, but I checked and it didn't work.
The curious thing is that when removing the plugin, I can install normally (creating the APK with the same commands).
:/

from cordova-plugin-app-update.

johnha90 avatar johnha90 commented on July 2, 2024

Hi,
i developed an apps using this plugin. i installed the app, working well. when i installed another app with the same plugin, i faced the same problem.
/*
An existing package by the same name with a conflicting signature is already installed
*/
can you check for us to resolve this issue.

from cordova-plugin-app-update.

ttgzs avatar ttgzs commented on July 2, 2024

Hi,I have the same problem. two app is different packagename,when i installed another app with the same authority provider;


from cordova-plugin-app-update.

ttgzs avatar ttgzs commented on July 2, 2024

hi,Validated, after 1.3.5 in AndroidManifest. XML, add

<provider android:authorities="com.vaenow.appupdate.android.provider" android:exported="false" android:grantUriPermissions="true" android:name="com.vaenow.appupdate.android.GenericFileProvider">

, resulting in build apk, has the same signature。now ,I ‘m using 1.3.5

from cordova-plugin-app-update.

vaenow avatar vaenow commented on July 2, 2024

Hey guys, do you have any advices ? 🆘

from cordova-plugin-app-update.

loban avatar loban commented on July 2, 2024

I made a PR that fixes this!
#80
I had made an earlier PR that fixed it, but it got removed by other commits later.

from cordova-plugin-app-update.

mojiaming avatar mojiaming commented on July 2, 2024

Hi,I have the same problem.How to solve?

from cordova-plugin-app-update.

loban avatar loban commented on July 2, 2024

@mojiaming, until my pull request is merged, use my fork at https://github.com/loban/cordova-plugin-app-update or https://www.npmjs.com/package/cordova-plugin-app-update-fork

from cordova-plugin-app-update.

samsonps01 avatar samsonps01 commented on July 2, 2024

@loban I tried using your fork, it gives me following error when I run "ionic cordova run android"

Err: UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Unhandled "error" event. (The platform "android" does not appear to be a valid cordova platform. It is missing API.js. android not supported.)

Can you help me with this?

from cordova-plugin-app-update.

loban avatar loban commented on July 2, 2024

@mojiaming That error seems unrelated to this plugin. Please uninstall this plugin and double check if the error is still there or not. BTW, my patch has been merged so you can try the mainline plugin again. I'll keep my fork up until this plugin has a new release or two.

from cordova-plugin-app-update.

vaenow avatar vaenow commented on July 2, 2024

Thank you so much for your path. @loban

from cordova-plugin-app-update.

loban avatar loban commented on July 2, 2024

You're most welcome, @vaenow! :-D

from cordova-plugin-app-update.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.