BeginTP
BeginTP

Reputation: 55

[cocos2d-x]I have an error when I try to run 'python android-build.py -p 19 cpp-tests' in Windows 10

When i try to run the command python android build -p cpp-tests, i'm getting an error as in the image:

enter image description here

Before this, I had another error message about Android SDK Tools version compatiblity. So, I just replaced sdk version form 26.0.0 to 25.2.3 and it worked. But for this i'm not getting any solution. Any help would be appreciated. Thank You.

Upvotes: 0

Views: 596

Answers (1)

AAryan
AAryan

Reputation: 20140

#include <unistd.h> header is missing in ProcessCpuTracker.cpp file for NDK v15, there is an issue reported for the same.

Either you downgrade NDK to previous version r14 or apply patch by yourself.

Patch will be included in official release of 3.16.

Upvotes: 3

Related Questions