android - Cannot build cordova project successfully error while executing ant debug command -


i having error camera not successful invoked on first try (click) tried solution on stackoverflow phonegap(3.0.0) camera not successful on first try. followed steps mentioned in answer removed android cordova platform remove android run second command cordova platform add android ;

now when use netbeans run cordova application on cordova android decvice error occurs:

  exec: ant debug -f "/var/www/mobile/platforms/android/build.xml"     [ 'ant debug -f "/var/www/mobile/platforms/android/build.xml"',  { [error: command failed:    build failed   /var/www/adt-bundle-linux-x86_64-20130917/sdk/tools/ant/build.xml:720: following error       occurred while executing line:   /var/www/adt-bundle-linux-x86_64-20130917/sdk/tools/ant/build.xml:734: compile failed;   see compiler error output details.  total time: 8 seconds ] killed: false, code: 1, signal: null },   'buildfile: /var/www/mobile/platforms/android/build.xml\n\n-set-mode-check:\n\n-set-debug-files:\n\n-check-env:\n [checkenv] android sdk tools revision 22.3.0\n [checkenv]   .   .   .**long text removed post **   .    \nbuild failed\n/var/www/adt-bundle-linux-x86_64-20130917/sdk/tools/ant/build.xml:720:      following error occurred while executing line:\n/var/www/adt-bundle-linux-x86_64- 20130917/sdk/tools/ant/build.xml:734:   compile failed; see compiler error output   details.\n\ntotal time: 8 seconds\n' ]   error executing "ant debug -f "/var/www/mobile/platforms/android/build.xml"":   build failed  /var/www/adt-bundle-linux-x86_64-20130917/sdk/tools/ant/build.xml:720: following   error occurred while executing line:  /var/www/adt-bundle-linux-x86_64-20130917/sdk/tools/ant/build.xml:734: compile failed;  see compiler error output details.   total time: 8 seconds    child_process.spawn(/var/www/mobile/platforms/android/cordova/build,[]) = 2   /usr/local/lib/node_modules/cordova/node_modules/q/q.js:126                 throw e;  error: error occurred while building android project.error executing "ant debug -f "/var/www/mobile/platforms/android/build.xml"":   build failed /var/www/adt-bundle-linux-x86_64-20130917/sdk/tools/ant/build.xml:720: following error occurred while executing line: /var/www/adt-bundle-linux-x86_64-20130917/sdk/tools/ant/build.xml:734: compile failed; see compiler error output details.  total time: 8 seconds   @ childprocess.<anonymous> (/usr/local/lib/node_modules/cordova/src/compile.js:65:22) @ childprocess.eventemitter.emit (events.js:98:17) @ maybeclose (child_process.js:735:16) @ socket.<anonymous> (child_process.js:948:11) @ socket.eventemitter.emit (events.js:95:17) @ pipe.close (net.js:466:12) /var/www/mobile/nbproject/build.xml:256: exec returned: 8 build failed (total time: 4 minutes 36 seconds) 

any idea problem?

i having similar issue. ran ant debug -f "/path/to/project/build.xml" separate terminal. displayed more specific description of error (which me wast there space in project name). this answer notes:

config.xml can't have widget id number first character after dot. example: com.42myapp.test or com.myapp.42test won't work 42com.myapp.test. trigger error compiler.


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -