I have cordova app.
Earlier I published my app in apk, but yesterday I published my app in aab.
When the update was uploaded, in many android devices there is no Update button in Play Market, only Open button, but the version and date of updating were changed in the page of app in Market. If I delete app from device and install from Play market, and then update aab one more time, there is Update button. But how can I force users with old apk version to update the app if they dont have Update button?
Did anyone face with this problem?
I want to run my application in phone but I get following message:
Installation failed with message:
INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package signatures do not match
the previously installed version; ignoring!.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
In my phone I have installed previous version of app from google play. I know that uninstalling old version of app from my phone can fix the problem but I don't want to do this because then I might lose all app specific data.
What I tried:
generating signed version of app using the same keystore.jks like previously
changing versionCode and versionName in build.grandle file and then generating new version of app
And still I have the same problem. What should I do to update my app without losing data?
There are two possibilities I can think of
You use Google Play App Signing. If you use Google Play App Signing then the signature in apps coming from Google Play will always be different to the app coming from your IDE. The only way you can get the update to work is to update the app from Google Play. The best way to do this during development is to use an "Internal test track". Google launched these at Google I/O this year and they let you update your app in seconds from Google Play. So when you have an update, don't install from your IDE, upload to Google Play internal test track, republish, and then update from Google Play. It is really quick.
You don't use Google Play App Signing, but you are trying to install your debug build instead of your release/production build. Make sure you are building the production release APK, so it is signed with the same key as the one uploaded to Google Play.
If I'm understanding correctly you want to re install the "same" apk in your phone but with some changes in the code (updates) but Android Studio can't install the new apk.
I can only think in one thing, this is the explanation:
Please remember that android has different "Build Variants" there could be many but you will always have "debug" and "production" build variants, as I can read, you have installed the one in Play Store this means that you have a "production" build variant already installed in your phone, so you need a new "production" variant version of your app with the same build data (code and name version) and the updates in the code.
Build a signed apk with the same data as the previous version (code and name version) (Just like the one you used to upload to Play Store).
Find the signed apk.
Use adb to check your connected devices, expect a list
adb devices
Use adb to install this new apk.
adb -s <device_identifier> install <apk_name_include_apk>
Following those steps should let you install what you need.
Go in your React Native > Android >app
in the app folder,
you can see a build just delete this folder and Clear React Native project by npm cache clean cmd/Terminal Command.
Now try to run I hope it will Run for some of you.
It's working for me.
I have an app installed in multiple devices running 6.0.1 and 5.1. The package name used is com.mycompany.cricket. This application is not available in Play store.
Now today I published the same app with a different package name - com.mycompany.friskies. If I try to install this app from Play Store then, I get "Error Code: -505" and app doesn't get installed.
If I uninstall the app com.mycompany.cricket from my device, then I can install com.mycompany.friskies from Play Store but lof of our clients are already using com.mycompany.cricket, so we can't tell them to uninstall that and install the new app from Play Store. This app (com.mycompany.cricket) is available from the Beta testing platform TestFairy.
Both of these apps are signed using the same release key.
Please help what could be the reason.
I have a deployed an android app which has not been uploaded to Google Play according to the requirement of the client. I want to update the apk without uploading to Google Play and keeping the existing data of the current app. Is there a possibility to update the installed apk using a new apk by the device?
Thank you
You need to download the updated .apk from your server through your app, then you can install the apk through action Intent.
For more detail on how to install the apk from app refer the following link.
https://stackoverflow.com/a/4969421/1405008
We are using Trigger.io to package our sencha toucha app for the google play store. The problems comes when we upload an update to the play store. As soon as a user updates his app to a new version it stops working. It only works if you uninstall the previous version and do a fresh install. Can anyone help in this regard?