简体   繁体   中英

building apk of an android project via command line fails after including some library projects

Building the apk for my project fails because ant is searching for the build.xml for the library nineoldandroid.

here's the shell script http://pastebin.com/fhcj9GKG

Tried finding for a way to create build.xml for the library project but failed. I also tried ant clean, android update and also tried doing it on both windows and linux, computer restart,update adt and other methods but failed to fix the problem. This error appeared after including library projects on my main project.

note : im using adt's ant, i also tried building it without running adt just in case there is a conflict when using ant by two processes but same error appears.

Any idea how to fix this?

Thanks!

控制台截图

This will create the missing build.xml:

cd /home/jisidro/ws/temp/NineOldAndroid/
path/to/sdk/tools/android update project --path /home/jisidro/ws/temp/NineOldAndroid/ --subprojects

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM