我正在尝试为使用蓝牙进行通信的应用程序启动一个Flutter项目。为此,我使用了颤动的蓝色。
不幸的是,当尝试运行(在Android设备上)我创建的第一个示例时,遇到以下错误:
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 [:flutter_blue] /home/maldus/Projects/flutter/polmac/build/flutter_blue/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="com.pauldemarco.flutterblue" to force usage (may lead to runtime failures)
如果我在Android Studio上,我会知道如何提高Android minSdkVersion的性能,但是在一个扑朔迷离的项目中(使用VSCode),我有点迷失了。
是否可以通过振颤来增加minSdkVersion,如何?
android/
,无法确定我的一生如何更新此minSdkVersion。