分類
Uncategorized

ant build error: build.xml does not exist!

Description:

when you created a android project and want to use “ant” to build project
 

Steps to Reproduce:

1.
After Created android project and use terminal to move root of project
2.
type ant in terminal
 

Error:

Buildfile: build.xml does not exist!
Build failed

 
 

Solution:

at root director of android project and type follow command
/your-android-sdk-path/tools/android update project -p .
then some message will show on terminal

Updated local.properties
No project name specified, using Activity name 'MainActivity'.
If you wish to change it, edit the first line of build.xml.
Added file ./build.xml
Updated file ./proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.

 
 

在〈ant build error: build.xml does not exist!〉中有 1 則留言

Good info. Lucky me I found your site by chance (stumbleupon). I have bookmarked it for later!
P.S.> Hope you are earning substantial income on the internet from your web site? For millions of people internet is the major revenue stream. I don’t just create a web site, I love developing a web business out of my every site. This website has helped me to make thousands more online so I highly recommend you to check this site to download your turnkey money making internet business to generate more online revenue. Wish you more success, Many thanks!

留言功能已關閉。