Hi everyone,

I'm new to Crosswalk, so please excuse me if I'm making a newbie error here...

I'm following the instructions to migrate a Cordova Project to Crosswalk here:
https://crosswalk-project.org/#documentation/cordova/migrate_an_application/migrate

I'm finding that if I use Android API level 19, the ant build works
and I can deploy my project.  If I use an Android API level lower than
19, the ant build always seems to fail.  Does anyone have any ideas
why this might be?

e.g. if I try:
android update project --subprojects --path . --target "android-16"
ant debug returns:
...
-code-gen:
[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] Generating resource IDs...
     [aapt] 
/Users/paul/tmp/kitchensink/platforms/android/CordovaLib/xwalk_core_library/res/layout/color_picker_advanced_component.xml:11:
error: No resource identifier found for attribute 'layout_marginStart'
in package 'android'
     [aapt] 
/Users/paul/tmp/kitchensink/platforms/android/CordovaLib/xwalk_core_library/res/layout/color_picker_advanced_component.xml:11:
error: No resource identifier found for attribute 'layout_marginEnd'
in package 'android'
     [aapt] 
/Users/paul/tmp/kitchensink/platforms/android/CordovaLib/xwalk_core_library/res/layout/color_picker_advanced_component.xml:20:
error: No resource identifier found for attribute 'layout_marginStart'
in package 'android'
     [aapt] 
/Users/paul/tmp/kitchensink/platforms/android/CordovaLib/xwalk_core_library/res/layout/color_picker_advanced_component.xml:20:
error: No resource identifier found for attribute 'layout_marginEnd'
in package 'android'
...

or if I try:
android update project --subprojects --path . --target "android-18"
ant debug returns:
....
-compile:
    [javac] Compiling 90 source files to
/Users/paul/tmp/kitchensink/platforms/android/CordovaLib/bin/classes
    [javac] 
/Users/paul/tmp/kitchensink/platforms/android/CordovaLib/src/com/squareup/okhttp/internal/http/HttpsURLConnectionImpl.java:347:
error: method does not override or implement a method from a supertype
    [javac]   @Override public void setFixedLengthStreamingMode(long
contentLength) {
    [javac]   ^
...

Many thanks,


Paul Coghlan
_______________________________________________
Crosswalk-help mailing list
[email protected]
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help

Reply via email to