19 is not a valid android target platform

cocos2-JS 版本 2.1

使用Eclipse可以编译成功

使用命令

cocos compile -p android -m release 报

Running command: compile
Building mode: release
Android platform not specified, searching a default one…
running: ‘/Developer/Android/sdk/tools/android update project -t android-19 -p /Developer/cocos2d-js/project-game/Game/frameworks/runtime-src/proj.android’

Updated project.properties
Updated local.properties
Updated file /Developer/cocos2d-js/project-poptile/Game/frameworks/runtime-src/proj.android/proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.

GoogleInc.:GoogleAPIs(x86SystemImage):19 is not a valid android target platform.

请教各位达人怎么解决这个问题?

:7::7::7::7::7::7:

— Begin quote from ____

引用第1楼fgbghnn于2014-12-31 10:47发表的 :
:7: :7: :7: :7: :7: :7: http://www.cocoachina.com/bbs/job.php?action=topost&tid=279069&pid=1210731

— End quote

这个应该是你的android项目的编译目标版本问题吧,可以再后面加一个参数–ap 20以及修改project.properties下的target,可以参考:http://cn.cocos2d-x.org/tutorial/show?id=1278