我如何重命名android studio包

问题描述 投票:0回答:1

我有一个问题 - 我正在尝试使用 Android Studio 重命名 Android 应用程序的包,但事实证明,在进行重构后按照其他指南的步骤操作并没有给我重命名包的选项。

相反,它让我直接重命名目录,但我不知道该怎么办。

There is screenshot

java android package
1个回答
0
投票

请正确重命名,我也遇到过这个问题。我尝试重新启动并清除缓存并重建文件。新版android studio重命名包的步骤不同了

步骤:

Then right click >重构 > 重命名

Then choose project from the provided options.

On the top left corner search for the chosen option called android, select it.

© www.soinside.com 2019 - 2024. All rights reserved.