http://bbs.phonegap100.com/thread-1160-1-1.html 看看phonegap3.0以上插件开发 |
-code-gen: [mergemanifest] Found Deleted Target File [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... [echo] ---------- [echo] Handling Resources... [aapt] Found Deleted Target File [aapt] Generating resource IDs... [echo] ---------- [echo] Handling BuildConfig class... [buildconfig] No need to generate new BuildConfig. -pre-compile: -compile: [javac] Compiling 1 source file to D:\App\CaptureActivity\ant-build\classes [echo] Creating library output jar file... -post-compile: -obfuscate: -dex: [echo] Library project: do not convert bytecode... -crunch: [crunch] Crunching PNG Files in source dir: D:\App\CaptureActivity\res [crunch] To destination dir: D:\App\CaptureActivity\ant-build\res [crunch] Crunched 0 PNG files to update cache -package-resources: [echo] Library project: do not package resources... -package: [echo] Library project: do not package apk... -post-package: -do-debug: [echo] Library project: do not create apk... [propertyfile] Updating property file: D:\App\CaptureActivity\ant-build\build.pr op [propertyfile] Updating property file: D:\App\CaptureActivity\ant-build\build.pr op [propertyfile] Updating property file: D:\App\CaptureActivity\ant-build\build.pr op [propertyfile] Updating property file: D:\App\CaptureActivity\ant-build\build.pr op -post-build: debug: nodeps: -set-mode-check: -set-debug-files: -check-env: [checkenv] Android SDK Tools Revision 23.0.2 [checkenv] Installed at D:\software\adt\sdk -setup: [echo] Project Name: CordovaApp [gettype] Project Type: Android Library -set-debug-mode: -debug-obfuscation-check: -pre-build: -build-setup: [getbuildtools] Using latest Build Tools: 20.0.0 [echo] Resolving Build Target for CordovaApp... [gettarget] Project Target: Android 4.4W [gettarget] API level: 20 [echo] ---------- [echo] Creating output directories if needed... [echo] ---------- [echo] Resolving Dependencies for CordovaApp... [dependency] Library dependencies: [dependency] No Libraries [dependency] [dependency] ------------------ -code-gen: [mergemanifest] Found Deleted Target File [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... [echo] ---------- [echo] Handling Resources... [aapt] Found new input file [aapt] Generating resource IDs... [echo] ---------- [echo] Handling BuildConfig class... [buildconfig] No need to generate new BuildConfig. -pre-compile: -compile: [echo] Creating library output jar file... -post-compile: -obfuscate: -dex: [echo] Library project: do not convert bytecode... -crunch: [crunch] Crunching PNG Files in source dir: D:\App\sacner\platforms\android\C ordovaLib\res [crunch] To destination dir: D:\App\sacner\platforms\android\CordovaLib\ant-b uild\res [crunch] Crunched 0 PNG files to update cache -package-resources: [echo] Library project: do not package resources... -package: [echo] Library project: do not package apk... -post-package: -do-debug: [echo] Library project: do not create apk... [propertyfile] Updating property file: D:\App\sacner\platforms\android\CordovaLi b\ant-build\build.prop [propertyfile] Updating property file: D:\App\sacner\platforms\android\CordovaLi b\ant-build\build.prop [propertyfile] Updating property file: D:\App\sacner\platforms\android\CordovaLi b\ant-build\build.prop [propertyfile] Updating property file: D:\App\sacner\platforms\android\CordovaLi b\ant-build\build.prop -post-build: debug: -code-gen: [mergemanifest] Found Deleted Target File [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... [echo] ---------- [echo] Handling Resources... [aapt] Found Deleted Target File [aapt] Generating resource IDs... [aapt] invalid resource directory name: D:\App\CaptureActivity\bin\res/crun ch BUILD FAILED D:\software\adt\sdk\tools\ant\build.xml:653: The following error occurred while executing this line: D:\software\adt\sdk\tools\ant\build.xml:698: null returned: 1 Total time: 5 seconds D:\App\sacner\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,D:\App\sacner\platfo rms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen ERROR building one of the platforms: Error: D:\App\sacner\platforms\android\cord ova\build.bat: Command failed with exit code 8 You may not have the required environment or OS to build this project |
Archiver|手机版|小黑屋| PhoneGap中文网 ( 京ICP备13027796号-1 )
GMT+8, 2024-11-6 03:32 , Processed in 0.055327 second(s), 30 queries .
Powered by Discuz! X3.2
© 2001-2013 Comsenz Inc.