Closed GoogleCodeExporter closed 9 years ago
1>------ 已启动生成: 项目: bitmap-plasma, 配置: Release Android ------ 1>生成启动时间为 2013-9-24 23:27:27。 1>InitializeBuildStatus: 1> 正在对“Android\Release\bitmap-plasma.unsuccessfulbuild”执行 Touch 任务。 1>ClCompile: 1> 所有输出均为最新。 1>Link: 1> 所有输出均为最新。 1>AntBuild: 1> Envvar: JAVA_HOME is set to 'C:\Program Files\Java\jdk1.6.0_21' 1> Envvar: JAVA_OPTS is set to '' 1> E:\bee\apache-ant-1.9.2\bin\ant.bat release 1> Buildfile: D:\cocos2dx\vs-android_samples\vs-android_samples\bitmap-plasma\AndroidApk\build .xml 1> 1> -set-mode-check: 1> 1> -set-release-mode: 1> [echo] ************************************************* 1> [echo] **** Android Manifest has debuggable=true **** 1> [echo] **** Doing DEBUG packaging with RELEASE keys **** 1> [echo] ************************************************* 1> 1> -release-obfuscation-check: 1> [echo] proguard.config is ${proguard.config} 1> 1> -pre-build: 1> 1> -check-env: 1> [checkenv] Android SDK Tools Revision 22.0.0 1> [checkenv] Installed at E:\bee\android-sdk-windows 1> 1> -setup: 1> [echo] Project Name: Plasma 1> [gettype] Project Type: Application 1> 1> -build-setup: 1> [getbuildtools] Using latest Build Tools: 18.1.0 1> [echo] Resolving Build Target for Plasma... 1> [gettarget] Project Target: Android 2.2 1> [gettarget] API level: 8 1> [echo] ---------- 1> [echo] Creating output directories if needed... 1> [echo] ---------- 1> [echo] Resolving Dependencies for Plasma... 1> [dependency] Library dependencies: 1> [dependency] No Libraries 1> [dependency] 1> [dependency] ------------------ 1> [dependency] API<=15: Adding annotations.jar to the classpath. 1> [echo] ---------- 1> [echo] Building Libraries with 'release'... 1> [subant] No sub-builds to iterate on 1> 1> -code-gen: 1> [mergemanifest] Found Deleted Target File 1> [mergemanifest] Merging AndroidManifest files into one. 1> [mergemanifest] Manifest merger disabled. Using project manifest only. 1> [echo] Handling aidl files... 1> [aidl] No AIDL files to compile. 1> [echo] ---------- 1> [echo] Handling RenderScript files... 1> [renderscript] No RenderScript files to compile. 1> [echo] ---------- 1> [echo] Handling Resources... 1> [aapt] Found Deleted Target File 1> [aapt] Generating resource IDs... 1> [echo] ---------- 1> [echo] Handling BuildConfig class... 1> [buildconfig] Generating BuildConfig class. 1> 1> -pre-compile: 1> 1> -compile: 1> [javac] Compiling 2 source files to D:\cocos2dx\vs-android_samples\vs-android_samples\bitmap-plasma\AndroidApk\bin\c lasses 1> 1> -post-compile: 1> 1> -obfuscate: 1> 1> -dex: 1> [dex] input: D:\cocos2dx\vs-android_samples\vs-android_samples\bitmap-plasma\AndroidApk\bin\c lasses 1> [dex] input: E:\bee\android-sdk-windows\tools\support\annotations.jar 1> [dex] Pre-Dexing E:\bee\android-sdk-windows\tools\support\annotations.jar -> annotations-f147e75fadd3557e0569467bada8792f.jar 1> [dx] Could not create the Java virtual machine.Error occurred during initialization of VM 1> [dx] Could not reserve enough space for object heap 1> [dx] 1> 1> BUILD FAILED 1> E:\bee\android-sdk-windows\tools\ant\build.xml:885: The following error occurred while executing this line: 1> E:\bee\android-sdk-windows\tools\ant\build.xml:887: The following error occurred while executing this line: 1> E:\bee\android-sdk-windows\tools\ant\build.xml:899: The following error occurred while executing this line: 1> E:\bee\android-sdk-windows\tools\ant\build.xml:281: null returned: 1 1> 1> Total time: 7 seconds 1>PostAntDeploy: 1> 1> 1> Deploying... ( Use 'Build -> Cancel' - to halt deploy ) 1> 1> E:\bee\android-sdk-windows\platform-tools\adb.exe wait-for-device 1> E:\bee\android-sdk-windows\platform-tools\adb.exe install -r "D:\cocos2dx\vs-android_samples\vs-android_samples\bitmap-plasma\AndroidApk\bin\ Plasma-release.apk" 1> can't find 'D:\cocos2dx\vs-android_samples\vs-android_samples\bitmap-plasma\AndroidApk\bin\ Plasma-release.apk' to install 1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Platforms\Android\Microsoft.Cpp.Android.Targets (363,5): error MSB6006: “E:\bee\android-sdk-windows\platform-tools\adb.exe”已退出,代码为 1。 1> 1>生成失败。 1> 1>已用时间 00:00:14.60 2>------ 已跳过部署: 项目: bitmap-plasma, 配置: Release Android ------ 2>没有为此解决方案配置选中要生成的项目 ========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ========== ========== 部署: 成功 0 个,失败 0 个,跳过 1 个 ==========
Original issue reported on code.google.com by nfpdp4...@gmail.com on 24 Sep 2013 at 3:28
nfpdp4...@gmail.com
See: https://code.google.com/p/vs-android/wiki/Troubleshooting The section titled "Could not create the Java virtual machine."
Original comment by gavin.dj.pugh on 3 Jan 2014 at 6:09
gavin.dj.pugh
Original issue reported on code.google.com by
nfpdp4...@gmail.com
on 24 Sep 2013 at 3:28