Installation error

Installation error
0.0 0

#1

http://cocos2d-x.org/docs/installation/Android-terminal/index.html

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


#2

The important part of the error is cut off.


#3

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: