Appbead Blog

Build Failed GamePlay3d sample spaceship on Android

$ ant debug install

Buildfile: GamePlay/samples/spaceship/android/build.xml

......

BUILD FAILED
GamePlay/samples/spaceship/android/build.xml:66: Warning: Could not find file GamePlay/samples/spaceship/res/challenge.form to copy.

Total time: 3 seconds

It’s failed because of the build.xml included some files which are not used by spaceship project, so the solution is commenting or deleting that lines(from 66 to 69).

$ vi build.xml

    <!--copy file="../res/challenge.form" tofile="assets/res/challenge.form"/>
    <copy file="../res/menu.form" tofile="assets/res/menu.form"/>
    <copy file="../res/menu.theme" tofile="assets/res/menu.theme"/>
    <copy file="../res/menuAtlas.png" tofile="assets/res/menuAtlas.png"/-->

Edit and save it.

$ ant debug install

...... 
BUILD SUCCESSFUL
Total time: 14 seconds

misc GamePlay3d, Android

Comments