我试图
在config.xml中将minSdkVersion设置为19
但是在构建这个Android项目时我仍然有问题。
我运行了此命令 “离子科尔多瓦打造Android”
我收到此错误消息
----------
:app:createDebugCompatibleScreenManifests UP-TO-DATE
/Users/dev_pjw/Documents/workspace/bmdevs/tgc-clinet-app/platforms/android/app/src/main/AndroidManifest.xml:28:5-74 Error:
uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:CordovaLib] /Users/dev_pjw/Documents/workspace/bmdevs/tgc-clinet-app/platforms/android/CordovaLib/build/intermediates/manifests/full/debug/AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:CordovaLib] /Users/dev_pjw/Documents/workspace/bmdevs/tgc-clinet-app/platforms/android/CordovaLib/build/intermediates/manifests/full/debug/AndroidManifest.xml as the library might be using APIs not available in 16
Suggestion: use a compatible library with a minSdk of at most 16,
or increase this project's minSdk version to at least 19,
or use tools:overrideLibrary="org.apache.cordova" to force usage (may lead to runtime failures)
----------