Skip to content

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

@AnArrayOfStarts

Description

@AnArrayOfStarts

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 升级一下?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions