I get the error when tried to create an android project with phonegap latest version on mac mini. I followed the getting stared docs provided by cordova. I also edited my bash profile and included android sdk tools and platform-tools path.
But when execute the ./create command I got that error
An unexpected error occurred: "$ANDROID_BIN" create project --target $TARGET --path "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY >&/dev/null exited with 1
Deleting project...
I don't figured out the reason of this error. please help me...
I have read some similar post in stackoverflow but their solutions didn't help me.
Thanks.