Rick Gommers created CB-6953:
--------------------------------

             Summary: Error on building android project. Semicolon expected
                 Key: CB-6953
                 URL: https://issues.apache.org/jira/browse/CB-6953
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, CLI
    Affects Versions: 3.5.0
         Environment: Windows 7 64bit
            Reporter: Rick Gommers
             Fix For: 3.6.0


I just installed Cordova 3.5.0-0.2.4.

Created fresh android project, tried to run it and this was the result:

-compile:
    [javac] Compiling 3 source files to 
C:\CordovaProjects\menukaart\platforms\android\ant-build\classes
    [javac] 
C:\CordovaProjects\menukaart\platforms\android\src\com\23ivh12b3b4\menukaart\MenuKaart.java:20:
 error: ';' expected
    [javac] package com.23ivh12b3b4.menukaart;
    [javac]            ^
    [javac] 
C:\CordovaProjects\menukaart\platforms\android\ant-gen\com\23ivh12b3b4\menukaart\BuildConfig.java:2:
 error: ';' expected
    [javac] package com.23ivh12b3b4.menukaart;
    [javac]            ^
    [javac] 
C:\CordovaProjects\menukaart\platforms\android\ant-gen\com\23ivh12b3b4\menukaart\R.java:8:
 error: ';' expected
    [javac] package com.23ivh12b3b4.menukaart;
    [javac]            ^
    [javac] 3 errors

BUILD FAILED
C:\Eclipse\sdk\tools\ant\build.xml:720: The following error occurred while 
executing this line:
C:\Eclipse\sdk\tools\ant\build.xml:734: Compile failed; see the compiler error 
output for details.

Total time: 3 seconds

C:\CordovaProjects\menukaart\platforms\android\cordova\node_modules\q\q.js:126
                    throw e;
                          ^
Error code 1 for command: cmd with args: 
/s,/c,ant,debug,-f,C:\CordovaProjects\menukaart\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-
gen
Command finished with error code 8: 
C:\CordovaProjects\menukaart\platforms\android\cordova\run.bat
Error: C:\CordovaProjects\menukaart\platforms\android\cordova\run.bat: Command 
failed with exit code 8
    at ChildProcess.whenDone 
(C:\Users\RICKGO~1\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:735:16)
    at Process.ChildProcess._handle.onexit (child_process.js:802:5)

C:\CordovaProjects\menukaart>cordova -v
3.5.0-0.2.4



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to