简体   繁体   English

重新启动已上传到Google Play商店的Android应用程序

[英]Restarting Android application that has been uploaded to Google Play Store

I created an Android application a few months back and uploaded it to the Google Play Store. 几个月前,我创建了一个Android应用程序,并将其上传到Google Play商店。 Over the past few months I've had a lot of practice with Java and Android development; 在过去的几个月中,我在Java和Android开发方面进行了很多练习。 naturally, I decided to update my Android application with my new found knowledge. 自然,我决定使用新发现的知识来更新Android应用程序。 After exploration of my Android code I was horrified by how unorganized and sloppy my entire application was. 探索了我的Android代码之后,我对整个应用程序的混乱程度感到震惊。 I then decided it would be best for me to simply start the application from scratch - Create a new Android Studio project and develop a brand new app. 然后,我决定最好从头开始启动应用程序-创建一个新的Android Studio项目并开发一个全新的应用程序。 Then it occurred to me the problems that might arise when signing the application and re-uploading it to the Google Play Store. 然后我想到了对应用程序进行签名并将其重新上传到Google Play商店时可能出现的问题。

Can someone explain to me how I should go about re-creating an Android application I have already uploaded to the Play Store? 有人可以向我解释如何重新创建已经上传到Play商店的Android应用程序吗? Is this allowed or will I need to work with the current code I have? 这是允许的,还是我需要使用当前的代码?

You can re-write the whole application. 您可以重新编写整个应用程序。 but if you want to update the application then you have to keep the same Package name which you use for the first time while uploading on play store. 但是如果要更新应用程序,则必须保留在Play商店上载时第一次使用的包名称。 and also you need to change the version and version code. 并且您还需要更改版本和版本代码。 and in the end when you build signed APK you have to use the old Key store file which you use for the first time for building signed APK 最后,当您构建签名的APK时,您必须使用第一次用于构建签名的APK的旧密钥存储文件

if you want to upload newly created app with same package then do this in your already uploaded apk : 如果您想上传具有相同软件包的新创建的应用,请在已经上传的apk中执行以下操作:

unpublish it & rename its package name from google play console. 取消发布并从Google Play控制台重命名其包名称。

Now you can use same package name for your new app. 现在,您可以为新应用使用相同的程序包名称。 Else you can change package name by setting application id in your build.gradle file you can set package name by module settings > select app > flavours tab > application id Now you can decide how you want upload your app. 另外,您可以通过在build.gradle文件中设置应用程序ID来更改程序包名称,还可以通过模块设置>选择应用程序>风味选项卡>应用程序ID来设置程序包名称。现在,您可以决定如何上载应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Google Play内置Android应用程序 - Google Play inside Android application 如何解决“此应用程序已禁用 Google Maps Android API 街景服务”? - How to resolve "The Google Maps Android API Street View service has been disabled for this application"? android-更新按钮未显示在Google Play商店中 - android - Update button is not displaying on Google Play Store 检查Google Play购买是否已退款/取消的最佳方法? - Best way to check if Google Play purchase has been refunded/voided? 如何知道应用是否已从Google Play或亚马逊下载? - How to know if an app has been downloaded from Google Play or Amazon? 离开线程后重新启动线程 - Restarting a thread after it has been left 从我的应用程序类打开Goog​​le Play商店 - Opening Google Play Store from my Application class 如何将 google play 商店应用程序分发给有限的人 - How to distribute google play store application to limited peoples 为什么从/ manager重新启动应用程序会导致“此Web应用程序实例停止运行”的错误。 ”警告。 为什么? - Why Does Restarting Applications From /manager Cause A Slew of “this web application instance has been stopped already. ” warnings. Why? 上传到 Play 商店时出现 Android 应用程序错误,上传前测试一切正常 - Android App Error when uploaded to Play Store , Before Uploading, tested everything was fine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM