开发者

android ant build fails on ant release command

开发者 https://www.devze.com 2023-04-06 14:17 出处:网络
I have linux box. I have project on it. I ran \"android update project\" it worked fine. Tried using \"ant -v release\" it throws me error as follows:-

I have linux box. I have project on it. I ran "android update project" it worked fine.

Tried using "ant -v release" it throws me error as follows:-

    [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.setOnIt开发者_高级运维emClickListener(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.

I don't understand whats the problem with it. Why its not allowing me to build the application? Can some one would help me out.


This was permission problem. Some folders where not having write permission in project. Now it works fine when permission is corrected.

0

精彩评论

暂无评论...
验证码 换一张
取 消