Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17070

Android (Terminal) installation question about ant/build.xml error

$
0
0

@cdachiever wrote:

i was following tutorial(android terminal installation) - http://www.cocos2d-x.org/docs/installation/B/index.html

when i use command "python android-build.py -p 23 cpp-tests", i gets errors.
i don't know what is the problem.
Is anyone know how to solve the problem.

i'm using
- Windows 10
- cocos2d-x-3.11.1
- ndk r10c
- apache-ant-1.9.7

and i'm wondering why the command use "Android\sdk\tools\ant" that exist when i download android studio bundle, not ant-1.9.7 that i download as ant.

====================================================================

[javac] Note: C:\cocos2d-x-3.11.1\cocos\platform\android\java\src\org\cocos2dx\lib\Cocos2dxDownloader.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 12 errors
[javac] 3 warnings

BUILD FAILED
C:\Android\sdk\tools\ant\build.xml:597: The following error occurred while executing this line:
C:\Android\sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
C:\Android\sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 17070

Trending Articles