Results 1 to 17 of 17

Thread: Run build.bat of android version failed on Windows

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Peasant
    Join Date
    May 2012
    Posts
    9

    Exclamation Run build.bat of android version failed on Windows

    I use the latest NDK rb7, but it's still failed, maybe something wrong with the format of files?
    The error of in console is :


    BUILD FAILED
    Target "preprocess" does not exist in the project "Main".

    Total time: 0 seconds
    make: *** No rule to make target `jni/../temp_final_cpp_src/AndroidApp.cpp', nee
    ded by `obj/local/armeabi/objs/rt3dapp/__/temp_final_cpp_src/AndroidApp.o'. Sto
    p.
    make: *** Waiting for unfinished jobs....
    /usr/bin/sh: -c: line 2: syntax error: unexpected end of file/usr/bin/sh: -c: li
    ne 2: syntax error: unexpected end of file
    make: *** [obj/local/armeabi/objs/rt3dapp/__/__/__/shared/android/AndroidUtils.o
    ] Error 1
    make: *** [obj/local/armeabi/objs/rt3dapp/__/__/__/shared/PlatformSetup.o] Error
    1

    Thank you.

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    Quote Originally Posted by android View Post
    I use the latest NDK rb7, but it's still failed, maybe something wrong with the format of files?
    The error of in console is :


    BUILD FAILED
    Target "preprocess" does not exist in the project "Main".

    Total time: 0 seconds
    make: *** No rule to make target `jni/../temp_final_cpp_src/AndroidApp.cpp', nee
    ded by `obj/local/armeabi/objs/rt3dapp/__/temp_final_cpp_src/AndroidApp.o'. Sto
    p.
    make: *** Waiting for unfinished jobs....
    /usr/bin/sh: -c: line 2: syntax error: unexpected end of file/usr/bin/sh: -c: li
    ne 2: syntax error: unexpected end of file
    make: *** [obj/local/armeabi/objs/rt3dapp/__/__/__/shared/android/AndroidUtils.o
    ] Error 1
    make: *** [obj/local/armeabi/objs/rt3dapp/__/__/__/shared/PlatformSetup.o] Error
    1

    Thank you.
    Hmm, it looks ok on this end, I was able to build it. But I did just do a huge update yesterday which redid the android stuff for rt3dapp.

    Latest is actually NDK r8 now - although I'm still on R7c.

    However, I think the first error is coming from ant - if you look at rt3dapp/android/build.xml, do you see <target name="preprocess"> somewhere in that file? If not, I think your latest svn update was incomplete, it should be there. Maybe try checking it out from svn again?
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Peasant
    Join Date
    May 2012
    Posts
    9

    Default

    Thank you for your reply
    The information below appears weeks ago, I originally thought maybe the author didn't commit completely, so I update from svn every day to see if the problem is fixed, but till today I update the project the problem still exists, and this information "Target "preprocess" does not exist in the project "Main"." is added.

    make: *** No rule to make target `jni/../temp_final_cpp_src/AndroidApp.cpp', nee
    ded by `obj/local/armeabi/objs/rt3dapp/__/temp_final_cpp_src/AndroidApp.o'. Sto
    p.

    " <target name="preprocess"> " is originally in build.xml, but after run build.bat, build.xml is changed, and it doesn't exist any longer.
    I'm sure I have fully updated.

  4. #4
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    Hmm. Can you post the entire console output from build.bat? Also, run Clean.bat first.
    Seth A. Robinson
    Robinson Technologies

  5. #5
    Peasant
    Join Date
    May 2012
    Posts
    9

    Default

    The entire output:

    D:\Proton\RT3DApp\android>call build_prepare.bat

    D:\Proton\RT3DApp\android>call app_info_setup.bat

    D:\Proton\RT3DApp\android>set APP_NAME=RT3DApp

    D:\Proton\RT3DApp\android>set SMALL_PACKAGE_NAME=rt3dapp

    D:\Proton\RT3DApp\android>set PACKAGE_NAME=com.rtsoft.rt3dapp

    D:\Proton\RT3DApp\android>set EMULATOR_AVD=@AVD_22

    D:\Proton\RT3DApp\android>set ANDROID_EMU=emulator-5554

    D:\Proton\RT3DApp\android>call android update project -p ./
    Updated local.properties
    File build.xml is too old and needs to be updated.
    Updated file D:\Proton\RT3DApp\android\build.xml
    Updated file D:\Proton\RT3DApp\android\proguard.cfg
    Updated local.properties
    Updated file D:\Proton\RT3DApp\android\proguard.cfg

    D:\Proton\RT3DApp\android>rmdir assets /S /Q

    D:\Proton\RT3DApp\android>mkdir assets

    D:\Proton\RT3DApp\android>mkdir assets\interface

    D:\Proton\RT3DApp\android>xcopy ..\bin\interface assets\interface /E /F /Y
    D:\Proton\RT3DApp\bin\interface\40x40.rttex -> D:\Proton\RT3DApp\android\assets\
    interface\40x40.rttex
    D:\Proton\RT3DApp\bin\interface\arrows.rttex -> D:\Proton\RT3DApp\android\assets
    \interface\arrows.rttex
    D:\Proton\RT3DApp\bin\interface\earth32bit.rttex -> D:\Proton\RT3DApp\android\as
    sets\interface\earth32bit.rttex
    D:\Proton\RT3DApp\bin\interface\font_trajan.rtfont -> D:\Proton\RT3DApp\android\
    assets\interface\font_trajan.rtfont
    D:\Proton\RT3DApp\bin\interface\font_trajan_big.rt font -> D:\Proton\RT3DApp\andr
    oid\assets\interface\font_trajan_big.rtfont
    D:\Proton\RT3DApp\bin\interface\menu_bg.rttex -> D:\Proton\RT3DApp\android\asset
    s\interface\menu_bg.rttex
    D:\Proton\RT3DApp\bin\interface\rtsoft_logo.rttex -> D:\Proton\RT3DApp\android\a
    ssets\interface\rtsoft_logo.rttex
    D:\Proton\RT3DApp\bin\interface\summary_bg.rttex -> D:\Proton\RT3DApp\android\as
    sets\interface\summary_bg.rttex
    D:\Proton\RT3DApp\bin\interface\summary_continue.r ttex -> D:\Proton\RT3DApp\andr
    oid\assets\interface\summary_continue.rttex
    D:\Proton\RT3DApp\bin\interface\summary_overlay_bo ttom.rttex -> D:\Proton\RT3DAp
    p\android\assets\interface\summary_overlay_bottom. rttex
    D:\Proton\RT3DApp\bin\interface\summary_overlay_to p.rttex -> D:\Proton\RT3DApp\a
    ndroid\assets\interface\summary_overlay_top.rttex
    D:\Proton\RT3DApp\bin\interface\turn_arrows.rttex -> D:\Proton\RT3DApp\android\a
    ssets\interface\turn_arrows.rttex
    D:\Proton\RT3DApp\bin\interface\particle\cflight.r ttex -> D:\Proton\RT3DApp\andr
    oid\assets\interface\particle\cflight.rttex
    D:\Proton\RT3DApp\bin\interface\particle\circle.rt tex -> D:\Proton\RT3DApp\andro
    id\assets\interface\particle\circle.rttex
    D:\Proton\RT3DApp\bin\interface\particle\explosion .rttex -> D:\Proton\RT3DApp\an
    droid\assets\interface\particle\explosion.rttex
    D:\Proton\RT3DApp\bin\interface\particle\light16p. rttex -> D:\Proton\RT3DApp\and
    roid\assets\interface\particle\light16p.rttex
    D:\Proton\RT3DApp\bin\interface\particle\pointer.r ttex -> D:\Proton\RT3DApp\andr
    oid\assets\interface\particle\pointer.rttex
    D:\Proton\RT3DApp\bin\interface\particle\sketch.rt tex -> D:\Proton\RT3DApp\andro
    id\assets\interface\particle\sketch.rttex
    D:\Proton\RT3DApp\bin\interface\particle\small.rtt ex -> D:\Proton\RT3DApp\androi
    d\assets\interface\particle\small.rttex
    D:\Proton\RT3DApp\bin\interface\particle\star.rtte x -> D:\Proton\RT3DApp\android
    \assets\interface\particle\star.rttex
    20 File(s) copied

    D:\Proton\RT3DApp\android>mkdir assets\game

    D:\Proton\RT3DApp\android>xcopy ..\bin\game assets\game /E /F /Y
    D:\Proton\RT3DApp\bin\game\axe.rttex -> D:\Proton\RT3DApp\android\assets\game\ax
    e.rttex
    D:\Proton\RT3DApp\bin\game\deko.x -> D:\Proton\RT3DApp\android\assets\game\deko.
    x
    D:\Proton\RT3DApp\bin\game\deko_skin3.rttex -> D:\Proton\RT3DApp\android\assets\
    game\deko_skin3.rttex
    D:\Proton\RT3DApp\bin\game\detailmap3.rttex -> D:\Proton\RT3DApp\android\assets\
    game\detailmap3.rttex
    D:\Proton\RT3DApp\bin\game\dwarf.jpg -> D:\Proton\RT3DApp\android\assets\game\dw
    arf.jpg
    D:\Proton\RT3DApp\bin\game\dwarf.rttex -> D:\Proton\RT3DApp\android\assets\game\
    dwarf.rttex
    D:\Proton\RT3DApp\bin\game\dwarf.x -> D:\Proton\RT3DApp\android\assets\game\dwar
    f.x
    D:\Proton\RT3DApp\bin\game\irrlicht2_bk.rttex -> D:\Proton\RT3DApp\android\asset
    s\game\irrlicht2_bk.rttex
    D:\Proton\RT3DApp\bin\game\irrlicht2_dn.rttex -> D:\Proton\RT3DApp\android\asset
    s\game\irrlicht2_dn.rttex
    D:\Proton\RT3DApp\bin\game\irrlicht2_ft.rttex -> D:\Proton\RT3DApp\android\asset
    s\game\irrlicht2_ft.rttex
    D:\Proton\RT3DApp\bin\game\irrlicht2_lf.rttex -> D:\Proton\RT3DApp\android\asset
    s\game\irrlicht2_lf.rttex
    D:\Proton\RT3DApp\bin\game\irrlicht2_rt.rttex -> D:\Proton\RT3DApp\android\asset
    s\game\irrlicht2_rt.rttex
    D:\Proton\RT3DApp\bin\game\irrlicht2_up.rttex -> D:\Proton\RT3DApp\android\asset
    s\game\irrlicht2_up.rttex
    D:\Proton\RT3DApp\bin\game\ninja.b3d -> D:\Proton\RT3DApp\android\assets\game\ni
    nja.b3d
    D:\Proton\RT3DApp\bin\game\nskinbl.rttex -> D:\Proton\RT3DApp\android\assets\gam
    e\nskinbl.rttex
    D:\Proton\RT3DApp\bin\game\nskinrd.rttex -> D:\Proton\RT3DApp\android\assets\gam
    e\nskinrd.rttex
    D:\Proton\RT3DApp\bin\game\squirrel.3ds -> D:\Proton\RT3DApp\android\assets\game
    \squirrel.3ds
    D:\Proton\RT3DApp\bin\game\squirrel.DAE -> D:\Proton\RT3DApp\android\assets\game
    \squirrel.DAE
    D:\Proton\RT3DApp\bin\game\squirrel.x -> D:\Proton\RT3DApp\android\assets\game\s
    quirrel.x
    D:\Proton\RT3DApp\bin\game\squirrel_skin.rttex -> D:\Proton\RT3DApp\android\asse
    ts\game\squirrel_skin.rttex
    D:\Proton\RT3DApp\bin\game\sydney.bmp -> D:\Proton\RT3DApp\android\assets\game\s
    ydney.bmp
    D:\Proton\RT3DApp\bin\game\sydney.md2 -> D:\Proton\RT3DApp\android\assets\game\s
    ydney.md2
    D:\Proton\RT3DApp\bin\game\sydney.rttex -> D:\Proton\RT3DApp\android\assets\game
    \sydney.rttex
    D:\Proton\RT3DApp\bin\game\terrain-heightmap.bmp -> D:\Proton\RT3DApp\android\as
    sets\game\terrain-heightmap.bmp
    D:\Proton\RT3DApp\bin\game\terrain-heightmap.rttex -> D:\Proton\RT3DApp\android\
    assets\game\terrain-heightmap.rttex
    D:\Proton\RT3DApp\bin\game\terrain-texture.rttex -> D:\Proton\RT3DApp\android\as
    sets\game\terrain-texture.rttex
    D:\Proton\RT3DApp\bin\game\house_scene\BRKWEA_brow n.bmp -> D:\Proton\RT3DApp\and
    roid\assets\game\house_scene\BRKWEA_brown.bmp
    D:\Proton\RT3DApp\bin\game\house_scene\BRKWEA_brow n.rttex -> D:\Proton\RT3DApp\a
    ndroid\assets\game\house_scene\BRKWEA_brown.rttex
    D:\Proton\RT3DApp\bin\game\house_scene\grass_512_5 12.rttex -> D:\Proton\RT3DApp\
    android\assets\game\house_scene\grass_512_512.rtte x
    D:\Proton\RT3DApp\bin\game\house_scene\groundShado wsMap.rttex -> D:\Proton\RT3DA
    pp\android\assets\game\house_scene\groundShadowsMa p.rttex
    D:\Proton\RT3DApp\bin\game\house_scene\GR_SWRIL2.r ttex -> D:\Proton\RT3DApp\andr
    oid\assets\game\house_scene\GR_SWRIL2.rttex
    D:\Proton\RT3DApp\bin\game\house_scene\house_1_ski n.rttex -> D:\Proton\RT3DApp\a
    ndroid\assets\game\house_scene\house_1_skin.rttex
    D:\Proton\RT3DApp\bin\game\house_scene\house_bpdys hadowsmap.rttex -> D:\Proton\R
    T3DApp\android\assets\game\house_scene\house_bpdys hadowsmap.rttex
    D:\Proton\RT3DApp\bin\game\house_scene\house_scene .b3d -> D:\Proton\RT3DApp\andr
    oid\assets\game\house_scene\house_scene.b3d
    D:\Proton\RT3DApp\bin\game\house_scene\house_scene _col.b3d -> D:\Proton\RT3DApp\
    android\assets\game\house_scene\house_scene_col.b3 d
    D:\Proton\RT3DApp\bin\game\house_scene\roof01Shado wsMap.rttex -> D:\Proton\RT3DA
    pp\android\assets\game\house_scene\roof01ShadowsMa p.rttex
    D:\Proton\RT3DApp\bin\game\quake\levelshots\20kdm2 .rttex -> D:\Proton\RT3DApp\an
    droid\assets\game\quake\levelshots\20kdm2.rttex
    D:\Proton\RT3DApp\bin\game\quake\maps\20kdm2.aas -> D:\Proton\RT3DApp\android\as
    sets\game\quake\maps\20kdm2.aas
    D:\Proton\RT3DApp\bin\game\quake\maps\20kdm2.bsp -> D:\Proton\RT3DApp\android\as
    sets\game\quake\maps\20kdm2.bsp
    D:\Proton\RT3DApp\bin\game\quake\models\mapobjects \gratelamp\gratetorch2.rttex -
    > D:\Proton\RT3DApp\android\assets\game\quake\models \mapobjects\gratelamp\gratet
    orch2.rttex
    D:\Proton\RT3DApp\bin\game\quake\models\mapobjects \gratelamp\gratetorch2b.rttex
    -> D:\Proton\RT3DApp\android\assets\game\quake\models \mapobjects\gratelamp\grate
    torch2b.rttex
    D:\Proton\RT3DApp\bin\game\quake\models\mapobjects \timlamp\timlamp.rttex -> D:\P
    roton\RT3DApp\android\assets\game\quake\models\map objects\timlamp\timlamp.rttex
    D:\Proton\RT3DApp\bin\game\quake\scripts\20kdm2.ar ena -> D:\Proton\RT3DApp\andro
    id\assets\game\quake\scripts\20kdm2.arena
    D:\Proton\RT3DApp\bin\game\quake\scripts\common.sh ader -> D:\Proton\RT3DApp\andr
    oid\assets\game\quake\scripts\common.shader
    D:\Proton\RT3DApp\bin\game\quake\scripts\e7.shader -> D:\Proton\RT3DApp\android\
    assets\game\quake\scripts\e7.shader
    D:\Proton\RT3DApp\bin\game\quake\scripts\liquid.sh ader -> D:\Proton\RT3DApp\andr
    oid\assets\game\quake\scripts\liquid.shader
    D:\Proton\RT3DApp\bin\game\quake\scripts\models.sh ader -> D:\Proton\RT3DApp\andr
    oid\assets\game\quake\scripts\models.shader
    D:\Proton\RT3DApp\bin\game\quake\scripts\sfx.shade r -> D:\Proton\RT3DApp\android
    \assets\game\quake\scripts\sfx.shader
    D:\Proton\RT3DApp\bin\game\quake\scripts\sky.shade r -> D:\Proton\RT3DApp\android
    \assets\game\quake\scripts\sky.shader
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7bea m01.rttex -> D:\Proton\RT3DApp
    \android\assets\game\quake\textures\e7\e7beam01.rt tex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7bea m02_red.rttex -> D:\Proton\RT3
    DApp\android\assets\game\quake\textures\e7\e7beam0 2_red.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7big wall.rttex -> D:\Proton\RT3DAp
    p\android\assets\game\quake\textures\e7\e7bigwall. rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7bmt rim.rttex -> D:\Proton\RT3DApp
    \android\assets\game\quake\textures\e7\e7bmtrim.rt tex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7bmt rim2.rttex -> D:\Proton\RT3DAp
    p\android\assets\game\quake\textures\e7\e7bmtrim2. rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7bri ckfloor01.rttex -> D:\Proton\R
    T3DApp\android\assets\game\quake\textures\e7\e7bri ckfloor01.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7brn metal.rttex -> D:\Proton\RT3DA
    pp\android\assets\game\quake\textures\e7\e7brnmeta l.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7dim floor.rttex -> D:\Proton\RT3DA
    pp\android\assets\game\quake\textures\e7\e7dimfloo r.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7pan elwood.rttex -> D:\Proton\RT3D
    App\android\assets\game\quake\textures\e7\e7panelw ood.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7sbr ickfloor.rttex -> D:\Proton\RT
    3DApp\android\assets\game\quake\textures\e7\e7sbri ckfloor.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7ste ptop.rttex -> D:\Proton\RT3DAp
    p\android\assets\game\quake\textures\e7\e7steptop. rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7ste ptop2.rttex -> D:\Proton\RT3DA
    pp\android\assets\game\quake\textures\e7\e7steptop 2.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7swi ndow.rttex -> D:\Proton\RT3DAp
    p\android\assets\game\quake\textures\e7\e7swindow. rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\e7\e7wal ldesign01b.rttex -> D:\Proton\
    RT3DApp\android\assets\game\quake\textures\e7\e7wa lldesign01b.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\gothic_f loor\xstepborder5.rttex -> D:\
    Proton\RT3DApp\android\assets\game\quake\textures\ gothic_floor\xstepborder5.rtte
    x
    D:\Proton\RT3DApp\bin\game\quake\textures\gothic_t rim\metalblackwave01.rttex ->
    D:\Proton\RT3DApp\android\assets\game\quake\textur es\gothic_trim\metalblackwave0
    1.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\liquids\ lavahell.rttex -> D:\Proton\RT
    3DApp\android\assets\game\quake\textures\liquids\l avahell.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e1.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame1.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e2.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame2.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e3.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame3.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e4.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame4.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e5.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame5.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e6.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame6.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e7.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame7.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam e8.rttex -> D:\Proton\RT3DApp\
    android\assets\game\quake\textures\sfx\flame8.rtte x
    D:\Proton\RT3DApp\bin\game\quake\textures\sfx\flam eball.rttex -> D:\Proton\RT3DA
    pp\android\assets\game\quake\textures\sfx\flamebal l.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\skies\ki llsky_1.rttex -> D:\Proton\RT3
    DApp\android\assets\game\quake\textures\skies\kill sky_1.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\skies\ki llsky_2.rttex -> D:\Proton\RT3
    DApp\android\assets\game\quake\textures\skies\kill sky_2.rttex
    D:\Proton\RT3DApp\bin\game\quake\textures\stone\pj rock1.rttex -> D:\Proton\RT3DA
    pp\android\assets\game\quake\textures\stone\pjrock 1.rttex
    78 File(s) copied

    D:\Proton\RT3DApp\android>mkdir assets\audio

    D:\Proton\RT3DApp\android>xcopy ..\bin\audio assets\audio /E /F /Y
    D:\Proton\RT3DApp\bin\audio\click.wav -> D:\Proton\RT3DApp\android\assets\audio\
    click.wav
    1 File(s) copied

    D:\Proton\RT3DApp\android>rmdir bin /S /Q

    D:\Proton\RT3DApp\android>rmdir gen /S /Q

    D:\Proton\RT3DApp\android>rmdir temp_final_src /S /Q

    D:\Proton\RT3DApp\android>rmdir temp_src /S /Q

    D:\Proton\RT3DApp\android>mkdir temp_src

    D:\Proton\RT3DApp\android>mkdir temp_src\com

    D:\Proton\RT3DApp\android>mkdir temp_src\com\
    A subdirectory or file temp_src\com\ already exists.

    D:\Proton\RT3DApp\android>mkdir temp_src\com\\rt3dapp

    D:\Proton\RT3DApp\android>xcopy src temp_src\com\\rt3dapp /E /F /Y
    D:\Proton\RT3DApp\android\src\Main.java -> D:\Proton\RT3DApp\android\temp_src\co
    m\rt3dapp\Main.java
    1 File(s) copied

    D:\Proton\RT3DApp\android>mkdir temp_final_src

    D:\Proton\RT3DApp\android>mkdir temp_final_src\com

    D:\Proton\RT3DApp\android>xcopy ..\..\shared\android\v2_src\java temp_src\com\\r
    t3dapp /E /F /Y
    D:\Proton\shared\android\v2_src\java\BillingReceiv er.java -> D:\Proton\RT3DApp\a
    ndroid\temp_src\com\rt3dapp\BillingReceiver.java
    D:\Proton\shared\android\v2_src\java\BillingServic e.java -> D:\Proton\RT3DApp\an
    droid\temp_src\com\rt3dapp\BillingService.java
    D:\Proton\shared\android\v2_src\java\Consts.java -> D:\Proton\RT3DApp\android\te
    mp_src\com\rt3dapp\Consts.java
    D:\Proton\shared\android\v2_src\java\PurchaseObser ver.java -> D:\Proton\RT3DApp\
    android\temp_src\com\rt3dapp\PurchaseObserver.java
    D:\Proton\shared\android\v2_src\java\ResponseHandl er.java -> D:\Proton\RT3DApp\a
    ndroid\temp_src\com\rt3dapp\ResponseHandler.java
    D:\Proton\shared\android\v2_src\java\Security.java -> D:\Proton\RT3DApp\android\
    temp_src\com\rt3dapp\Security.java
    D:\Proton\shared\android\v2_src\java\SharedActivit y.java -> D:\Proton\RT3DApp\an
    droid\temp_src\com\rt3dapp\SharedActivity.java
    D:\Proton\shared\android\v2_src\java\SharedMultiTo uchInput.java -> D:\Proton\RT3
    DApp\android\temp_src\com\rt3dapp\SharedMultiTouch Input.java
    D:\Proton\shared\android\v2_src\java\util\Base64.j ava -> D:\Proton\RT3DApp\andro
    id\temp_src\com\rt3dapp\util\Base64.java
    D:\Proton\shared\android\v2_src\java\util\Base64De coderException.java -> D:\Prot
    on\RT3DApp\android\temp_src\com\rt3dapp\util\Base6 4DecoderException.java
    10 File(s) copied

    D:\Proton\RT3DApp\android>echo d | xcopy ..\..\shared\android\optional_src\com
    \android temp_final_src\com\android /E /F /Y
    Does D:\Proton\RT3DApp\android\temp_final_src\com\andro id specify a file name
    or directory name on the target
    (F = file, D = directory)? d
    D:\Proton\shared\android\optional_src\com\android\ vending\billing\IMarketBilling
    Service.aidl -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\bil
    ling\IMarketBillingService.aidl
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\AESObfuscato
    r.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensing
    \AESObfuscator.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\DeviceLimite
    r.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensing
    \DeviceLimiter.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\ILicenseResu
    ltListener.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\
    licensing\ILicenseResultListener.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\ILicensingSe
    rvice.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licen
    sing\ILicensingService.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\LicenseCheck
    er.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensin
    g\LicenseChecker.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\LicenseCheck
    erCallback.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\
    licensing\LicenseCheckerCallback.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\LicenseValid
    ator.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licens
    ing\LicenseValidator.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\NullDeviceLi
    miter.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licen
    sing\NullDeviceLimiter.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\Obfuscator.j
    ava -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensing\Ob
    fuscator.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\Policy.java
    -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensing\Policy
    .java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\PreferenceOb
    fuscator.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\li
    censing\PreferenceObfuscator.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\ResponseData
    .java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensing\
    ResponseData.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\ServerManage
    dPolicy.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\lic
    ensing\ServerManagedPolicy.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\StrictPolicy
    .java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensing\
    StrictPolicy.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\ValidationEx
    ception.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\lic
    ensing\ValidationException.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\util\Base64.
    java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\vending\licensing\u
    til\Base64.java
    D:\Proton\shared\android\optional_src\com\android\ vending\licensing\util\Base64D
    ecoderException.java -> D:\Proton\RT3DApp\android\temp_final_src\com\andro id\ven
    ding\licensing\util\Base64DecoderException.java
    18 File(s) copied

    D:\Proton\RT3DApp\android>rmdir temp_final_cpp_src /S /Q
    The system cannot find the file specified.

    D:\Proton\RT3DApp\android>call ant preprocess_cpp
    Buildfile: D:\Proton\RT3DApp\android\build.xml
    [setup] Android SDK Tools Revision 8
    [setup] Project Target: Android 2.3.1
    [setup] API level: 9
    [setup]
    [setup] ------------------
    [setup] Resolving library dependencies:
    [setup] No library dependencies.
    [setup]
    [setup] ------------------
    [setup]
    [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (7) is lower
    than the project target API level (9)
    [setup]
    [setup] Importing rules file: tools\ant\main_rules.xml

    BUILD FAILED
    Target "preprocess_cpp" does not exist in the project "Main".

    Total time: 0 seconds
    Buildfile: D:\Proton\RT3DApp\android\build.xml
    [setup] Android SDK Tools Revision 8
    [setup] Project Target: Android 2.3.1
    [setup] API level: 9
    [setup]
    [setup] ------------------
    [setup] Resolving library dependencies:
    [setup] No library dependencies.
    [setup]
    [setup] ------------------
    [setup]
    [setup] WARNING: Attribute minSdkVersion in AndroidManifest.xml (7) is lower
    than the project target API level (9)
    [setup]
    [setup] Importing rules file: tools\ant\main_rules.xml

    BUILD FAILED
    Target "preprocess" does not exist in the project "Main".

    Total time: 0 seconds
    make: *** No rule to make target `jni/../temp_final_cpp_src/AndroidApp.cpp', nee
    ded by `obj/local/armeabi/objs/rt3dapp/__/temp_final_cpp_src/AndroidApp.o'. Sto
    p.
    make: *** Waiting for unfinished jobs....
    /usr/bin/sh: -c: line 2: syntax error: unexpected end of file
    make: *** [obj/local/armeabi/objs/rt3dapp/__/__/__/shared/PlatformSetup.o] Error
    1
    /usr/bin/sh: -c: line 2: syntax error: unexpected end of file
    make: *** [obj/local/armeabi/objs/rt3dapp/__/__/__/shared/android/AndroidUtils.o
    ] Error 1
    Beeper by Seth A. Robinson - run beeper.exe /? for help

    Playing ERROR BEEP SOUND!
    Press a <ENTER> to continue:

  6. #6
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    Ok, I think I know the problem.. the latest Android SDK (not the NDK) broke things.

    I guess I will update things, getting tired of them constantly breaking backwards compatibility, sigh.

    If you are in a hurry, here are the versions of SDK Tools and SDK Platform Tools that work:
    Name:  android_sdk_info.jpg
Views: 368
Size:  45.9 KB
    Seth A. Robinson
    Robinson Technologies

Similar Threads

  1. Android build failed
    By JonyMnemonic in forum Proton SDK
    Replies: 4
    Last Post: 09-25-2011, 11:22 PM
  2. Android build failed...
    By blackMasoon in forum Proton SDK
    Replies: 6
    Last Post: 07-27-2011, 08:07 AM
  3. android build problem
    By stubtemple in forum Proton SDK
    Replies: 7
    Last Post: 06-15-2011, 09:16 PM
  4. Android build error
    By Le Viet Bach in forum Proton SDK
    Replies: 1
    Last Post: 01-10-2011, 06:49 PM
  5. Failing Android build
    By rzuf in forum Proton SDK
    Replies: 1
    Last Post: 11-11-2010, 10:57 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •