cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saul Giordani (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7918) Can't run or compile with android platform
Date Fri, 31 Oct 2014 18:19:33 GMT

     [ https://issues.apache.org/jira/browse/CB-7918?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Saul Giordani updated CB-7918:
------------------------------
    Labels: build newbie  (was: )

> Can't run or compile with android platform
> ------------------------------------------
>
>                 Key: CB-7918
>                 URL: https://issues.apache.org/jira/browse/CB-7918
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.0.0
>         Environment: Os x yosemite
>            Reporter: Saul Giordani
>              Labels: build, newbie
>
> Hi, I'm trying to compile my cordova project: when I try to compile iOS it works, but
the command
> "cordova compile android" returns these errors
> BUILD FAILED
> /Users/saulgiordani/Documents/Programmazione/PhoneGapp:/Users/saulgiordani/documents/programmazione/phonegapp:cordova/apps/testapp/platforms/android/build.xml:7:
The following error occurred while executing this line:
> java.io.FileNotFoundException: /Users/saulgiordani/Documents/Programmazione/PhoneGapp:/usr/local/Cellar/ant/1.9.4/libexec/lib/ant.jar
(No such file or directory)
> at java.io.RandomAccessFile.open(Native Method)
> at java.io.RandomAccessFile.(RandomAccessFile.java:243)
> at org.apache.tools.zip.ZipFile.(ZipFile.java:211)
> at org.apache.tools.zip.ZipFile.(ZipFile.java:176)
> at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:256)
> at org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:131)
> at org.apache.tools.ant.helper.ProjectHelper2.parseAntlibDescriptor(ProjectHelper2.java:111)
> at org.apache.tools.ant.taskdefs.Antlib.createAntlib(Antlib.java:94)
> at org.apache.tools.ant.taskdefs.Definer.loadAntlib(Definer.java:425)
> at org.apache.tools.ant.taskdefs.Definer.execute(Definer.java:277)
> at org.apache.tools.ant.ComponentHelper.checkNamespace(ComponentHelper.java:874)
> at org.apache.tools.ant.ComponentHelper.getDefinition(ComponentHelper.java:307)
> at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:284)
> at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:263)
> at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:429)
> at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
> at org.apache.tools.ant.Task.perform(Task.java:347)
> at org.apache.tools.ant.Target.execute(Target.java:435)
> at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
> at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
> at org.apache.tools.ant.Main.runBuild(Main.java:826)
> at org.apache.tools.ant.Main.startAnt(Main.java:235)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
> Total time: 0 seconds
> /Users/saulgiordani/documents/programmazione/phonegapp:cordova/apps/testapp/platforms/android/cordova/node_modules/q/q.js:126
> throw e;
> ^
> Error code 1 for command: ant with args: debug,-f,/Users/saulgiordani/documents/programmazione/phonegapp:cordova/apps/testapp/platforms/android/build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
> Error: /Users/saulgiordani/documents/programmazione/phonegapp:cordova/apps/testapp/platforms/android/cordova/build:
Command failed with exit code 8
> at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
> at ChildProcess.emit (events.js:98:17)
> at maybeClose (child_process.js:756:16)
> at Process.ChildProcess._handle.onexit (child_process.js:823:5)
> My bash profile:
> export PATH=${PATH}:/Users/saulgiordani/Documents/Programmazione/Android/adt-bundle-mac-x86_64-20130729/sdk/platform-tools:/Users/saulgiordani/Documents/Programmazione/Android/adt-bundle-mac-x86_64-20130729/sdk/tools
> export PATH=${PATH}:/usr/local/Cellar/ant/1.9.4/libexec/lib
> export PATH=${PATH}:/usr/libexec/java_home
> I'm getting crazy, please help me!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message