相关疑难解决方法(0)

如何在flutter项目中更改Android minSdkVersion

我试图用一个使用蓝牙进行通信的App开始一个颤动的项目.为此,我使用的是蓝色.

不幸的是,当我尝试运行(在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 …
Run Code Online (Sandbox Code Playgroud)

android android-sdk-tools flutter

23
推荐指数
14
解决办法
2万
查看次数

标签 统计

android ×1

android-sdk-tools ×1

flutter ×1