gpt4 book ai didi

android - 调试失败的 Ant 构建

转载 作者:太空宇宙 更新时间:2023-11-04 03:54:32 25 4
gpt4 key购买 nike

我正在尝试使用 ant 通过 headless Linux 服务器编译和发布 Android 应用程序。我收到以下错误:

BUILD FAILED
/opt/android-sdk-linux_x86/tools/ant/build.xml:653: The following error occurred while executing this line:
/opt/android-sdk-linux_x86/tools/ant/build.xml:698: null returned: 1

这是第 698 行:

proguardFile="${out.absolute.dir}/proguard.txt">

我怎样才能知道这个${out.absolute.dir}是什么?

最佳答案

将 -d(调试)和 -v(详细)标志添加到您的 ant 命令中。您会得到很多额外的输出,但它应该给您提供线索。

关于android - 调试失败的 Ant 构建,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25210398/

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