Can you update an Android app with a completly different APK? [duplicate] - android

This question already has answers here:
When updating an Android app does the APK need to be named the same as the original?
(2 answers)
Closed 7 years ago.
I have an app (App1) and it is released and being used. I have made a major update, but originally wanted it to be a new app, so I made another app (App2) in my developer console and began testing there.
I have changed my mind about it being a new app though. I want to update the original App1. I should have just done this in the first place. If I try and upload the App2 apk to App1 I get errors about the signature. Is it possible to copy the signature from App1 to App2 so that I can use the App2 apk to update App1?

If you use the same package name and signing key for both you shouldnt have any problems.
Dont forget to increment the versionCode and the versionName in your build.gradle file or manifest according to your last version, or you will have trouble after uploading it to the playstore.

You need to check the following:
The package name should be same as it was before.
increase the versionCode and versionCode as required.
you need to use the same release keystore as before.
For your app2 to you should also prepare an update which just simply opens the Google Play Store page of app1 and notify the user: "This version is no longer supported please go to app1 download page".

Related

Update apk build by flutter on play store on other build apk that was build by android previously

I have an app on play store i have made that on android. Now i have to make that on flutter. Will apk build on flutter with same package name can be updated on play store for same id.
I have no idea about this scenerio
Yes, you application will have the same id on PlayStore
The application id is only affected if you change the applicationId in the project's module build.gradle file. The file found here project/module/build.gradle.
When you start using Flutter, this file is located here project/android/module/build.gradle eg. Let's say that the project folder is FunnyJokes and you used Android Studio to create your project. Then the location is FunnyJokes/app/build.gradle where app is the name of the module. When you use flutter, this might change to FunnyJokes/android/app/build.gradle
I hope this answers your question extensively.
NB: Also make sure you never lose/change your keystore. If this happens, then you might never be able to update the app on Play Store with the same package name or applicationId

I Open Android Studio For Update My App After Generate Sign APK (What I do with these 2 files)

I generate sign APK and published it successfully.
When I open my Android studio again. My project open and when I click on RUN then this window opens : http://prntscr.com/gn2dt7 Don't know what I write in these fields?
And When I click the fix then this window opens : http://prntscr.com/gn2gvu also don't know what I write in these fields?
Guide Me Please About These Two Files.
Yes you need to run the project once again, before making it as a signed apk change the version name and version number in build.gradle, then go to the playstore where you have published your previous signed apk, at the same place click again to upload apk and publish it. After uploading the apk it shows the update in playstore(it takes some time to show the button update).
You need to update the versionCode (this be always a number and must self-increase) and the versionName in the gradle, after that you only need to build de apk.
Based on my experience it is good to create one key file for every application you will create and you must take care of it .
When you publish new APK file from your project you must change only version number and version name , but you must use existing key filethat you created it before to sign your application's new version .

You need to use a different version code for your APK because you already have one with version code 2

I published my android application in Play Market two days ago. Today I made update of this application. I changed the versionCode in build.gradle from 1 to 2, and versionName from "1.1" to "1.1.1". When I had uploaded the apk file in Google Play Console, the browser crashed. When I had uploaded the apk file again, I got this error:
You need to use a different version code for your APK because you already have one with version code 2.
however there is only one version of my application in "APKs to diactivate" block and there are no APKs in "APKs to add" block.
How can I solve this problem? Thanks in advance!
I found the solution: I pressed "ADD APK FROM LIBRARY" button and there was my apk)
You can do this things
Try to push an apk with version code 3
Make sure the apk you are generating is the apk you are uploading
You are probably facing a very especific issue.
Just change your versionCode to 3 and move on ;)

Rename package name in android using commands

I want to change package name of an android project/apk so that i can have different version's of an application.
For this i have gone through some stackoverflow' questions for this { link1 , link2}. My project is build with gradle. In these stack's answer's i was not cleared where to change in [roject's build.xml or sdk's build.xml.
Is this possible to change package name with "–rename-manifest-package" and release application on google play store? or i need to do somthing else.
For different version, change version on gradle file and make another apk then release it on google plays store. There is an option on google store it should be release new version or something like that.
However, it is not possible to change current application's package name which is on google play store.
If you cannot do, I'll try to add step by step guide.
EDIT:
At first you need to change your app's version in here which is build.gradle(Module: app)
and then you need to create new signed apk since you want to publish it;
After creating signed apk you need to access your developer account and click APK section first and then upload new version of your application.

Google Playstore: Upload Different versions?

is there any possibility to upload different Versions of the same App to the Playstore?
Thanks,
VanDahlen
No, the package name of your app will be the same, Playstore can have only one app with the same package name. Even if your version will be different the package name will be same.
Play store have only one package name regarding to the app,we can upload new .apk file as a new version like 1.1.1(version) with some description.That version we can change in AndroidManifest file.
Yeah, You can upload different version of the same App to the Playstore.
Just Goto AndroidManifest -> change android:versionCode="*"
(i.e. increase the versionCode value by 1).
Every time when you upload the same app on playstore. You have to change the versioncode.
It is upto you, you want to change your versionName or not.

Categories

Resources