简体   繁体   English

从Cordova项目构建Intel XDK

[英]Intel XDK build from Cordova project

I'm developing a Cordova hybrid app with only Android platform. 我正在开发仅具有Android平台的Cordova混合应用程序。 I have modified AndroidManifest (inside /platforms/android/ directory) and other some stuff (one of these modifications is change the android:name of application tag in manifest). 我已经修改了AndroidManifest(在/platforms/android/目录中)和其他一些东西(这些修改之一是更改清单中的application android:name )。

Now, if I build the project locally by: 现在,如果我通过以下方式在本地构建项目:

cordova build android

everything is working fine. 一切正常。 But when I build using Intel XDK (with android-crosswalk build), my modifications in AndroidManifest and other files are ignored. 但是,当我使用Intel XDK(具有android-crosswalk构建)进行构建时,我对AndroidManifest和其他文件的修改将被忽略。 It seems that Intel XDK's build is deleting the platforms directory and re-creating it. 看来Intel XDK的构建正在删除platforms目录并重新创建它。

In that case, is there a way to keep intact this directory? 在这种情况下,有没有办法使该目录保持完整?

Thanks in advance. 提前致谢。

Currently there is not a way to do that with the XDK build. 当前,尚无办法使用XDK构建。 You can provide some configuration options in the intelxdk.config.*.xml but I think that's the extent of build customization for now. 您可以在intelxdk.config.*.xml提供一些配置选项,但是我认为这是目前构建定制的范围。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM