ant ant build在ant release命令失败

时间:2011-09-20 05:15:26

标签: android apache ant build

我有linux盒子。我有项目。我跑了“android更新项目”它工作得很好。

尝试使用“ant -v release”它会引发我的错误如下: -

    [javac] /home/sto/umakant/dashboard/data/android_apps/lol/project/src/com/glam/lol/Channels.java:90: error while writing <anonymous com.glam.lol.Channels$1>: could not create parent directories
    [javac]             lv.setOnItemClickListener(new OnItemClickListener() {
    [javac]                                                                 ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 1 error

BUILD FAILED
/home/sto/umakant/android-sdk-linux_x86/tools/ant/main_rules.xml:384: Compile failed; see the compiler error output for details.

我不明白它的问题是什么。为什么它不允许我构建应用程序?有人可以帮助我。

1 个答案:

答案 0 :(得分:2)

这是许可问题。一些文件夹中没有写入权限的文件夹。 现在,在纠正权限后,它可以正常工作。

相关问题