在哪里可以找到cordova 3.2 jar文件? [英] Where i can get cordova 3.2 jar file?
本文介绍了在哪里可以找到cordova 3.2 jar文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试使用此链接,但无法构建cordova jar文件,
I have tried using this link but am not able to build cordova jar file,
当我运行android update project -p时. -t android-19 在我的框架目录中,我得到输出:
when I run android update project -p . -t android-19 in my framework directory I get the output:
E:\eclipse\cordova-android-master\framework>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:\eclipse\cordova-android-master\framework\proguard-project.txt
It seems that there are sub-projects. If you want to update them
please use the --subprojects parameter.
然后在我的框架目录中运行命令ant jar的步骤中,我得到输出:
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:\Android\PhoneGap\cordova-3.2.0-src\cordova-3.2.0\cordova-android\cordova-android\framework\bin\dexedLibs
[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:\Android\PhoneGap\cordova-3.2.0-src\cordova-3.2.0\cordova-android\cordova-android\framework\bin\res/crunch
BUILD FAILED
D:\Program Files (x86)\sdk\tools\ant\build.xml:650: The following error occurred while executing this line:
D:\Program Files (x86)\sdk\tools\ant\build.xml:691: null returned: 1
Total time: 2 seconds
请帮助我
推荐答案
转到
E:\eclipse\cordova-android-master\framework>
打开build.xml
文件,将version-tag: custom
更改为version-tag: 1
保存文件.
Go to
E:\eclipse\cordova-android-master\framework>
open build.xml
file, change version-tag: custom
to version-tag: 1
save the file.
并运行命令
android update project -p . -t android-15
然后运行
ant clean
蚂蚁奔跑
这篇关于在哪里可以找到cordova 3.2 jar文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文