@rsa wrote:
Hi all;
I was working with ionic and suddenly in testing my app it shows the fallowing messages:
d:\mob\mytabs>ionic build android Running command: "C:\Program Files\nodejs2\node.exe" d:\mob\mytabs\hooks\after_prepare\010_add_platform_class.js d:\mob\mytabs add to body class: platform-android Running command: cmd "/s /c "d:\mob\mytabs\platforms\android\cordova\build.bat"" ANDROID_HOME=D:\adt-bundle-windows-x86-20130219\SDK JAVA_HOME=C:\Program Files\Java\jdk1.8.0_20 Running: d:\mob\mytabs\platforms\android\gradlew cdvBuildDebug -b d:\mob\mytabs\platforms\android\build.gradle -Dorg.gradle.daemon=true FAILURE: Build failed with an exception. * What went wrong: Unable to start the daemon process. This problem might be caused by incorrect configuration of the daemon. For example, an unrecognized jvm option is used. Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.2.1/userguide/gradle_daemon.html Please read the following process output to find out more: ----------------------- 08:35:31.724 [main] DEBUG o.g.l.daemon.bootstrap.DaemonMain - Assuming the daemon was started with following jvm opts: [-XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Xmx1024m, -Dfile.encoding=windows-1256, -Duser.country=US, -Duser.language=en, -Duser.variant] FAILURE: Build failed with an exception. * What went wrong: Could not create service of type DaemonContext using DaemonServices.createDaemonContext(). * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Java HotSpot(TM) Client VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. d:\mob\mytabs\platforms\android\cordova\node_modules\q\q.js:126 throw e; ^ Error code 1 for command: cmd with args: /s /c "d:\mob\mytabs\platforms\android\gradlew cdvBuildDebug -b d:\mob\mytabs\platforms\android\build.gradle -Dorg.gradle.daemon=true" ERROR building one of the platforms: Error: cmd: Command failed with exit code 1 You may not have the required environment or OS to build this project Error: cmd: Command failed with exit code 1
Posts: 1
Participants: 1