cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Kotikov (Akvelon)" <v-vlk...@microsoft.com>
Subject cordova-android fails to run package
Date Thu, 18 Sep 2014 09:03:48 GMT
FYI, while playing with latest cordova-android (commit 3f83fdb [1]) I've found that packaged,
built with ant can't be deployed to device/emulator.
When running 'cordova run android' I get following message:

Built the following APKs:                                                                                                           
d:\PROJECTS\Temp\test-android-nobuild\platforms\android\out\HelloCordova-debug.apk                                                  
ERROR : No .apk found in d:\PROJECTS\Temp\test-android-nobuild\platforms\android\out directory
                                     
Error: d:\PROJECTS\Temp\test-android-nobuild\platforms\android\cordova\run.bat: Command failed
with exit code 2                     
    at ChildProcess.whenDone (d:\cordova\cordova-lib\cordova-lib\src\cordova\superspawn.js:135:23)
                                 
    at ChildProcess.EventEmitter.emit (events.js:98:17)                                                                             
    at maybeClose (child_process.js:753:16)                                                                                         
    at Process.ChildProcess._handle.onexit (child_process.js:820:5)

Seems that packages, built with ant can't be properly detected by build/run scripts.

I've filed CB-7579 [2] to track this

[1] https://github.com/apache/cordova-android/commit/3f83fdbfc169e5f49bde36700d4ae4d2ff52797f
[2] https://issues.apache.org/jira/browse/CB-7579 

---------------
Best regards, Vladimir


Mime
View raw message