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

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

问题描述

我想从包名中删除中间部分.例如:com.example.appcom.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 findcom.example.app, Replace withcom.app 并点击Find, All 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天全站免登陆