play-co / devkit

HTML 5 game platform for browser and mobile
http://docs.gameclosure.com
627 stars 126 forks source link

Build fail error `Android NDK: Your APP_BUILD_SCRIPT points to an unknown file #226

Open softvar opened 9 years ago

softvar commented 9 years ago

ndk-build, ant and android commnads are working fine in terminal.

No more error like the following:

 [android]    android create project --target android-15 --name demoAccelerometer --path /Users/softvar/side-projects/devkit/demoAccelerometer/build/debug/native-android --activity demoAccelerometerActivity --package com.gameclosure.demoAccelerometer

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: spawn ENOENT
    at errnoException (child_process.js:988:11)
    at Process.ChildProcess._handle.onexit (child_process.js:779:34)

But now running devkit debug native-android --no-compress --debug --clean, the process gets started but with build fail error:

Error: Android NDK: Your APP_BUILD_SCRIPT points to an unknown file: /Users/softvar/side-projects/devkit/demoAccelerometer/build/jni/Android.mk

Screenshot 1: https://www.dropbox.com/s/0yoood8oegglxxo/Screenshot%202015-05-13%2014.04.53.png?dl=0 Screenshot 2: https://www.dropbox.com/s/yectm7ygfoeaex0/Screenshot%202015-05-13%2014.05.09.png?dl=0

and gets stuck at:

[native-android]    Reading plugin XML: /Users/softvar/side-projects/devkit/demoAccelerometer/modules/devkit-accelerometer/android/manifest.xml
[native-android]    Transforming XML with plugin XSL for /Users/softvar/side-projects/devkit/demoAccelerometer/modules/devkit-accelerometer/android/manifest.xsl
[native-android]    [error]  settings for AndroidManifest: value for gameHash is not a string
     [jvmtools]    connected to localhost:59159
[native-android]    Applying final XSL transformation
[native-android]    [error]  settings for AndroidManifest: value for gameHash is not a string

Please help!