我正在尝试遵循以下文章:
http://ballardhack.wordpress.com/2010/09/28/subversion-revision-in-android-app-version-with-eclipse/
但是我对下面的描述感到困惑:
Save this to .externalToolBuilders/AddSvnRevisionToVersion.launch (this folder, relative to the root of your project space, is the default location that Eclipse stores this kind of stuff; if you are adding this to more than one project, then name it using a fully-qualified name, like com.example.AddSvnRevisionToVersion.launch, because Eclipse makes these names global)
显然我无法创建带有“.”的文件夹。作为文件夹名称。那么上面的描述到底是什么意思呢?
除此之外,当我们使用 eclipse 构建 android 应用程序时,有人有更好、更简单的方法来掌握 SVN 版本号吗?我是 IDE 用户,因此使用命令行构建应用程序对我来说相当困难。
最佳答案
我相信该文件夹已经存在。它前面有一个“.”这意味着它可能是隐藏的。
尝试使隐藏文件可见(说明将根据您的操作系统而有所不同)并搜索它。
关于java - 如何获取SVN修订号然后传递给android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14373726/