unable to create proper android.proj

hi I am using cocos2d-x 2.15… I have downloaded android sdk and ndk and set the root directories correctly still I am getting folder no created error…… I am using latest version of sdk and ndk….

When i create android project from shell script I get “sdk/tools/android” does not exist… but the project folder gets created…

below is the log

use global definition of NDK_ROOT: /home/siddharthshekar/Documents/Androidkit/android-ndk-r9b
use global definition of ANDROID_SDK_ROOT: /home/siddharthshekar/Documents/Androidkit/adt-bundle-mac-x86_64-20131030/sdk
Input package path. For example: org.cocos2dx.example
org.test.test
Now cocos2d-x supports Android 2.2 or upper version
/Users/siddharthshekar/Documents/cocos2d-x215_master/create-android-project.sh: line 103: /home/siddharthshekar/Documents/Androidkit/adt-bundle-mac-x86_64-20131030/sdk/tools/android: No such file or directory
input target id:
25
input your project name:
asasas
/Users/siddharthshekar/Documents/cocos2d-x215_master/create-android-project.sh: line 119: /home/siddharthshekar/Documents/Androidkit/adt-bundle-mac-x86_64-20131030/sdk/tools/android: No such file or directory
/Users/siddharthshekar/Documents/cocos2d-x215_master/create-android-project.sh: line 120: /home/siddharthshekar/Documents/Androidkit/adt-bundle-mac-x86_64-20131030/sdk/tools/android: No such file or directory
/Users/siddharthshekar/Documents/cocos2d-x215_master/template/android/gamemk.sh: line 32:
/Users/siddharthshekar/Documents/cocos2d-x215_master/asasas/proj.android/jni/Android.mk: No such file or directory
/Users/siddharthshekar/Documents/cocos2d-x215_master/template/android/copy_files.sh: line 84:
/Users/siddharthshekar/Documents/cocos2d-x215_master/asasas/proj.android/src/org/test/test/asasas.java: No such file or directory

Now when i go to the proj.android folder to run script … i get android-ndk-r9b/ndk-build: No such file or directory … and doesnt do anything beyond it… log is as below

"
siddharths-Mac-Pro:proj.android siddharthshekar$ /Users/siddharthshekar/Documents/cocos2d-x215_master/asasas/proj.android/build_native.sh
NDK_ROOT = /home/siddharthshekar/Documents/Androidkit/android-ndk-r9b
COCOS2DX_ROOT = /Users/siddharthshekar/Documents/cocos2d-x215_master/asasas/proj.android/…/…
APP_ROOT = /Users/siddharthshekar/Documents/cocos2d-x215_master/asasas/proj.android/…
APP_ANDROID_ROOT = /Users/siddharthshekar/Documents/cocos2d-x215_master/asasas/proj.android
Using prebuilt externals
/Users/siddharthshekar/Documents/cocos2d-x215_master/asasas/proj.android/build_native.sh: line 89: /home/siddharthshekar/Documents/Androidkit/android-ndk-r9b/ndk-build: No such file or directory
siddharths-Mac-Pro:proj.android siddharthshekar$ "

anyone???

ok it seems that the quotes are not required … and also think it helps to keep the location shorter. Can anyone alteast confirm this?

Can’t believe spent like 10 hours on this…

  1. set environment paramters
    NDK_ROOT_LOCAL=/Users/siddharthshekar/Androidkit/ndk-r8c
    ANDROID_SDK_ROOT_LOCAL=/Users/siddharthshekar/Androidkit/sdk