Software Archive
Read-only legacy content
17061 토론

Android Crosswalk build failed with an additional config-file

Alexandre_L_
초급자
569 조회수

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 포인트
2 응답
PaulF_IntelCorp
569 조회수

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 포인트
Alexandre_L_
초급자
569 조회수

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 포인트
응답