gpt4 book ai didi

android - 将 IntelliJ android 项目发送给我的同事的最简单方法?

转载 作者:行者123 更新时间:2023-11-29 01:47:14 25 4
gpt4 key购买 nike

我有一个 IntelliJ android 项目,它有两个依赖项作为模块(ActionBarSherlock 和 FacebookSDK)。这样我们在IDE中就可以看到三个工程文件夹。此外,每个模块都有几个 jar 库。

来了一位新同事,我想与他分享我的项目。

我给了他我的 GitHub repo url,他签了。但我意识到 IntelliJ 在 Visual Studio 中没有像 .sln 这样的文件(只需双击打开 IDE,每个项目和相关设置都在那里)。此外,我不得不在我的同事电脑上重新创建新项目,将另外两个项目导入为模块,添加为库,检查依赖关系,等等......

maven 可能是一个解决方案,但有时它是 ruins project setup .

有什么简单的方法可以做到吗?

最佳答案

This JetBrains 支持网站上的文章介绍了将哪些文件提交给版本控制。

简短的回答是:

Directory based project format (.idea directory)

This format is used by all the recent IDE versions by default. Here is what you need to share:

  • All the files under .idea directory in the project root except the workspace.xml and tasks.xml files which store user specific settings
  • All the .iml module files that can be located in different module directories (applies to IntelliJ IDEA)

完整阅读本文,因为它涉及您可能不想放入版本控制的内容。

关于android - 将 IntelliJ android 项目发送给我的同事的最简单方法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20688894/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com