1

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.

4

2 回答 2

1
于 2013-07-24T04:43:36.533 回答
0

o我知道了这个错误的原因。我只需要重新启动我的电脑。重新启动我的电脑后,./create 命令为 android 创建一个新的 phonegap 项目,没有任何错误。不确定,但我的问题解决了。

谢谢

于 2013-06-18T05:23:19.107 回答