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.