I am try to build project from android-build.py in window cmd but I am getting error
E:2d-x-develop\build>python android-build.py hellocpp
File “android-build.py”, line 22
and all for all samples"
^
SyntaxError: invalid syntax
I am try to build project from android-build.py in window cmd but I am getting error
E:2d-x-develop\build>python android-build.py hellocpp
File “android-build.py”, line 22
and all for all samples"
^
SyntaxError: invalid syntax
I suggest you to get cocos2d-x 2.2 version because it can make project template for all platform that supports
just go to tools—————>project-creator folder and run create_project.py
python ./create_project.py project TestGamepackage com.MyCompany.TestGame -language cpp
I try this also but it is also giving Syntax error
D:2d-x-2.2\tools\project-creator>python ./create_project.py project TestGpackage com.MyCompany.TestGame -language cpp
ame
File “./create_project.py”, line 27
print “Usage: create_project.py project PROJECT_NAMEpackage PACKAGE_NAME
-language PROGRAMING_LANGUAGE”
^
SyntaxError: invalid syntax
I try this also but it is also giving Syntax error
D:2d-x-2.2\tools\project-creator>python ./create_project.py project TestGpackage com.MyCompany.TestGame -language cpp
ame
File “./create_project.py”, line 27
print “Usage: create_project.py project PROJECT_NAMEpackage PACKAGE_NAME
-language PROGRAMING_LANGUAGE”
^
SyntaxError: invalid syntax
Anil Singh wrote:
I try this also but it is also giving Syntax error
>
D:cocos2d-x-2.2 oolsproject-creator>python ./create_project.pyproject TestGpackage com.MyCompany.TestGame -language cpp
ame
File “./create_project.py”, line 27
print “Usage: create_project.pyproject PROJECT_NAMEpackage PACKAGE_NAME
-language PROGRAMING_LANGUAGE”
>
^
SyntaxError: invalid syntax
I had this problem using Python 3.3.2, try using 2.7.6 instead.