Android 将Cordova迁移到人行横道-在API v14上失败
我将遵循此页面中的使用命令行工具进行迁移的步骤: 当我进入步骤6并运行ant debug时,它会返回很多错误:Android 将Cordova迁移到人行横道-在API v14上失败,android,cordova,ant,crosswalk-runtime,Android,Cordova,Ant,Crosswalk Runtime,我将遵循此页面中的使用命令行工具进行迁移的步骤: 当我进入步骤6并运行ant debug时,它会返回很多错误: -code-gen: [mergemanifest] No changes in the AndroidManifest files. [echo] Handling aidl files... [aidl] No AIDL files to compile. [echo] ---------- [echo] Handling RenderScr
-code-gen:
[mergemanifest] No changes in the AndroidManifest files.
[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/jacquesblom/Repo/testics/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/jacquesblom/Repo/testics/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/jacquesblom/Repo/testics/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/jacquesblom/Repo/testics/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'
[aapt] /Users/jacquesblom/Repo/testics/platforms/android/CordovaLib/xwalk_core_library/res/layout-v17/color_picker_advanced_component.xml:11: error: No resource identifier found for attribute 'layout_marginStart' in package 'android'
**… several more of these**
BUILD FAILED
/Users/jacquesblom/android-sdk/sdk/tools/ant/build.xml:601: The following error occurred while executing this line:
/Users/jacquesblom/android-sdk/sdk/tools/ant/build.xml:653: The following error occurred while executing this line:
/Users/jacquesblom/android-sdk/sdk/tools/ant/build.xml:698: null returned: 1
当我将Android SDK版本设置为14(Android更新项目——子项目——路径。--target“Android-14”)时会发生这种情况,但当我将其升级到版本19时,问题就消失了
这里可能有什么问题
谢谢 你把这个整理好了吗?我也有同样的问题…事实上,我已经解决了。我认为这是因为sdk路径中有一个空间-
/Applications/Android sdk
。我确实尝试了一些事情,但在那之后,它似乎起了作用。