当前位置:  开发笔记 > Android > 正文

Cordova/android编译错误与人行横道

如何解决《Cordova/android编译错误与人行横道》经验,为你挑选了0个好方法。

我有一个使用人行横道的android/cordova项目.当我尝试构建时,我有以下错误:

:processArmv7DebugManifest/app/platforms/android/AndroidManifest.xml:31:5-74 Error:
    uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:20.50.533.12] /app/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/20.50.533.12/AndroidManifest.xml
    Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage


See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

:processArmv7DebugManifest FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':processArmv7DebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 15 cannot be smaller than version 16 declared in library [org.xwalk:xwalk_core_library:20.50.533.12] /app/platforms/android/build/intermediates/exploded-aar/org.xwalk/xwalk_core_library/20.50.533.12/AndroidManifest.xml
    Suggestion: use tools:overrideLibrary="org.xwalk.core" to force usage

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

但我在我的config.xml中设置了ver17:

   
    

此外,它在platforms/android/AndroidManifest.xml中是相同的:


我试图删除,然后再添加人行横道和"平台机器人"本身,但错误仍然存​​在.

请帮忙

推荐阅读
地之南_816
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有