Juce Demo Android build errors on Windows


#1

Hi,
I’m trying to build the Juce Demo for android under Windows using the “ant debug” command and I’m getting the following errors:

-pre-build: [exec] Gdbserver : [arm-linux-androideabi-4.4.3] libs/armeabi/gdbserver [exec] Gdbsetup : libs/armeabi/gdb.setup [exec] /usr/bin/sh: -c: line 1: syntax error: unexpected end of file [exec] make: *** [libs/armeabi/gdbserver] Error 1 [exec] make: *** Waiting for unfinished jobs.... [exec] /usr/bin/sh: -c: line 1: syntax error: unexpected end of file [exec] make: *** [libs/armeabi/gdb.setup] Error 1

So no juce cpp files are compiled at all.

I’m using the tip from today (2012/05/09) and created the android project using the latest Introjucer.
My android setup seems to be ok because I can build the samples.
As I already mentioned I am not using Eclipse but try to build it with ant and the console.

NDK is Version r7c
Android SDK Tools Revision 19
API Level 10

Note: on Windows I had to edit the build.xml file to use
{ndk.dir}/ndk-build.cmd instead of {ndk.dir}/ndk-build

Any ideas why the build fails?


#2

New Android NDK and SDKs have been released since this post, and lots of stuff in juce too, so the info in the original post is a bit out-of-date. If you have problems, please try the latest code first.