cocos2d-x 2.2 android project can not build with adt-bundle-mac-x86_64-20130729

OS:Mac OS X 10.8.5
Version:cocos2d-x 2.2
IDE:adt-bundle-mac-x86_64-20130729

use crate_project.sh to create a project, when build from ADT, a error message says: please define NDK_ROOT

I use creat_android_project.sh from 2.1.5 to create a android project, and then select Android Tools -> Add native support from ADT, and then copy the .cproject file to the project generated by 2.2, now it can build from ADT, it seems the “builder” config of the original .cproject file from 2.2 is not compatible with ADT.

You also need to download ndk to compile android project
http://developer.android.com/tools/sdk/ndk/index.html

Flow this tutorial, should help
http://www.cocos2d-x.org/wiki/How_to_create_a_multi-platform_project_in_one_command_line

Thank you Nite.
But no luck.

I use android-ndk-r9.
It works fine in Version 2.1.5. But not in 2.2.

Build c++ codes in Eclipse is not good after using. It blocks Eclipse when opening Eclipse. So we disable this feature in latest codes.

PS: I use android-ndk-r9, it works well.

I’m not sure it is the right thread to put my question.
I cannot find create_android_project.bat/create_android_project.sh files under cocos2dx root folder. I’m working with version 2.2 of cocos2dx.

I was using version 2.1.5 earlier and it had all the necessary files to create new project. Can anyone help me with this?
Thanks