构建生成库在编译我的钛安卓模块时不存在



我正在尝试用ant编译我的钛Android模块,但是错误来了,就像build\generated \libs不存在,如果我手动创建它编译但效果不佳,我发现在这个论坛中只有这个过程不正确,所以请任何人帮助我。

C:UsersensisDocumentsTitaniumstudioworkspacesip6>ant
Buildfile: C:UsersensisDocumentsTitaniumstudioworkspacesip6build.xml
init:
process.annotations:
generate.rhino.bindings:
     [java] Generating C:UsersensisDocumentsTitaniumstudioworkspacesip6bui
ldgeneratedjavacomyydigitalsipclientSipclientProxyPrototype.java
     [java] Generating C:UsersensisDocumentsTitaniumstudioworkspacesip6bui
ldgeneratedjavacomyydigitalsipclientSipclientModulePrototype.java
     [java] Generating C:UsersensisDocumentsTitaniumstudioworkspacesip6bui
ldgeneratedjavasip6GeneratedBindings.java
generate.rhino.idswitch:
     [echo] Generating IDs for C:UsersensisDocumentsTitaniumstudioworkspace
sip6buildgeneratedjavacomyydigitalsipclientSipclientBootstrap.java
     [echo] Generating IDs for C:UsersensisDocumentsTitaniumstudioworkspace
sip6buildgeneratedjavacomyydigitalsipclientSipclientModulePrototype.java
     [echo] Generating IDs for C:UsersensisDocumentsTitaniumstudioworkspace
sip6buildgeneratedjavacomyydigitalsipclientSipclientProxyPrototype.java
     [echo] Generating IDs for C:UsersensisDocumentsTitaniumstudioworkspace
sip6buildgeneratedjavasip6GeneratedBindings.java
generate.v8.bindings:
     [java] Generating C:UsersensisDocumentsTitaniumstudioworkspacesip6bui
ldgeneratedjnicom.yydigital.sipclient.SipclientProxy.h
     [java] Generating C:UsersensisDocumentsTitaniumstudioworkspacesip6bui
ldgeneratedjnicom.yydigital.sipclient.SipclientProxy.cpp
     [java] Generating C:UsersensisDocumentsTitaniumstudioworkspacesip6bui
ldgeneratedjnicom.yydigital.sipclient.SipclientModule.h
     [java] Generating C:UsersensisDocumentsTitaniumstudioworkspacesip6bui
ldgeneratedjnicom.yydigital.sipclient.SipclientModule.cpp
     [exec] Traceback (most recent call last):
     [exec]   File "C:UsersensisAppDataRoamingTitaniummobilesdkwin322.1.
4.GAmoduleandroidbootstrap.py", line 395, in <module>
     [exec]     main()
     [exec]   File "C:UsersensisAppDataRoamingTitaniummobilesdkwin322.1.
4.GAmoduleandroidbootstrap.py", line 363, in main
     [exec]     from manifest import Manifest
     [exec]   File "C:UsersensisAppDataRoamingTitaniummobilesdkwin322.1.
4.GAmanifest.py", line 4, in <module>
     [exec]     from StringIO import StringIO
     [exec] ImportError: No module named 'StringIO'
generate.bindings:
pre.compile:
     [exec]   File "C:UsersensisAppDataRoamingTitaniummobilesdkwin322.1.
4.GAmoduleandroidandroid.py", line 25
     [exec]     print "[ERROR] Couldn't find the Android API r%s platform direct
ory" % androidsdk.DEFAULT_API_LEVEL
     [exec]
   ^
     [exec] SyntaxError: invalid syntax
js.compile:
ndk.build:
    [mkdir] Created dir: C:UsersensisAppDataLocalTempensissip6-generated
     [copy] Copying 15 files to C:UsersensisAppDataLocalTempensissip6-gen
erated
     [exec] jni/Android.mk:24: warning: overriding commands for target `C:/Users
/ensis/AppData/Local/Temp/ensis/sip6-generated/KrollGeneratedBindings.cpp'
     [exec] jni/Android.mk:24: warning: ignoring old commands for target `C:/Use
rs/ensis/AppData/Local/Temp/ensis/sip6-generated/KrollGeneratedBindings.cpp'
     [exec] jni/Android.mk:27: warning: overriding commands for target `C:/Users
/ensis/AppData/Local/Temp/ensis/sip6-generated/BootstrapJS.cpp'
     [exec] jni/Android.mk:27: warning: ignoring old commands for target `C:/Use
rs/ensis/AppData/Local/Temp/ensis/sip6-generated/BootstrapJS.cpp'
     [exec] jni/Android.mk:24: warning: overriding commands for target `C:/Users
/ensis/AppData/Local/Temp/ensis/sip6-generated/KrollGeneratedBindings.cpp'
     [exec] jni/Android.mk:24: warning: ignoring old commands for target `C:/Use
rs/ensis/AppData/Local/Temp/ensis/sip6-generated/KrollGeneratedBindings.cpp'
     [exec] jni/Android.mk:27: warning: overriding commands for target `C:/Users
/ensis/AppData/Local/Temp/ensis/sip6-generated/BootstrapJS.cpp'
     [exec] jni/Android.mk:27: warning: ignoring old commands for target `C:/Use
rs/ensis/AppData/Local/Temp/ensis/sip6-generated/BootstrapJS.cpp'
     [exec] "Compile++ thumb : com.yydigital.sipclient <= com.yydigital.sipclien
t.SipclientModule.cpp
     [exec] In file included from jni/com.yydigital.sipclient.SipclientModule.cp
p:23:
     [exec] jni/com.yydigital.sipclient.SipclientProxy.h:36: error: expected unq
ualified-id before 'const'
     [exec] jni/com.yydigital.sipclient.SipclientProxy.h:36: error: expected ')'
 before 'const'
     [exec] make: *** [C:UsersensisAppDataLocalTemp/ensis/sip6-generated/o
bj/local/armeabi/objs/com.yydigital.sipclient/com.yydigital.sipclient.SipclientM
odule.o] Error 1
     [move] Moving 15 files to C:UsersensisDocumentsTitaniumstudioworkspace
sip6buildgenerated
BUILD FAILED
C:UsersensisAppDataRoamingTitaniummobilesdkwin322.1.4.GAmoduleandroid
build.xml:364: C:UsersensisDocumentsTitaniumstudioworkspacesip6buildgener
atedlibs does not exist.

在 C:\Users\ensis\Documents\Titaniumstudioworkspace\sip6\build\gener 中创建文件夹库刷新项目并运行 Ant。

(英语不好:D)

萨卢多斯。

相关内容

  • 没有找到相关文章

最新更新