I am using Visual Studio Enterprise 2015 RC to develop a Cordoba application. The application worked perfectly and tested on the Samsung Galaxy S6 device for two days. Once, after a lunch break, I returned to my application and started receiving an error message when I tried to deploy either an emulator or a device that reads
cmd: Command failed with exit code 1
About two days after studying this problem, I have yet to find a fix. I can’t test my application except for the Ripple environment, which is not suitable for testing this application.
Here is the relevant conclusion:
1> -code-gen:
1> [mergemanifest] Found Deleted Target File
1> [mergemanifest] Merging AndroidManifest files into one.
1> [mergemanifest] Manifest merger disabled. Using project manifest only.
1> [echo] Handling aidl files...
1> [aidl] No AIDL files to compile.
1> [echo] ----------
1> [echo] Handling RenderScript files...
1> [echo] ----------
1> [echo] Handling Resources...
1> [aapt] Generating resource IDs...
1> [aapt] D:\Stack Solutions\StackTFSSolutions\NRCA Phone App\AppRoot\platforms\android\ant-build\AndroidManifest.xml:6: error: Error: String types not allowed (at 'screenOrientation' with value 'Portrait').
1> [aapt]
1> Command finished with error code 1: cmd /s /c ""D:\Stack Solutions\StackTFSSolutions\NRCA Phone App\AppRoot\platforms\android\cordova\build.bat" --debug --ant "
1>ERROR building one of the platforms : error : cmd: Command failed with exit code 1
1> You may not have the required environment or OS to build this project
1>MDAVSCLI : error : cmd: Command failed with exit code 1
source
share