Cocos compile 成功未生成apk

D:\CoCosProjects\MyCppGame\proj.android>ant debug
Buildfile: D:\CoCosProjects\MyCppGame\proj.android\build.xml

-set-mode-check:

-set-debug-files:

-check-env:
Android SDK Tools Revision 22.2.1
Installed at D:\Android\adt-bundle-windows-x86-20130917\sdk

-setup:
Project Name: MyCppGame
Project Type: Android Library

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

-build-setup:
Using latest Build Tools: 18.1.0
Resolving Build Target for MyCppGame…
Project Target: Android 4.4.2
API level: 19
----------
Creating output directories if needed…
Created dir: D:\CoCosProjects\MyCppGame\proj.android\bin\rsObj
Created dir: D:\CoCosProjects\MyCppGame\proj.android\bin\rsLibs
----------
Resolving Dependencies for MyCppGame…
Library dependencies:
No Libraries


  ----------
  Building Libraries with 'debug'...
No sub-builds to iterate on

-code-gen:
Found Deleted Target File
Merging AndroidManifest files into one.
Manifest merger disabled. Using project manifest only.
Handling aidl files…
No AIDL files to compile.
----------
Handling RenderScript files…
----------
Handling Resources…
Found Deleted Target File
Generating resource IDs…
----------
Handling BuildConfig class…
No need to generate new BuildConfig.

-pre-compile:

-compile:
Compiling 1 source file to D:\CoCosProjects\MyCppGame\proj.android\b
in\classes
Creating library output jar file…

-post-compile:

-obfuscate:

-dex:
Library project: do not convert bytecode…

-crunch:
Crunching PNG Files in source dir: D:\CoCosProjects\MyCppGame\proj.a
ndroid\res
To destination dir: D:\CoCosProjects\MyCppGame\proj.android\bin\res
Crunched 0 PNG files to update cache

-package-resources:
Library project: do not package resources…

-package:
Library project: do not package apk…

-post-package:

-do-debug:
Library project: do not create apk…
Updating property file: D:\CoCosProjects\MyCppGame\proj.android\b
in\build.prop
Updating property file: D:\CoCosProjects\MyCppGame\proj.android\b
in\build.prop
Updating property file: D:\CoCosProjects\MyCppGame\proj.android\b
in\build.prop
Updating property file: D:\CoCosProjects\MyCppGame\proj.android\b
in\build.prop

-post-build:

debug:

BUILD SUCCESSFUL
Total time: 1 second

D:\CoCosProjects\MyCppGame\proj.android>

为什么没有生成apk文件

compile只是编译。

用这个:cocos run -p android

已解决 是NDK的问题
在NDK目录下 cmd nkd-build 一下
看看NDK是否正常

怎么解决这个问题的