简体   繁体   中英

android - new app version after package rename

I have retroactively renamed my packages in an Android Studio project. If I now build and install my app on a device, a second app is created in addition to the already existing app with the old package names. I have already generated some data on the first version of the app, that I would like to keep. Is there a way to just update the first version as usual instead of creating this alternate version?

Thanks

是的,您只需要在gradle中更新版本代码和版本名称,因此第一个版本将被更新,并且您将保留数据

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