更换电脑运行项目时,提示:
The ADB at "/Users/fengqican/Library/Android/sdk/platform-tools/adb" is too old; please install version 1.0.39 or later.
修改:(偏好设置)Appearance & Behavior -> System Settings -> Android SDK
-> SDK Tools -> Android SDK Platform-Tools (更新)
相关问题
uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:webview_flutter_android] /Volumes/木木/FlutterProject/flutter_tab_demo/build/webview_flutter_android/intermediates/library_manifest/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="io.flutter.plugins.webviewflutter" to force usage (may lead to runtime failures)
1.引起这个问题原因很可能是flutter项目要调用原生的工具,如相机、上传文件之类的
解决问题的方法是修改:“自己的flutter项目”/ android / app / build.gradle文件
defaultConfig {
……
minSdkVersion 19
…….
}