Friday, 28 April 2017

child_process exec for Cordova Build Android

I'm using the child_process module of node.js with exec command to execute the command line cordova build android. The problem is that with the exec command I get a stderr like this:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: ../platforms/android/src/org/apache/cordova/file/AssetFilesystem.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Instead when execute from the terminal I see those warning above but the compile continue a finish successful. Anyone can tell me why?



via Piero

No comments:

Post a Comment