I am on OS X. I would like to get ./JUCE-master/extras/example\ projects/HelloWorld.jucer building onto my Android device.
I have just successfully created a new workspace in eclipse containing a hello-world project, and deployed it to (1) my Android phone and (2) a virtual Android device.
Now I am trying to create an Android project using IntroJucer and get eclipse to run it in the same way.
This question follows from http://www.juce.com/forum/topic/basic-example-deploying-multiple-platforms (I can't see how to make a web link on these forums)
But I can't see how to load the project into eclipse.
I create a new workspace in eclipse. I then try to load the project into it, as per http://stackoverflow.com/questions/14220633/how-to-open-an-existing-project-in-eclipse
I'm having trouble getting anywhere in eclipse. Even getting consistent behaviour. The original eclipse-created-project was deploying to my Android phone. And now it is only deploying to the simulator. ARGH.
And I can't see how to load this IntroJucer-generated-project into eclipse.
Looking back through the forum, I can find http://www.juce.com/forum/topic/beginners-tutorial-introjucer-apk-using-windows#p61988 which says that I need to run this project through the NDK before I attempt to load it into eclipse.
But now I'm having trouble running it through NDK. That guide I linked says:
- from there, start ndk-build (it should run if you set the PATH correctly)
I try modifying my path:
pi@piBookAir.local ~ /Users/pi/Desktop/JUCE-master/extras/example projects/Builds/Android: ⤐ PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/X11/bin:/Users/pi/Dev/Android\ SDK/ndk ✔ pi@piBookAir.local ~ /Users/pi/Desktop/JUCE-master/extras/example projects/Builds/Android: ⤐ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/X11/bin:/Users/pi/Dev/Android SDK/ndk ✔ pi@piBookAir.local ~ /Users/pi/Desktop/JUCE-master/extras/example projects/Builds/Android: ⤐ pwd /Users/pi/Desktop/JUCE-master/extras/example projects/Builds/Android ✔ pi@piBookAir.local ~ /Users/pi/Desktop/JUCE-master/extras/example projects/Builds/Android: ⤐ ndk-build usage: dirname path make: /Users/pi/build/core/build-local.mk: No such file or directory make: *** No rule to make target `/Users/pi/build/core/build-local.mk'. Stop. ✘
This is horrible stumbling. I apologise. Could someone please come to the rescue?