因此,我们的 Android 应用程序从命令行本地构建没有问题,但将其检入 SVN 并将 Team City 指向它,我收到以下错误:
[10:47:29][apkbuilder] com.android.sdklib.build.ApkCreationException:
java.io.FileNotFoundException:
C:\TeamCity\buildAgent\work\e7d847312af872ea\bin\classes.dex does not exist
[10:47:29][package-helper] The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:295:
com.android.sdklib.build.ApkCreationException: java.io.FileNotFoundException:
C:\TeamCity\buildAgent\work\e7d847312af872ea\bin\classes.dex does not exist
[10:47:29][do-only-if-not-library]
The following error occurred while executing this line:
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:930: The following error
occurred while executing this line:
C:\Program Files (x86)\Android\android-sdk\tools\ant\build.xml:295:
com.android.sdklib.build.ApkCreationException: java.io.FileNotFoundException:
C:\TeamCity\buildAgent\work\e7d847312af872ea\bin\classes.dex does not exist
这对我来说是新的,但我的理解是 .dex 文件包含所有类。为什么它不在 bin 文件夹中?