Error Cocos2d-x Android project again!

Cocos2d-x project takes an error again.

A thing what I did

The command.
$ cocos compile -s ./TestingProject -p android
The reply. It was not 5 seconds!
BUILD FAILED
/Users/(UserName)/Library/Android/sdk/tools/ant/build.xml:597: The following error occurred while executing this line:
/Users/(UserName)/Library/Android/sdk/tools/ant/build.xml:716: The following error occurred while executing this line:
/Users/(UserName)/Library/Android/sdk/tools/ant/build.xml:730: Compile failed; see the compiler error output for details.

Total time: 5 seconds
Error running command, return code: 1.

Environment

Java SE Development Kit 8u92
Cocos2d-x 3.10
Android Studio 2.1.1 (SDK API level 23)
Android NDK r10e
Apache ANT 1.9.7

What should I do

1. Find this file in Android SDK folder.
org.apache.http.legacy.jar
Normally it is at this path if Android Studio was installed for standard.
/Users/(UserName)/Library/Android/sdk/platforms/android-23/optional

2. Copy this jar file to this place.
(Your Project)/cocos2d/cocos/platform/android/java/libs

Ref link

http://discuss.cocos2d-x.org/t/cant-compile-to-android/26874