Eclipse Android Error make: *** empty variable name.Stop

I created a project using cocos2dx - 2.2.2. I was working on the iOS build and I needed to build the android project. So I opened eclipse, imported the project (import existing android project) and tried to build it. I am getting the error
make: *** empty variable name. Stop.

Is anyone else facing the same issues?Please help.

@TheDevil

I have written a tutorial about build cocos2d-x 3.0 on Android with Eclipse, I think the v2.2 is the same.

Here is the link: http://cocos2d-x.org/docs/manual/framework/native/getting-started/v3.0/how-to-build-android-project-with-eclipse/en

The error was removed by deleting the build command under c++ plus properties and adding it again.