Installation error

In above link i do step by step and all thing is OK. But in last step when i run this commend:
python -p 21 cpp-tests
I get this error:

The important part of the error is cut off.

The problem solved after change my ndk version from r10 to r12b.
Now i have a new problem. When i import the cpp-tests project in Android studio There is no any error in log , But when i open AppActivity class I see this error: