Juce Demo Android build errors on Windows

For Android specific issues

Juce Demo Android build errors on Windows

Postby friscokid » Wed May 09, 2012 1:25 pm

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:
Code: Select all
-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?
User avatar
friscokid
JUCE UberWeenie
 
Posts: 219
Joined: Fri Dec 28, 2007 12:06 pm
Location: Germany

Re: Juce Demo Android build errors on Windows

Postby jules » Thu Jul 12, 2012 8:13 am

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.
User avatar
jules
Fearless Leader
 
Posts: 17193
Joined: Mon Sep 06, 2004 9:03 am
Location: London, UK


Return to Android

Who is online

Users browsing this forum: No registered users and 2 guests