android - 在不使用 jar 文件的情况下共享或导出外部工具

标签 android android-studio external-tools

我创建了自定义 “运行配置”并用在他身上 “外部工具”
我的问题是 “外部工具”位于本地,项目的其他开发人员不会收到它,如何将其添加到项目中?
一种解决方案是导出工作室设置,获取一个 jar 文件,但是每个开发人员都必须手动导入这个 jar 文件,我想避免这种情况。

最佳答案

也许这会帮助你
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206187849-Sharing-external-tool-config-via-version-control

There are some "hackish" ways you could probably handle this (via symlinks or junctions), if you just need to run a script, I would recommend using Ant (or even Gradle). Either have Ant do the actual work, or write a simple ant script that wraps and launches the external script (via the or target for example). The script, the ant build, and its "Before Launch" configuration can then all be committed to version control.

关于android - 在不使用 jar 文件的情况下共享或导出外部工具,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63891303/

相关文章:

android - 如何将 greenDAO 与 JSON Jackson 集成并处理多对多关系映射

android - 是否可以使用 drawable+color 作为背景?

android studio gradle build编译报错

java - 尝试检查权限时出现 NullPointerException

java - 使用 Junit 进行多步测试

javascript - 如何在 TabNavigator 上显示图标以响应 native

android - 无法解析任何依赖项导入

debugging - jetbrains IDE 外部工具的环境变量

intellij-idea - 在启动之前,异步运行外部工具?

java - 从php mysql循环加载图像时对话框不断出现