简体   繁体   中英

How to upload an apk multiple times to play store?

Think I have built and APK, the unique change is some resources, that's all this is not a new version, this is a new apk (or a new app)

How can I upload those apks to play store? My project is divided in multiple layers (I believe every layer is a package, isn't it? ) then, do I must to rename every package?

What changes do I must to do for upload it as a new apk (app). Do I need to change something in gradle file? in manisfest?
rename ALL packages and subpackages?

what is the easy way to rename package and subpackage what is the easy way for upload same project (diferent app or apk ) to play store (where only change some resource).

Can I use my finished project as a java library (or module) and create new apps (so maybe I avoid rename packages)

This is not my project ( I have it now in other pc) But in the next image (took from wikipedia) You see a package where in my real project I have multiple sub-packages, then isn't it necesary rename them?

在此处输入图片说明

best regards.

Think I have built and APK, the unique change is some resources, that's all this is not a new version, this is a new apk (or a new app)

Package name of your apk is your id in Play Store, every time that you change your apk package name you create a new app, even having the same resources inside.

How can I upload those apks to play store? My project is divided in multiple layers (I believe every layer is a package, isn't it? ) then, do I must to rename every package?

Your internal java package name in your project is just for your internal code structure. There is no need to change internal java package name when you change your apk package name in AndroidManifest.xml

What changes do I must to do for upload it as a new apk (app). Do I need to change something in gradle file? in manisfest? rename ALL packages and subpackages?

As I said in the first point you only need to change AndroidManifest.xml package name a

Can I use my finished project as a java library (or module) and create new apps (so maybe I avoid rename packages)

Yes, there is a lot of questions in SO related to custom android library to share content, activities between projects

EDIT: You can change your apk package name in your build.gradle. Check this link for more info:

Hope it helps!!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM