Ant Packaging Error Ant\build.xml:698:null returned:1

Source: Internet
Author: User

1, ant compile suddenly error: e:\android-sdk\tools\ant\build.xml:657: the following error occurred while executing this line:

                                                                                                                  Null returned:1

2, directly modify the configuration inside the SDK, personally feel that is not very good, then you can in the root directory of your project Build.xml file to add:  

<property name= "Aapt.ignore.assets"  value= "!. Svn:!. git:\x3cdir\x3e_*:.*:! Cvs:!thumbs.db:!picasa.ini:!*.scc:*~:crunch "&NBSP;/>              

3, the value of my original project is: "!. Svn:!. git:.*:&lt;dir&gt;_*:! Cvs:!thumbs.db:!picasa.ini:!*.scc:*~:&lt;dir&gt;crunch ";

Later changed to "&lt;dir&gt;crunch:!." Svn:!. git:.*:&lt;dir&gt;_*:! cvs:!thumbs.db:!picasa.ini:!*.scc:*~ "/> can be compiled normally.

Ant Packaging Error Ant\build.xml:698:null returned:1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.