flutter-in-practice icon indicating copy to clipboard operation
flutter-in-practice copied to clipboard

没有运行起来,分为以下几步。

Open AnArrayOfStarts opened this issue 4 years ago • 1 comments

1、在执行 flutter packages get 时候提示如下:

Warning: You are using these overridden dependencies: ! analyzer 0.39.17 (1.3.0 available) Running "flutter pub get" in flutter_download_demo... 960ms ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Warning ────────────────────────────────────────────────────────────────────────────── Your Flutter application is created using an older version of the Android embedding. It's being deprecated in favor of Android embedding v2. Follow the steps at

https://flutter.dev/go/android-project-migration

to migrate your project. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ image

2、因为上一步没有成功,所以pod install 时候提示如下 Analyzing dependencies [!] CocoaPods could not find compatible versions for pod "sqflite": In Podfile: sqflite (from .symlinks/plugins/sqflite/ios)

Specs satisfying the sqflite (from .symlinks/plugins/sqflite/ios) dependency were found, but they required a higher minimum deployment target.

[!] Automatically assigning platform iOS with version 8.0 on target Runner because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform. image

请问我是否得去 https://flutter.dev/go/android-project-migration 升级一下?

AnArrayOfStarts avatar Apr 01 '21 11:04 AnArrayOfStarts

目前用的版本是一年多之前的,比较老,暂时没有时间升级,欢迎大家提交 Pull Request。

jaggerwang avatar Apr 02 '21 01:04 jaggerwang