diff --git a/create-android-project.sh b/create-android-project.sh index b83370324b..09e1618e5b 100755 --- a/create-android-project.sh +++ b/create-android-project.sh @@ -117,7 +117,7 @@ create_android_project(){ mkdir $PROJECT_DIR # Create Android project inside proj.android $ANDROID_SDK_ROOT_LOCAL/tools/android create project -n $PROJECT_NAME -t $TARGET_ID -k $PACKAGE_PATH -a $PROJECT_NAME -p $PROJECT_DIR/proj.android - $ANDROID_SDK_ROOT_LOCAL/tools/android update project -l ../../cocos2dx/platform/android/java -p $PROJECT_DIR/proj.android + $ANDROID_SDK_ROOT_LOCAL/tools/android update project -l cocos2dx/platform/android/java -p $PROJECT_DIR/proj.android } check_path