created new cocos2d-x 3.6 project with cocos console comnand new -l cpp, all variables are set by running setup.py, then when i try to run cocos compile i get compilation errors.
log: log.txt
Cheked if there are spaces in paths but there isn't, everything is installed.
the problem is here
Execute failed: java.io.IOEx ception:
Cannot run program"D:\MyCppGame\cocos2d\cocos\platform\android\java\${ aapt}"
(in directory "D:\MyCppGame\cocos2d\cocos\platform\android\java"):
Create Process error=2, The system cannot find the file specified
You can solve it by adding some lines to the SDK/tools/ant/build.xml