Ant build $ {renderscript. opt. level} problem solution, renderscript

Source: Internet
Author: User

Ant build $ {renderscript. opt. level} problem solution, renderscript

 

The problem is as follows:

BUILD FAILED
D: \ adt-bundle-windows-x86_64-20131030 \ sdk \ tools \ ant \ build. xml: 653: The following error occurred while executing this line:
D: \ adt-bundle-windows-x86_64-20131030 \ sdk \ tools \ ant \ build. xml: 679: '$ {renderscript. opt. level} 'is not a permitted value for com. android. ant. renderScriptTask $ OptLevel

 

Solution:

Add it to project. properties of the android projectRenderscript. opt. level = O0.


Ant build minor issues

<Target name = "schemaExport">
<Taskdef name = "schemaExport"
Classname = "net. sf. hibernate. tool. hbm2ddl. SchemaExportTask"
Classpathref = "runtime. classpath"/>
<SchemaExport
Config = "/hibernate. cfg. xml"
Quiet = "no"
Text = "yes"
Drop = "no"
Delimiter = ";"
Output = "schema-export. SQL">
<Fileset dir = "$ {build. classes. dir}">
<Include name = "**/*. hbm. xml"/>
</Fileset>
</Schemaexport>
Try this.

Ant buildxml

Build. xml is used only when you compile the file. Tomcat startup has nothing to do with it

You can put the project in eclipse or myeclipse
You do not need to configure the build File.

Related Article

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.