由网友(骑猪兜风)分享简介:我已经使用这个链接试过,但我不能够建立cordava jar文件,i have tried using this link but am not able to build cordava jar file ,当我运行Android更新项目-p。 -t的android-19在我的框架目录中我得到的输出:when...
我已经使用这个链接试过,但我不能够建立cordava jar文件,
i have tried using this link but am not able to build cordava jar file ,
当我运行Android更新项目-p。 -t的android-19 在我的框架目录中我得到的输出:
when i run android update project -p . -t android-19 in my framework directory i get the output:
E:eclipsecordova-android-masterframework>android update project -p . -t android-15
Updated project.properties
Updated local.properties
build.xml: Found version-tag: custom. File will not be updated.
Updated file E:eclipsecordova-android-masterframeworkproguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
然后在我运行命令ant瓶子在我的框架目录中的一步,我得到的输出:
Then in the step where i run the command ant jar in my framework directory i get the output:
[checkenv] Installed at D:Program Files (x86)sdk
-setup:
[echo] Project Name: Cordova
[gettype] Project Type: Android Library
-build-setup:
[getbuildtools] Using latest Build Tools: 17.0.0
[echo] Resolving Build Target for Cordova...
[gettarget] Project Target: Android 4.4
[gettarget] API level: 19
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: D:AndroidPhoneGapcordova-3.2.0-srccordova-3.2.0cordova-androidcordova-androidframeworkbindexedLibs
[echo] ----------
[echo] Resolving Dependencies for Cordova...
[dependency] Library dependencies:
[dependency] No Libraries
[echo] ----------
[echo] Building Libraries with '${build.target}'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[aapt] invalid resource directory name: D:AndroidPhoneGapcordova-3.2.0-srccordova-3.2.0cordova-androidcordova-androidframeworkbinres/crunch
BUILD FAILED
D:Program Files (x86)sdktoolsantbuild.xml:650: The following error occurred while executing this line:
D:Program Files (x86)sdktoolsantbuild.xml:691: null returned: 1
Total time: 2 seconds
请帮我
推荐答案
转到
E:日食科尔多瓦 - 机器人主框架>
打开的build.xml
文件,更改版本标签:自定义
到版本标签:1
保存文件。
Go to
E:eclipsecordova-android-masterframework>
open build.xml
file, change version-tag: custom
to version-tag: 1
save the file.
和运行命令
android update project -p . -t android-15
然后运行
ant clean
蚂蚁运行
相关推荐
最新文章