Android Studio从包名称中删除中间部分 [英] Android studio remove middle part from package name

查看:247
本文介绍了Android Studio从包名称中删除中间部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从包装名称中删除中间部分. 例如: com.example.app com.app

I want to remove the middle part from the package name. Ex: com.example.app to com.app

我尝试了一些尝试,但是没有错误就不能删除包名称的中间部分.

I have tried few things but not able to remove the middle part of the package name without errors.

推荐答案

我认为您唯一可以实现的是:

I think that the only you can achieve that is this:

  1. Ctrl + Shift + R ,将Text to find设置为com.example.app,将Replace with设置为com.app然后按FindAll Files.

  1. Press Ctrl+Shift+R, set Text to find to com.example.app, Replace with to com.app and hit Find, All Files.

之后,在文件管理器中打开目录com,将app向上移到层次结构中,使其变为com/app并删除example目录.

After that open the directory com in file manager, move app up in hierarchy, so it becomes com/app and remove example directory.

这篇关于Android Studio从包名称中删除中间部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆