如何在android studio中更改包名?

2023-11-09移动开发问题
6

本文介绍了如何在android studio中更改包名?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我已经制作了一个应用程序,这是我的第一个应用程序,所以当我开始编码时,我将包名称保留为 com.example.stuff,现在当我尝试上传到 Play 商店时,由于包裹名字.我已尝试重构-> 重命名包名称并在 AndroidManifst.xml 中对其进行了更改,然后我尝试再次上传.我一次又一次地留下同样的信息.

I have made an app and it is my very first app so when I started coding, I left the package name as com.example.stuff and now when I try to upload to the play store it wont let me due to the package name. I have tried refactor-> rename the package name and changed it in the AndroidManifst.xml then I tried to upload again. I am once again left with the same message time after time.

感谢您的帮助,并在此先感谢您.:)

I appreciate any help and thanks in advance. :)

推荐答案

首先在你的包上点击一次,然后在 Android Studio 上点击设置图标.

First click once on your package and then click setting icon on Android Studio.

关闭/取消选择压缩空中间包

然后,右键单击您的包并重命名它.

Then, right click your package and rename it.

就是这样.

这篇关于如何在android studio中更改包名?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

如何在 COCOS2d Android 中使用 CClistview?
How can I use CClistview in COCOS2d Android?(如何在 COCOS2d Android 中使用 CClistview?)...
2024-08-12 移动开发问题
5

cocos2d-android:如何显示分数
cocos2d-android: how to display score(cocos2d-android:如何显示分数)...
2024-08-11 移动开发问题
7

从 Iphone Native Client 使用 Google App Engine 进行身份验证
Authenticate with Google App Engine from an Iphone Native Client(从 Iphone Native Client 使用 Google App Engine 进行身份验证)...
2024-08-11 移动开发问题
4

Sqlite 数据库未从资产文件夹 Android 复制
Sqlite database not copied from asset folder Android(Sqlite 数据库未从资产文件夹 Android 复制)...
2024-04-15 移动开发问题
8

SQLite 数据库副本在由设备而不是模拟器生成时出现损坏
SQLite Database Copy Appears Corrupted When Generated by Device and not Emulator(SQLite 数据库副本在由设备而不是模拟器生成时出现损坏)...
2024-04-15 移动开发问题
4

安卓文件拷贝
Android file copy(安卓文件拷贝)...
2024-04-15 移动开发问题
6