Software Archive
Read-only legacy content
17061 Discussions

Android Crosswalk build failed with an additional config-file

Alexandre_L_
Beginner
290 Views

Here is the content of my "intelxdk.config.additions.xml":

<!-- +Android-Crosswalk --><config-file target="*Manifest.xml" platform="android" parent="/manifest/application/activity" mode="add">
    <intent-filter xmlns:android="http://schemas.android.com/apk/res/android">
        <action android:name="android.intent.action.SEND" />
        <category android:name="android.intent.category.DEFAULT" />
        <data android:mimeType="text/plain" />
    </intent-filter>
</config-file>

And here is the build log:

...
Processing preference android-minSdkVersion [14]
Processing preference android-targetSdkVersion [21]
Processing preference android-installLocation [auto]
Processing preference permissions
Updating the versionCode
Updating the versionName
Added [{http://schemas.android.com/apk/res/android}debuggable] with [false]

Any idea? Thnaks!

0 Kudos
2 Replies
PaulF_IntelCorp
Employee
290 Views

The additions.xml file is not an AndroidManifest.xml file. You can't use Android SDK config options inside that file. It is used to direct the XDK build system, which is a slightly modified Cordova CLI build system. See these two doc pages for valid entries in that file:

0 Kudos
Alexandre_L_
Beginner
290 Views

Thanks for you answer! You should add a feature like gap:config-file.

Meanwhile I added my modification directly in the plugin.

Example: https://github.com/Alexandre-io/WebIntent/commit/19cf498d6731826df4534737be4b67a6251d1f00

0 Kudos
Reply