Filipe Silva created CB-7849:
--------------------------------
Summary: Winphone language gap:config-file breaks Android build
Key: CB-7849
URL: https://issues.apache.org/jira/browse/CB-7849
Project: Apache Cordova
Issue Type: Bug
Components: CLI
Environment: Windows 7, Cordova 4.0.0, Android platform 3.6.3
Reporter: Filipe Silva
Priority: Minor
When using the following tag in config.xml:
{quote}
<gap:config-file platform="winphone" parent="/Deployment" mode="replace">
<Languages xmlns="">
<Language code="fi-FI"/>
</Languages>
<DefaultLanguage xmlns="" code="fi-FI" />
</gap:config-file>
{quote}
Running cordova build breaks with the following message:
{quote}
debug:
-code-gen:
[mergemanifest] Found Deleted Target File
[mergemanifest] Merging AndroidManifest files into one.
[mergemanifest] Manifest merger disabled. Using project manifest only.
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[echo] ----------
[echo] Handling Resources...
[aapt] Found Deleted Target File
[aapt] Generating resource IDs...
BUILD FAILED
C:\adt-bundle-windows-x86_64-20140321\sdk\tools\ant\build.xml:653: The
following error occurred while executing this line:
C:\adt-bundle-windows-x86_64-20140321\sdk\tools\ant\build.xml:698: null
returned: -1073741819
Total time: 1 second
c:\Users\-removed-\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:\-removed-\platforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Error: c:\-removed-\platforms\android\cordova\build.bat: Command failed with
exit code 8
at ChildProcess.whenDone
(c:\Users\-removed-\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
{quote}
Removing the contents of the tag make the build command work again. Removing
only one of the two elements there will still result in a broken build.
{quote}
<gap:config-file platform="winphone" parent="/Deployment" mode="replace">
</gap:config-file>
{quote}
Note: I am new at using this issue tracker. If I am doing something wrong,
please tell me.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]