简体   繁体   English

如何在 Android Studio 中将包从一个目录导入到另一个目录?

[英]How to import Package from One Directory to another Directory in Android Studio?

This is My Android Project这是我的 Android 项目

I want to import the custom package from the directory app to the directory sample .How to do it guys ???我想将自定义包从目录应用程序导入到目录示例中。伙计们怎么做???

Try: Right click on package > Refactor > Move , then press OK and select destination.尝试:右键单击 package > Refactor > Move ,然后按 OK 并选择目标。

It's a safe way to move package, all dependencies will be changed.这是移动包的安全方式,所有依赖项都将被更改。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 android studio flutter 上的包目录 - package directory on android studio flutter Android:将文件从一个目录复制到另一个目录 - Android: copying files from one directory to another Android:如何从包目录共享图像? - Android: How to share images from package directory? 如何将文件从一个目录复制到另一目录? - How to copy my files from one directory to another directory? 如何从android-studio包外部的目录访问.java文件? - How to access .java files from a directory outside of a package in android-studio? 将图像目录导入Android Studio中的可绘制资源 - Import directory of images to the drawable resources in Android Studio Android Studio:文件写入另一个目录 - Android Studio: file written to another directory 如何使用Android中的本机代码将文件从一个目录复制到另一个目录? - How to copy file from one directory to another using native code in Android? 将.3gp 文件从一个目录“External Dir”移动或复制到 Android 中的另一个外部目录 - Move or copy .3gp files from one directory “External Dir” to another External directory in Android Android studio:参数“目录”不是目录 - Android studio: Parameter 'directory' is not a directory
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM