text:
if AppBar title contains a TextField,the below ListView maybe cant obtain focus,cant scroll

Steps to reproduce
first , Sorry, my English is very poor
class RecordSheetPage extends StatelessWidget {
  final logic = Get.put(RecordSheetLogic());

  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: () async {
        if (logic.tec.text.isNotEmpty) {
          logic.tec.text = '';
          logic.onRefresh();
          return false;
        }
        return true;
      },
      child: GetBuilder<RecordSheetLogic>(
        builder: (controller) {
          return Scaffold(
            appBar: AppBar(
                leading: IconButton(
                  icon: const Icon(Icons.arrow_back_ios),
                  onPressed: () {
                    Get.back();
                  },
                ),
                backgroundColor: Get.theme.colorScheme.secondary,
                centerTitle: false,
                elevation: 0,
                automaticallyImplyLeading: false,
                title: SizedBox(
                  height: 40.w,
                  child: TextField(
                    decoration: InputDecoration(
                        hintText: '请输入单号模糊搜索',
                        filled: true,
                        hintStyle: TextStyle(fontSize: 15.sp),
                        fillColor: Get.isDarkMode ? Colors.black87 : Colors.grey.shade100,
                        contentPadding: const EdgeInsets.only(top: 5, left: 10),
                        border: OutlineInputBorder(
                            borderRadius: BorderRadius.circular(30), borderSide: BorderSide.none),
                        suffixIcon: IconButton(
                            onPressed: () {
                              logic.tec.clear();
                              logic.onRefresh();
                            },
                            icon: const Icon(Icons.clear)),
                        counterText: ""),
                    keyboardType: TextInputType.text,
                    maxLength: 22,
                    maxLines: 1,
                    textAlignVertical: TextAlignVertical.center,
                    controller: logic.tec,
                    inputFormatters: [FilteringTextInputFormatter.allow(RegExp(r'[0-9a-zA-Z]'))],
                    textInputAction: TextInputAction.search,
                    onSubmitted: (str) {
                      logic.doSearch(str);
                    },
                  ),
                )),
            body: Column(
              children: [
                Padding(
                  padding: const EdgeInsets.only(left: 10, top: 10),
                  child: InkWell(
                    onTap: logic.selectDate,
                    child: Row(
                      children: [
                        Text(logic.selectedDate == null ? '按时间筛选' : logic.selectedDate!.ymd()),
                        const Icon(Icons.keyboard_arrow_down_rounded)
                      ],
                    ),
                  ),
                ),
                Expanded(
                  child: NetListView<RecordSheetPictureOrders>(
                    logic: logic,
                    builder: (bean, index) {
                      return ListTile(
                        leading: Image.asset(
                          bean.brandCode.toBrand().smallIconPath,
                          width: 30.w,
                        ),
                        title: Text(
                          bean.wayBillNo,
                          textAlign: TextAlign.start,
                          style: TextStyle(
                              color: Get.textTheme.titleLarge?.color ?? Colors.black87,
                              fontSize: 16.sp,
                              fontWeight: FontWeight.w500),
                        ),
                        subtitle: Text(
                          "${DateTime.fromMillisecondsSinceEpoch(bean.createTime).standard()} ${bean.problemdDesc}",
                          textAlign: TextAlign.start,
                          style: TextStyle(
                              color: Get.textTheme.labelMedium?.color ?? Colors.black54,
                              fontSize: 13.sp,
                              fontWeight: FontWeight.w500),
                        ),
                        trailing: Text(
                          bean.fsize,
                          textAlign: TextAlign.start,
                          style: Get.theme.textTheme.bodySmall,
                        ),
                        onTap: () {
                          Get.toNamed(GetRoute.recordSheetPhoto, arguments: bean);
                        },
                      );
                    },
                  ),
                )
              ],
            ),
          );
        },
      ),
    );
  }
}

class NetListView<T> extends StatelessWidget {
  const NetListView({
    Key? key,
    required this.logic,
    required this.builder,
  }) : super(key: key);

  final NetListLogic<T> logic;
  final ItemBuilder<T> builder;

  @override
  Widget build(BuildContext context) {
    return RefreshIndicator(
        child: IfEmptyView(
          logic.list.isEmpty,
          child: ListView.separated(
            itemBuilder: (context, index) {
              if (index >= logic.list.length) {
                return Text(
                  logic.hasMore ? '读取中...' : '没有更多了',
                  style: gray_small_text,
                  textAlign: TextAlign.center,
                );
              }
              var bean = logic.list[index];
              return Material(
                color: Get.theme.dialogBackgroundColor,
                child: builder(bean, index),
              );
            },
            shrinkWrap: true,
            itemCount: logic.list.length + 1,
            controller: logic.listScrollController,
            padding: const EdgeInsets.only(
              top: 10,
            ),
            separatorBuilder: commonListDivider,
          ),
        ),
        onRefresh: logic.onRefresh);
  }
}

in old version maybe 3.10+ its work, but recent update flutter to 3.22.0  ,if TextField not obtain focus,the NetListView cant be scrolled,only click work.
only change to :
class RecordSheetPage extends StatelessWidget {
  final logic = Get.put(RecordSheetLogic());

  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: () async {
        if (logic.tec.text.isNotEmpty) {
          logic.tec.text = '';
          logic.onRefresh();
          return false;
        }
        return true;
      },
      child: GetBuilder<RecordSheetLogic>(
        builder: (controller) {
          return Scaffold(
            appBar: AppBar(
              leading: IconButton(
                icon: const Icon(Icons.arrow_back_ios),
                onPressed: () {
                  Get.back();
                },
              ),
              backgroundColor: Get.theme.colorScheme.secondary,
              centerTitle: false,
              elevation: 0,
              automaticallyImplyLeading: false,
              title: const Text("底单记录"),
            ),
            body: Column(
              children: [
                Padding(
                  padding: const EdgeInsets.all(8.0),
                  child: SizedBox(
                    height: 40.w,
                    child: TextField(
                      decoration: InputDecoration(
                          hintText: '请输入单号模糊搜索',
                          filled: true,
                          hintStyle: TextStyle(fontSize: 15.sp),
                          fillColor: Get.isDarkMode ? Colors.black87 : Colors.grey.shade100,
                          contentPadding: const EdgeInsets.only(top: 5, left: 10),
                          border:
                              OutlineInputBorder(borderRadius: BorderRadius.circular(30), borderSide: BorderSide.none),
                          suffixIcon: IconButton(
                              onPressed: () {
                                logic.tec.clear();
                                logic.onRefresh();
                              },
                              icon: const Icon(Icons.clear)),
                          counterText: ""),
                      keyboardType: TextInputType.text,
                      maxLength: 22,
                      maxLines: 1,
                      textAlignVertical: TextAlignVertical.center,
                      controller: logic.tec,
                      inputFormatters: [FilteringTextInputFormatter.allow(RegExp(r'[0-9a-zA-Z]'))],
                      textInputAction: TextInputAction.search,
                      onSubmitted: (str) {
                        logic.doSearch(str);
                      },
                    ),
                  ),
                ),
                Padding(
                  padding: const EdgeInsets.only(left: 10,),
                  child: InkWell(
                    onTap: logic.selectDate,
                    child: Row(
                      children: [
                        Text(logic.selectedDate == null ? '按时间筛选' : logic.selectedDate!.ymd()),
                        const Icon(Icons.keyboard_arrow_down_rounded)
                      ],
                    ),
                  ),
                ),
                Expanded(
                  child: NetListView<RecordSheetPictureOrders>(
                    logic: logic,
                    builder: (bean, index) {
                      return ListTile(
                        leading: Image.asset(
                          bean.brandCode.toBrand().smallIconPath,
                          width: 30.w,
                        ),
                        title: Text(
                          bean.wayBillNo,
                          textAlign: TextAlign.start,
                          style: TextStyle(
                              color: Get.textTheme.titleLarge?.color ?? Colors.black87,
                              fontSize: 16.sp,
                              fontWeight: FontWeight.w500),
                        ),
                        subtitle: Text(
                          "${DateTime.fromMillisecondsSinceEpoch(bean.createTime).standard()} ${bean.problemdDesc}",
                          textAlign: TextAlign.start,
                          style: TextStyle(
                              color: Get.textTheme.labelMedium?.color ?? Colors.black54,
                              fontSize: 13.sp,
                              fontWeight: FontWeight.w500),
                        ),
                        trailing: Text(
                          bean.fsize,
                          textAlign: TextAlign.start,
                          style: Get.theme.textTheme.bodySmall,
                        ),
                        onTap: () {
                          Get.toNamed(GetRoute.recordSheetPhoto, arguments: bean);
                        },
                      );
                    },
                  ),
                )
              ],
            ),
          );
        },
      ),
    );
  }
}

in 3.22 are worked.
Expected results
TextField has no focus and the list scrolls
Actual results
The list can only scroll if the TextField gets focus
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.0, on Microsoft Windows [版本 10.0.22621.2428], locale zh-CN)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Chrome - develop for the web
[!] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.4.6)
    ✗ Visual Studio is missing necessary components. Please re-run the Visual Studio installer for
      the "Desktop development with C++" workload, and include these components:
        MSVC v142 - VS 2019 C++ x64/x86 build tools
         - If there are multiple build tool versions available, install the latest
        C++ CMake tools for Windows
        Windows 10 SDK
[✓] Android Studio (version 2023.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2021.1)
[✓] VS Code, 32-bit edition (version 1.89.1)
[✓] Connected device (4 available)
[✓] Network resources

So far, Android 9 does not have this problem,13 and 14 do

This bug is not caused by this reason, I will submit it again


text:
Flutter support armebi?

In the release apk only include armebi-v7a

Can you provide a bit more detail?
Flutter also includes support for arm64. You can try with:
flutter build apk --release --target-platform android-arm64

Does that answer your question?

For some reasons, our project required an armebi native binary . Do you have any idea？

If your issue is that a library you're depending on comes with armeabi and that's being picked up to run by default (and then it crashes because flutter armeabi isn't found), see #14231 for a possible solution.

Apologies for misunderstanding the original question. As mentioned, we currently support armeabi-v7a and armeabi-v8a on Android but we don't currently have plans to support armeabi, which was deprecated in Android 4.1 and removed in Android 4.2 (Jellybean).
That said, the engine is open-source, so you could try building it yourself. Instructions for building can be found in CONTRIBUTING.md in the engine repo.

@cbracken I find the default --android-cpu arg is arm, but the output is armeabi-v7a.
I don't follow the compile args

@JackCho arm in this context refers to armeabi-v7a. For armeabi-v8a, pass --android-cpu=arm64.

@cbracken  Is there a simple way to build flutter/engine with armeabi? changing gn args or something without replacing tons of args in *.ninja?

wanna know how to build flutter/engine with armeabi not armeabi-v7a.

It is difficult to build flutter/engine to support armeabi, because there are some dependent libraries that only support armeabi-v7a, such as vulcan. I had tried to do that but failed.

Hi,
I don't really understand some things related to the newest Google Play Developer policy regarding the 64-bit requirement. Do we need to update anything in our projects to be compliant? If anyone could help me understand I would be deeply appreciative.
Thank you

source: gharchive/issue

authors: JackCho alexandranb cbracken charleybin mimers rmtmckenzie southpeak xiang23

repo: flutter/flutter

license_type: permissive

license_source: github-api


text:
mac-37 lost external connection from phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-37 lost external connection from phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Phone device turned power-off itself, reset the phone device to default factory set and then reconfigured the phone device again.


text:
Bot mac-731-h526 is failing tests on flutter checkout step

This bot is failing to checkout flutter/flutter across multiple tests
Mac_arm64 build_tests_2_4
https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 build_tests_2_4/15092/infra
https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 build_tests_2_4/15076/infra
https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 build_tests_2_4/15074/infra
Mac_arm64 framework_tests_misc
https://ci.chromium.org/ui/p/flutter/builders/try/Mac_arm64 framework_tests_misc/14302/overview
etc
Failure log is:
fatal: unable to access 'https://github.com/flutter/flutter/': SSL: certificate verification failed (result: 5)

Noticed on https://github.com/flutter/flutter/pull/155794

fatal: unable to access 'https://github.com/flutter/flutter/': SSL: certificate verification failed (result: 5)

Maybe the OS' certificate authority expired or something?

b/370077868

Re-opened the internal bug because even after re-imaging this bot appears to be acting up:

https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac Engine Drone/1224678/overview

No relevant logs, but it appeared there was a failure during a copy operation

https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac_arm64 build_tests_3_4/15729/overview

No relevant logs, but a failure during a CIPD download

https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac_arm64 build_tests_2_4/15713/overview

https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac_arm64 build_tests_4_4/15716/overview
[  +28 ms] 2024-10-08 12:40:46.703 xcodebuild[8816:675465] [MT] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot11/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-22267/IDEFoundation/Provisioning/Capabilities Infrastructure/IDECapabilityQuerySelection.swift:103
[        ] Details:  createItemModels creation requirements should not create capability item model for a capability item model that already exists.
[        ] Function: createItemModels(for:itemModelSource:)
[        ] Thread:   <_NSMainThread: 0x600003b40240>{number = 1, name = main}
[        ] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.```

https://luci-milo.appspot.com/ui/p/flutter/builders/try/Mac Engine Drone/1226059/overview

../../../flutter/third_party/dart/runtime/vm/dart_api_impl.cc: 1535: error: Isolate main is already scheduled on mutator thread 0x15a01be00, failed to schedule from os thread 0x16e19f000

authors: bdero christopherfujino gmackall


text:
mac-14 lost external connection from phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-14 lost external connection from phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting phone device to restore connection.


text:
Material splash persists after leaving/reopening app

If the user leaves the app during a touch interaction, then reopens the app from the device home screen, the material splash is still visible. Instead, I would expect the splash to be completely gone when the app reopens.
This can happen naturally if the user taps a link in the app which bounces them out to a different app. Or a little less naturally, if the user hits the home button while their finger is already resting on the screen.
Some observations:

It doesn't matter how long the user has been away from the app; if they left with a splash intact then they will briefly see it upon returning.
Usually the splash fades away upon returning, but sometimes I've gotten it stuck on screen until the next tap interaction.

Steps to Reproduce

Rest your finger on a widget with a material splash and let the splash grow.
With your finger still on the screen, press the device's home button to exit the app.
Open the app again (and lift your finger off the screen). The splash will still be visible in the app.

For instance, with this layout:
Widget build(BuildContext context) {
    return Material(
      child: InkWell(
        child: Center(child: Text('hello')),
        onTap: () {},
      ),
    );

I captured this screenshot after returning to the app as noted in step 3 above, with no fingers on the screen:

This is still an issue. Any news on this ?

I have this issue but without closing the app! I am able to reproduce it by pressing to inkwells at the same time and tapping somewhere else during this time. It doesn't work every time but it is very annoying!

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-0.0.pre, on Mac OS X 10.15.5 19F101, locale
    en-GB)
    • Flutter version 1.20.0-0.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision d9653445f4 (8 days ago), 2020-06-09 18:43:03 -0400
    • Engine revision e8c13aa012
    • Dart version 2.9.0 (build 2.9.0-14.0.dev 5c1376615e)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 46.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.11.0

[✓] Connected device (4 available)
    • SM M305F   • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS      • macOS            • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server • web-server       • web-javascript • Flutter Tools
    • Chrome     • chrome           • web-javascript • Google Chrome
      83.0.4103.97

• No issues found!

I can reproduce the splash persisting on the latest versions of stable and master.

minimal sample
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      title: 'Crash on route demo',
      home: Material(
        child: InkWell(
          splashColor: Colors.blue,
          child: const Center(child: Text('hello')),
          onTap: () {},
        ),
      ),
    ),
  );
}

flutter doctor -v
[✓] Flutter (Channel stable, 3.3.6, on macOS 13.0 22A380 darwin-arm, locale en-GB)
    • Flutter version 3.3.6 on channel stable at /Users/nexus/dev/sdks/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 6928314d50 (2 days ago), 2022-10-25 16:34:41 -0400
    • Engine revision 3ad69d7be3
    • Dart version 2.18.2
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.72.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile) • 5dd3be00                  • android-arm64  • Android 12 (API 31)
    • Nexus (mobile)      • 00008020-001875E83A38002E • ios            • iOS 16.1 20B82
    • macOS (desktop)     • macos                     • darwin-arm64   • macOS 13.0 22A380 darwin-arm
    • Chrome (web)        • chrome                    • web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 2 categories.

[!] Flutter (Channel master, 3.5.0-10.0.pre.125, on macOS 13.0 22A380 darwin-arm64, locale en-GB)
    • Flutter version 3.5.0-10.0.pre.125 on channel master at /Users/nexus/dev/sdks/flutters
    ! Warning: `flutter` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/nexus/dev/sdks/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/nexus/dev/sdks/flutters. Consider adding /Users/nexus/dev/sdks/flutters/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d9a2229bab (6 hours ago), 2022-10-27 00:30:17 -0400
    • Engine revision 1ea6e5e2de
    • Dart version 2.19.0 (build 2.19.0-343.0.dev)
    • DevTools version 2.18.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/nexus/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[!] Android Studio
    • Android Studio at /Applications/Android Studio Preview 2.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to find bundled Java version.
    • Try updating or re-installing Android Studio.

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9123335/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Android Studio (version 2021.3)
    • Android Studio at /Users/nexus/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/213.7172.25.2113.9014738/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.72.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.50.0

[✓] Connected device (4 available)
    • M2007J20CG (mobile) • 5dd3be00                  • android-arm64  • Android 12 (API 31)
    • Nexus (mobile)      • 00008020-001875E83A38002E • ios            • iOS 16.1 20B82
    • macOS (desktop)     • macos                     • darwin-arm64   • macOS 13.0 22A380 darwin-arm64
    • Chrome (web)        • chrome                    • web-javascript • Google Chrome 106.0.5249.119

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 3 categories.

authors: BlueskyFR TahaTesser The-Redhat danagbemava-nc jklint-g


text:
flutter update-packages --force-upgrade doesn't upgrade packages listed under dependencies

Per @Hixie and @aam all dependencies not hardcoded should be upgraded automatically by flutter update-packages --force-upgrade.  This doesn't happen for dependencies that are listed in the dependencies: section of packages/flutter/pubspec.yaml.  Transcript enclosed below showing the update sequence from commit f72c514c599573d5b14bbfc5acb67b0ae9fdf5bb.  In the transcript, you can see that vector_math is listed at an updatable version, force-upgrade does not update it (but does update other packages), but after manually changing the version in packages/flutter/pubspec.yaml, the update version is correctly updated every where else.
leafp-macbookpro:flutter leafp$ grep vector_math packages/flutter/pubspec.yaml
  vector_math: 2.0.6
leafp-macbookpro:flutter leafp$ ./bin/flutter update-packages --force-upgrade
Building flutter tool...
Upgrading packages...
WARNING: the following packages use hard-coded version constraints:
  - mockito: 3.0.0-beta
  - matcher: 0.12.2
  - flutter_gallery_assets: 0.1.4
Running "flutter packages upgrade" in flutter_update_packages_D4bi3b...  6.6s
Running "flutter packages get" in bots...                    1.3s
Running "flutter packages get" in vitool...                  1.4s
Running "flutter packages get" in tools...                   1.3s
Running "flutter packages get" in ui...                      1.4s
Running "flutter packages get" in external_ui...             1.3s
Running "flutter packages get" in flavors...                 1.4s
Running "flutter packages get" in platform_interaction...    1.3s
Running "flutter packages get" in channels...                1.3s
Running "flutter packages get" in manual_tests...            1.6s
Running "flutter packages get" in devicelab...               1.3s
Running "flutter packages get" in complex_layout...          1.4s
Running "flutter packages get" in microbenchmarks...         1.5s
Running "flutter packages get" in automated_tests...         1.3s
Running "flutter packages get" in hello_world...             1.4s
Running "flutter packages get" in layers...                  1.5s
Running "flutter packages get" in platform_view...           0.8s
Running "flutter packages get" in platform_channel_swift...  1.4s
Running "flutter packages get" in catalog...                 1.4s
Running "flutter packages get" in flutter_view...            0.8s
Running "flutter packages get" in stocks...                  1.4s
Running "flutter packages get" in platform_channel...        1.4s
Running "flutter packages get" in flutter_gallery...         1.4s
Running "flutter packages get" in flutter_goldens...         1.4s
Running "flutter packages get" in flutter...                 1.4s
Running "flutter packages get" in main...                    0.5s
Running "flutter packages get" in flutter_tools...           1.5s
Running "flutter packages get" in flutter_localizations...   1.4s
Running "flutter packages get" in fuchsia_remote_debug_protocol...  1.6s
Running "flutter packages get" in flutter_driver...          1.4s
Running "flutter packages get" in project_root...            0.3s
Running "flutter packages get" in flutter_test...            1.4s
Downloading lcov data for package:flutter...                 0.4s

Ran 'pub' 31 times and fetched coverage data in 40.5s.
leafp-macbookpro:flutter leafp$ git diff
diff --git a/packages/flutter_tools/pubspec.yaml b/packages/flutter_tools/pubspec.yaml
index 8087aaac3..1c16e4a46 100644
--- a/packages/flutter_tools/pubspec.yaml
+++ b/packages/flutter_tools/pubspec.yaml
@@ -10,13 +10,13 @@ dependencies:
   args: 1.4.4
   cli_util: 0.1.3+2
   completion: 0.2.1
-  coverage: 0.12.1
+  coverage: 0.12.2
   crypto: 2.0.6
   file: 5.0.1
   http: 0.11.3+17
   intl: 0.15.7
   json_rpc_2: 2.0.9
-  json_schema: 1.0.9
+  json_schema: 1.0.10
   linter: 0.1.58
   meta: 1.1.5
   mustache: 1.0.1
@@ -43,6 +43,7 @@ dependencies:
   charcode: 1.1.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   convert: 2.0.2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   csslib: 0.14.4+1 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+  dart2_constant: 1.0.1+dart2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   front_end: 0.1.4 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   glob: 1.1.7 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   html: 0.13.3+2 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -83,4 +84,4 @@ dartdoc:
   # Exclude this package from the hosted API docs.
   nodoc: true

-# PUBSPEC CHECKSUM: e8fa
+# PUBSPEC CHECKSUM: a923
leafp-macbookpro:flutter leafp$ grep vector_math packages/flutter/pubspec.yaml
  vector_math: 2.0.6
leafp-macbookpro:flutter leafp$ emacs packages/flutter/pubspec.yaml
leafp-macbookpro:flutter leafp$ grep vector_math packages/flutter/pubspec.yaml
  vector_math: 2.0.8
leafp-macbookpro:flutter leafp$ ./bin/flutter update-packages --force-upgrade
Upgrading packages...
WARNING: the following packages use hard-coded version constraints:
  - mockito: 3.0.0-beta
  - matcher: 0.12.2
  - flutter_gallery_assets: 0.1.4
Running "flutter packages upgrade" in flutter_update_packages_WjPLb0...  6.9s
Running "flutter packages get" in bots...                    1.0s
Running "flutter packages get" in vitool...                  1.3s
Running "flutter packages get" in tools...                   0.9s
Running "flutter packages get" in ui...                      1.3s
Running "flutter packages get" in external_ui...             1.3s
Running "flutter packages get" in flavors...                 1.3s
Running "flutter packages get" in platform_interaction...    1.3s
Running "flutter packages get" in channels...                1.3s
Running "flutter packages get" in manual_tests...            1.3s
Running "flutter packages get" in devicelab...               0.9s
Running "flutter packages get" in complex_layout...          1.3s
Running "flutter packages get" in microbenchmarks...         1.5s
Running "flutter packages get" in automated_tests...         1.3s
Running "flutter packages get" in hello_world...             1.4s
Running "flutter packages get" in layers...                  1.3s
Running "flutter packages get" in platform_view...           0.9s
Running "flutter packages get" in platform_channel_swift...  1.4s
Running "flutter packages get" in catalog...                 1.3s
Running "flutter packages get" in flutter_view...            0.8s
Running "flutter packages get" in stocks...                  1.4s
Running "flutter packages get" in platform_channel...        1.3s
Running "flutter packages get" in flutter_gallery...         1.4s
Running "flutter packages get" in flutter_goldens...         1.3s
Running "flutter packages get" in flutter...                 1.4s
Running "flutter packages get" in main...                    0.5s
Running "flutter packages get" in flutter_tools...           1.0s
Running "flutter packages get" in flutter_localizations...   1.3s
Running "flutter packages get" in fuchsia_remote_debug_protocol...  1.4s
Running "flutter packages get" in flutter_driver...          1.3s
Running "flutter packages get" in project_root...            0.3s
Running "flutter packages get" in flutter_test...            1.3s
Downloading lcov data for package:flutter...                 0.3s

Ran 'pub' 31 times and fetched coverage data in 37.3s.
leafp-macbookpro:flutter leafp$ git diff
diff --git a/dev/automated_tests/pubspec.yaml b/dev/automated_tests/pubspec.yaml
index 8d1513f70..b85806446 100644
--- a/dev/automated_tests/pubspec.yaml
+++ b/dev/automated_tests/pubspec.yaml
@@ -51,7 +51,7 @@ dependencies:
   test: 0.12.41 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   typed_data: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   utf: 0.9.0+5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
-  vector_math: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+  vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   watcher: 0.9.7+10 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
@@ -60,4 +60,4 @@ dependencies:
 flutter:
   uses-material-design: true

-# PUBSPEC CHECKSUM: 8f30
+# PUBSPEC CHECKSUM: ca32
diff --git a/dev/benchmarks/complex_layout/pubspec.yaml b/dev/benchmarks/complex_layout/pubspec.yaml
index fc3e24228..704865fb5 100644
--- a/dev/benchmarks/complex_layout/pubspec.yaml
+++ b/dev/benchmarks/complex_layout/pubspec.yaml
@@ -28,7 +28,7 @@ dependencies:
   stack_trace: 1.9.3 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   stream_channel: 1.6.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   typed_data: 1.1.5 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
-  vector_math: 2.0.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
+  vector_math: 2.0.8 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   vm_service_client: 0.2.6 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"
   web_socket_channel: 1.0.9 # THIS LINE IS AUTOGENERATED - TO UPDATE USE "flutter update-packages --force-upgrade"

@@ -78,4 +78,4 @@ flutter:
     - packages/flutter_gallery_assets/people/square/ali.png
     - packages/flutter_gallery_assets/places/india_chettinad_silk_maker.png

-# PUBSPEC CHECKSUM: edf8
+# PUBSPEC CHECKSUM: 29fa
diff --git a/dev/benchmarks/microbenchmarks/pubspec.yaml b/dev/benchmarks/microbenchmarks/pubspec.yaml
index 99596fdca..7fc6f4e48 100644
--- a/dev/benchmarks/microbenchmarks/pubspec.yaml
+++ b/dev/benchmarks/microbenchmarks/pubspec.yaml
@@ -59,7 +59,7 @@ dependencies:
leafp-macbookpro:flutter leafp$

I believe that the issue here is that pub upgrade uses dependencies specified in packages/flutter/pubspec.yaml to determine that flutter sdk is pinned at vector_math 2.0.6:
SLVR:           derived: meta ^1.1.2
SLVR:             selecting cupertino_icons 0.1.2
SLVR:               selecting meta 1.1.6
SLVR:                 selecting plugin 0.2.0+3
SLVR:                 fact: every version of connectivity depends on flutter any from sdk
SLVR:                   selecting connectivity 0.3.1
SLVR:                   derived: flutter any from sdk
SLVR:                   fact: every version of flutter from sdk depends on collection 1.14.6
SLVR:                   fact: every version of flutter from sdk depends on meta 1.1.5
SLVR:                   fact: every version of flutter from sdk depends on sky_engine any from sdk
SLVR:                   fact: every version of flutter from sdk depends on typed_data 1.1.5
SLVR:                   fact: every version of flutter from sdk depends on vector_math 2.0.6
SLVR:                   derived: vector_math 2.0.6
SLVR:                   derived: typed_data 1.1.5
SLVR:                   derived: sky_engine any from sdk
SLVR:                   conflict: every version of flutter from sdk depends on meta 1.1.5
SLVR:               derived: not flutter any from sdk
SLVR:               conflict: every version of connectivity depends on flutter any from sdk
SLVR:   derived: flutter any from sdk
SLVR:   derived: vector_math 2.0.6
SLVR:   derived: typed_data 1.1.5
SLVR:   derived: sky_engine any from sdk

So it sounds like you do have to manually move up dependencies in packages/flutter/pubspec.yaml.

We should change the tool to wipe out all the dependencies before running pub. Should be easy enough, we already have the code to do most of that.

Fixed via https://github.com/flutter/flutter/pull/53429

authors: Hixie aam jonahwilliams leafpetersen


text:
Problem using cloud_firestore

I have seen the other opened problem about cloud_firestore.
However mine seems different.
I have also a problem when cocoapod try to install cloud_firestore.
This is what I get

CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)
Fetching external sources
-> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
Resolving dependencies of `Podfile`
[!] Unable to find a specification for `Firebase/Database` depended upon by `cloud_firestore`
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:402:in `find_cached_set'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:372:in `specifications_for_dependency'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:177:in `search_for'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:288:in `block in sort_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `each'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_by'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/delegates/specification_provider.rb:53:in `block in sort_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/delegates/specification_provider.rb:70:in `with_no_such_dependency_error_handling'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/delegates/specification_provider.rb:52:in `sort_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:746:in `require_nested_dependencies_for'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:729:in `activate_new_spec'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:686:in `attempt_to_activate'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:182:in `resolve'
/usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolver.rb:43:in `resolve'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:123:in `resolve'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:781:in `block in resolve_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:779:in `resolve_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:88:in `analyze'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:243:in `analyze'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:116:in `install!'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
/usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:22:in `load'
/usr/local/bin/pod:22:in `<main>'
Error running pod install

And if I run flutter run -v I get
[  +77 ms] Building Runner.app for C8322200-306D-4478-8969-B5124B3FA08F.
[  +16 ms] executing: script /dev/null /usr/bin/log stream --style syslog --predicate processImagePath CONTAINS "C8322200-306D-4478-8969-B5124B3FA08F"
[  +55 ms] [DEVICE LOG] Filtering the log data using "processImagePath CONTAINS "C8322200-306D-4478-8969-B5124B3FA08F""
[   +5 ms] [DEVICE LOG] Timestamp                       (process)[PID]
[ +179 ms] Skipping kernel compilation. Fingerprint match.
[ +298 ms] Building bundle
[        ] Writing asset files to build/flutter_assets
[  +57 ms] Wrote build/flutter_assets
[   +1 ms] executing: /usr/bin/xcrun simctl get_app_container C8322200-306D-4478-8969-B5124B3FA08F com.example.flutterFirebase
[        ] executing: /usr/bin/killall Runner
[ +141 ms] executing: [ios/] /usr/bin/xcodebuild -list
[ +713 ms] Exit code 0 from: /usr/bin/xcodebuild -list
[        ] Information about project "Runner":
               Targets:
                   Runner

               Build Configurations:
                   Debug
                   Release

               If no build configuration is specified and -scheme is not passed then "Release" is used.

               Schemes:
                   Runner
[   +2 ms] Trying to resolve native pub services.
[   +2 ms] Looking for YAML at 'pubspec.yaml'
[   +1 ms] No services specified in the manifest
[        ] Found 0 service definition(s).
[   +1 ms] Copying service frameworks to '/Users/adriendulong/Documents/Dev/flutter_firebase/ios/Frameworks'.
[        ] Creating service definitions manifest at 'ios/ServiceDefinitions.json'
[  +20 ms] executing: pod --version
[ +525 ms] 1.5.3
[   +3 ms] Running pod install...
[ +811 ms] Running pod install... (completed)
[        ] CocoaPods' output:
           ↳
[        ]   Preparing

           Analyzing dependencies

           Inspecting targets to integrate
             Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

           Fetching external sources
           -> Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
           -> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
           -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`

           Resolving dependencies of `Podfile`
           [!] Unable to find a specification for `Firebase/Database` depended upon by `cloud_firestore`

           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:402:in `find_cached_set'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:372:in `specifications_for_dependency'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:177:in `search_for'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:288:in `block in sort_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `each'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_by'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:281:in `sort_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/delegates/specification_provider.rb:53:in `block in sort_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/delegates/specification_provider.rb:70:in `with_no_such_dependency_error_handling'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/delegates/specification_provider.rb:52:in `sort_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:754:in `push_state_for_requirements'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:746:in `require_nested_dependencies_for'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:729:in `activate_new_spec'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:686:in `attempt_to_activate'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:254:in `process_topmost_state'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolution.rb:182:in `resolve'
           /usr/local/lib/ruby/gems/2.4.0/gems/molinillo-0.6.5/lib/molinillo/resolver.rb:43:in `resolve'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/resolver.rb:123:in `resolve'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:781:in `block in resolve_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:779:in `resolve_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer/analyzer.rb:88:in `analyze'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:243:in `analyze'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/user_interface.rb:64:in `section'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/installer.rb:116:in `install!'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:41:in `run'
           /usr/local/lib/ruby/gems/2.4.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run'
           /usr/local/lib/ruby/gems/2.4.0/gems/cocoapods-1.5.3/bin/pod:55:in `<top (required)>'
           /usr/local/bin/pod:22:in `load'
           /usr/local/bin/pod:22:in `<main>'

[   +4 ms] Error running pod install
[   +1 ms] Error launching application on iPhone X.
[  +16 ms] "flutter run" took 6 280ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:417:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:356:18)
#3      _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#4      _rootRunUnary (dart:async/zone.dart:1132:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#9      Future._complete (dart:async/future_impl.dart:476:7)
#10     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11     _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#12     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:295:13)
#13     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14     _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#15     _rootRunUnary (dart:async/zone.dart:1132:38)
#16     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17     _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:642:45)
#19     Future._propagateToListeners (dart:async/future_impl.dart:671:32)
#20     Future._complete (dart:async/future_impl.dart:476:7)
#21     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#23     _rootRun (dart:async/zone.dart:1124:13)
#24     _CustomZone.run (dart:async/zone.dart:1021:19)
#25     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#26     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#27     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#28     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:115:13)
#29     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:172:5)

Can you please try if pod install in ios/ helps?
Please add the output of flutter doctor -v.

I got the same thing doing pod install in ios/
Analyzing dependencies
Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
[!] Unable to find a specification for `Firebase/Database` depended upon by `cloud_firestore`

And this is what I get when I do flutter doctor -v :
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale fr-FR)
    • Flutter version 0.8.2 at /Users/adriendulong/Documents/Dev/flutter
    • Framework revision 5ab9e70727 (3 weeks ago), 2018-09-07 12:33:05 -0700
    • Engine revision 58a1894a1c
    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    • Android SDK at /Users/adriendulong/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.27.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.18.0

[✓] Connected devices (1 available)
    • iPhone XS Max • 4AFE0DCD-1F8B-4840-A39C-0FA87DE01C9D • ios • iOS 12.0 (simulator)

• No issues found!

Could it be because of the minimum target version that was not set in previous version of flutter? Even if I updated it, maybe it did not update my project?
Thanks for your help

I have this same issue... any solution or workaround?

I had the same problem and had to add source 'https://github.com/CocoaPods/Specs.git' to my Podfile as I added another source as well which resulted in incomplete specs.

@adriendulong
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/659. Any further collaboration will be done there.

authors: PieterAelse adriendulong dschmucki kroikie zoechi


text:
When using cloud firestore on iOS, the app was killed

Steps to Reproduce

I just tried to use the cloud firestore.
However, the following bug was caused while running iOS application.
Logs

[  +34 ms] executing: [/Users/kyeonghwan-kong/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/beta
[        ] executing: [/Users/kyeonghwan-kong/flutter/] git rev-parse --abbrev-ref HEAD
[  +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] beta
[        ] executing: [/Users/kyeonghwan-kong/flutter/] git ls-remote --get-url origin
[  +13 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[        ] executing: [/Users/kyeonghwan-kong/flutter/] git log -n 1 --pretty=format:%H
[  +23 ms] Exit code 0 from: git log -n 1 --pretty=format:%H
[        ] 5ab9e70727d858def3a586db7fb98ee580352957
[        ] executing: [/Users/kyeonghwan-kong/flutter/] git log -n 1 --pretty=format:%ar
[  +11 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar
[        ] 4 weeks ago
[        ] executing: [/Users/kyeonghwan-kong/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +15 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v0.8.2-0-g5ab9e7072
[ +330 ms] executing: /Users/kyeonghwan-kong/Library/Android/sdk/platform-tools/adb devices -l
[   +8 ms] Exit code 0 from: /Users/kyeonghwan-kong/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           ce0417146180ac1702     device usb:338755584X product:dream2lteks model:SM_G955N device:dream2lteks transport_id:1
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:2
[  +14 ms] executing: idevice_id -h
[  +42 ms] /usr/bin/xcrun simctl list --json devices
[ +203 ms] More than one device connected; please specify a device with the '-d <deviceId>' flag, or use '-d all' to act on all devices.
[   +5 ms] /Users/kyeonghwan-kong/Library/Android/sdk/platform-tools/adb -s ce0417146180ac1702 shell getprop
[ +119 ms] ro.hardware = samsungexynos8895
[   +2 ms] /Users/kyeonghwan-kong/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop
[  +27 ms] ro.hardware = ranchu
[   +3 ms] SM G955N                  • ce0417146180ac1702                   • android-arm64 • Android 8.0.0 (API 26)
[        ] Android SDK built for x86 • emulator-5554                        • android-x86   • Android 8.1.0 (API 27) (emulator)
[        ] iPhone XS Max             • FF00A34F-7D49-4625-BEBA-6B4C97A8CEED • ios           • iOS 12.0 (simulator)
[  +19 ms] "flutter run" took 699ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:26:3)
#1      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:239:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:350:11)
<asynchronous suspension>
#3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:306:33)
<asynchronous suspension>
#4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#5      _rootRun (dart:async/zone.dart:1124:13)
#6      _CustomZone.run (dart:async/zone.dart:1021:19)
#7      _runZoned (dart:async/zone.dart:1516:10)
#8      runZoned (dart:async/zone.dart:1463:12)
#9      AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:297:20)
#11     CommandRunner.runCommand (package:args/command_runner.dart:194:27)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:347:21)
<asynchronous suspension>
#13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#14     _rootRun (dart:async/zone.dart:1124:13)
#15     _CustomZone.run (dart:async/zone.dart:1021:19)
#16     _runZoned (dart:async/zone.dart:1516:10)
#17     runZoned (dart:async/zone.dart:1463:12)
#18     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:303:19)
<asynchronous suspension>
#20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:109:29)
#21     new Future.sync (dart:async/future.dart:224:31)
#22     CommandRunner.run (package:args/command_runner.dart:109:11)
#23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:211:18)
#24     run.<anonymous closure> (package:flutter_tools/runner.dart:59:20)
<asynchronous suspension>
#25     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:142:29)
<asynchronous suspension>
#26     _rootRun (dart:async/zone.dart:1124:13)
#27     _CustomZone.run (dart:async/zone.dart:1021:19)
#28     _runZoned (dart:async/zone.dart:1516:10)
#29     runZoned (dart:async/zone.dart:1463:12)
#30     AppContext.run (package:flutter_tools/src/base/context.dart:141:18)
<asynchronous suspension>
#31     runInContext (package:flutter_tools/src/context_runner.dart:42:24)
<asynchronous suspension>
#32     run (package:flutter_tools/runner.dart:50:10)
#33     main (package:flutter_tools/executable.dart:52:9)
<asynchronous suspension>
#34     main (file:///b/build/slave/Mac_Flutter_Packaging/build/archive/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
#35     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:287:32)
#36     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

Analyzing sample_flutter_chat_app...

   info • Unused import: 'package:flutter/material.dart' • test/widget_test.dart:7:8 • unused_import
   info • Unused import: 'package:sample_flutter_chat_app/main.dart' • test/widget_test.dart:10:8 • unused_import

2 issues found. (ran in 2.6s)

[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale ko-KR)
    • Flutter version 0.8.2 at /Users/kyeonghwan-kong/flutter
    • Framework revision 5ab9e70727 (4 weeks ago), 2018-09-07 12:33:05 -0700
    • Engine revision 58a1894a1c
    • Dart version 2.1.0-dev.3.1.flutter-760a9690c2

[!] Android toolchain - develop for Android devices (Android SDK 28.0.2)
    • Android SDK at /Users/kyeonghwan-kong/Library/Android/sdk
    • Android NDK at /Users/kyeonghwan-kong/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.0, Build version 10A255
    • ios-deploy 2.0.0
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 29.0.2
    • Dart plugin version 181.5616
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

[!] IntelliJ IDEA Ultimate Edition (version 2018.1.6)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[✓] Connected devices (3 available)
    • SM G955N                  • ce0417146180ac1702                   • android-arm64 • Android 8.0.0 (API 26)
    • Android SDK built for x86 • emulator-5554                        • android-x86   • Android 8.1.0 (API 27) (emulator)
    • iPhone XS Max             • FF00A34F-7D49-4625-BEBA-6B4C97A8CEED • ios           • iOS 12.0 (simulator)

! Doctor found issues in 2 categories.

😭

SelfAnswer
The bundle ID in Xcode has confirmed that is a capital letter.
When registering an iOS project in Firebase, I replaced all uppercase letters in the bundle ID with all lowercase letters and registered them with firebase.
and solved it.


text:
primarySwatch: Colors.white => type 'Color' is not a subtype of type 'MaterialColor'

When defining my ThemeData as follows the code runs perfectly:
(in file:///home/tamer/AndroidStudioProjects/flutter_app/lib/main.dart):
    final ThemeData _androidTheme = ThemeData(
        brightness: Brightness.light,
        primarySwatch: Colors.pink, // or Colors.green or any color darker than white (this is line 66)
        accentColor: Colors.black,
    );

Now I'm trying to make my appbar color white. However, when I replace primarySwatch: Colors.pink with primarySwatch: Colors.white the code throws the following:
    I/flutter ( 6397): ══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY╞═══════════════════════════════════════════════════════════
    I/flutter ( 6397): The following assertion was thrown attaching to the render tree:
    I/flutter ( 6397): type 'Color' is not a subtype of type 'MaterialColor'
    I/flutter ( 6397): Either the assertion indicates an error in the framework itself, or we should provide
    substantially
    I/flutter ( 6397): more information in this error message to help you determine and fix the underlying cause.
    I/flutter ( 6397): In either case, please report this assertion by filing a bug on GitHub:
    I/flutter ( 6397):   https://github.com/flutter/flutter/issues/new
    I/flutter ( 6397): When the exception was thrown, this was the stack:
    I/flutter ( 6397): #0      new _MyAppState (file:///home/tamer/AndroidStudioProjects/flutter_app/lib/main.dart:66:27) // ()
    I/flutter ( 6397): #1      MyApp.createState (file:///home/tamer/AndroidStudioProjects/flutter_app/lib/main.dart:34:12)
    I/flutter ( 6397): #2      new StatefulElement (package:flutter/src/widgets/framework.dart:3723:23)
    I/flutter ( 6397): #3      StatefulWidget.createElement (package:flutter/src/widgets/framework.dart:789:42)
    I/flutter ( 6397): #4      Element.inflateWidget (package:flutter/src/widgets/framework.dart:2918:40)
    I/flutter ( 6397): #5      Element.updateChild (package:flutter/src/widgets/framework.dart:2723:12)
    I/flutter ( 6397): #6      RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:884:16)
    I/flutter ( 6397): #7      RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:855:5)
    I/flutter ( 6397): #8      RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:801:17)
    I/flutter ( 6397): #9      BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2235:19)
    I/flutter ( 6397): #10     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:800:13)
    I/flutter ( 6397): #11     _WidgetsFlutterBinding&BindingBase&GestureBinding&ServicesBinding&SchedulerBinding&PaintingBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:689:7)
    I/flutter ( 6397): #12     runApp (package:flutter/src/widgets/binding.dart:731:7)
    I/flutter ( 6397): #13     main (file:///home/tamer/AndroidStudioProjects/flutter_app/lib/main.dart:27:3)
    I/flutter ( 6397): #14     _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:286:19)
    I/flutter ( 6397): #15     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:169:12)
    I/flutter ( 6397):════════════════════════════════════════════════════════════════════════════════════════════════════

https://github.com/flutter/flutter/issues/15658#issuecomment-373964562 should help

Does this mean I can't chose my primary swatch to be white or black?

As the comment says. White or black is not a swatch.
You can create a swatch where all entries are black or all are white if that is what you want.

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .
Feel free to add more comments and I try to help if I can but I think StackOverflow would be the right place for this question. GitHub issues are for bug reports and feature requests.

Right.
So using the Panache aka Flutterial theme browser, it actually has a white / black option.
And that option looks surprisingly good - at least for white anyway. So I did some digging to find out why and how it works, and I can answer the why not, and how to, below.
The Flutterial app makes a new MaterialColor widget, and everything is set to white:
const MaterialColor white = const MaterialColor(
  0xFFFFFFFF,
  const <int, Color>{
    50: const Color(0xFFFFFFFF),
    100: const Color(0xFFFFFFFF),
    200: const Color(0xFFFFFFFF),
    300: const Color(0xFFFFFFFF),
    400: const Color(0xFFFFFFFF),
    500: const Color(0xFFFFFFFF),
    600: const Color(0xFFFFFFFF),
    700: const Color(0xFFFFFFFF),
    800: const Color(0xFFFFFFFF),
    900: const Color(0xFFFFFFFF),
  },
);

So, you would expect everything to be white right? No, its actually quite a nice, toned back design.
To test it out yourself, copy and paste that code into your main.dart file and set primarySwatch to white
class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'MyApp',
      theme: ThemeData(
        primarySwatch: white,

Of course, having a swatch with every colour the same seems logically stupid, and so that is why its not included.

Thank You

Thanks for the info guys.  I used this and it's great for what I want.  One thing I would like to ask is (and keep in mind that I am new to Flutter/Dart (or programming in general)):
Q: How do I use this globally?  I have a dart file that I have named 'globals' and I hold my global variable in there for use across all pages.  I tried to put this in there and it wouldn't accept it as it is not a class.
The problem is that I don't have the nous to turn this into something that can be used globally.
Q: Anyone able to enlighten me?
Cheers and thanks in advance,
Vincent.

Right.
So using the Panache aka Flutterial theme browser, it actually has a white / black option.
And that option looks surprisingly good - at least for white anyway. So I did some digging to find out why and how it works, and I can answer the why not, and how to, below.
The Flutterial app makes a new MaterialColor widget, and everything is set to white:
const MaterialColor white = const MaterialColor(
  0xFFFFFFFF,
  const <int, Color>{
    50: const Color(0xFFFFFFFF),
    100: const Color(0xFFFFFFFF),
    200: const Color(0xFFFFFFFF),
    300: const Color(0xFFFFFFFF),
    400: const Color(0xFFFFFFFF),
    500: const Color(0xFFFFFFFF),
    600: const Color(0xFFFFFFFF),
    700: const Color(0xFFFFFFFF),
    800: const Color(0xFFFFFFFF),
    900: const Color(0xFFFFFFFF),
  },
);

So, you would expect everything to be white right? No, its actually quite a nice, toned back design.
To test it out yourself, copy and paste that code into your main.dart file and set primarySwatch to white
class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'MyApp',
      theme: ThemeData(
        primarySwatch: white,

Of course, having a swatch with every colour the same seems logically stupid, and so that is why its not included.

To make it more extensible, reuse the same variable might be a good idea:
    const MaterialColor white = const MaterialColor(
      Colors.white.value,
      const <int, Color>{
        50: Colors.white,
        100: Colors.white,
        200: Colors.white,
        300: Colors.white,
        400: Colors.white,
        500: Colors.white,
        600: Colors.white,
        700: Colors.white,
        800: Colors.white,
        900: Colors.white,
      }
    );

authors: HsattWintHtet MewX TamerB VincentBayliss zoechi


text:
Crash when running animation_bench.dart in SkyShell on MacOS

Steps to Reproduce
out/Release/SkyShell --non-interactive --packages=/Users/fschneider/flutter/packages/flutter/.packages ~/flutter/packages/flutter/benchmark/stocks/animation_bench.dart

It's not 100% reproducible and crashes around 1 out of 10 times on my machine.
Logs and Crash Reports
* thread #6: tid = 0x50d071, 0x00000001004a8b60 SkyShell`dart::Api::UnwrapDoubleHandle(zone=0x0000000113011430, dart_handle=0x0000000113011228) + 144 at dart_api_impl.cc:430, name = 'ui_thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x178)
    frame #0: 0x00000001004a8b60 SkyShell`dart::Api::UnwrapDoubleHandle(zone=0x0000000113011430, dart_handle=0x0000000113011228) + 144 at dart_api_impl.cc:430
   427 	    }                                                                          \
   428 	    return type::Handle(zone  );                                               \
   429 	  }
-> 430 	CLASS_LIST_FOR_HANDLES(DEFINE_UNWRAP)
   431 	#undef DEFINE_UNWRAP
   432
   433
(lldb) bt
* thread #6: tid = 0x50d071, 0x00000001004a8b60 SkyShell`dart::Api::UnwrapDoubleHandle(zone=0x0000000113011430, dart_handle=0x0000000113011228) + 144 at dart_api_impl.cc:430, name = 'ui_thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x178)
  * frame #0: 0x00000001004a8b60 SkyShell`dart::Api::UnwrapDoubleHandle(zone=0x0000000113011430, dart_handle=0x0000000113011228) + 144 at dart_api_impl.cc:430
    frame #1: 0x00000001004afb56 SkyShell`::Dart_DoubleValue(double_obj=0x0000000113011228, value=0x0000700001220f70) + 374 at dart_api_impl.cc:2250
    frame #2: 0x0000000100868e29 SkyShell`blink::DartConverter<blink::Offset, void>::FromArguments(_Dart_NativeArguments*, int, _Dart_Handle*&) [inlined] blink::DartConverter<blink::Offset, void>::FromDart(handle=<unavailable>) + 86 at Offset.cpp:23
    frame #3: 0x0000000100868dd3 SkyShell`blink::DartConverter<blink::Offset, void>::FromArguments(args=<unavailable>, index=<unavailable>, exception=<unavailable>) + 35 at Offset.cpp:36
    frame #4: 0x0000000100860362 SkyShell`blink::DartDispatcher<blink::IndicesHolder<0ul, 1ul>, void (blink::SceneBuilder::*)(blink::Offset const&, blink::Picture*)>::DartDispatcher(blink::DartArgIterator*) [inlined] blink::Offset blink::DartArgIterator::GetNext<blink::Offset>(this=0x0000700001221040) + 46 at dart_args.h:27
    frame #5: 0x0000000100860334 SkyShell`blink::DartDispatcher<blink::IndicesHolder<0ul, 1ul>, void (blink::SceneBuilder::*)(blink::Offset const&, blink::Picture*)>::DartDispatcher(blink::DartArgIterator*) [inlined] blink::DartArgHolder<0ul, blink::Offset const&>::DartArgHolder(it=0x0000700001221040) at dart_args.h:91
    frame #6: 0x0000000100860334 SkyShell`blink::DartDispatcher<blink::IndicesHolder<0ul, 1ul>, void (blink::SceneBuilder::*)(blink::Offset const&, blink::Picture*)>::DartDispatcher(this=0x0000700001221020, it=0x0000700001221040) + 36 at dart_args.h:130
    frame #7: 0x000000010085f2c3 SkyShell`blink::SceneBuilder_addPicture(_Dart_NativeArguments*) [inlined] blink::DartDispatcher<blink::IndicesHolder<0ul, 1ul>, void (blink::SceneBuilder::*)(blink::Offset const&, blink::Picture*)>::DartDispatcher(this=<unavailable>, it=<unavailable>) + 51 at dart_args.h:130
    frame #8: 0x000000010085f2be SkyShell`blink::SceneBuilder_addPicture(_Dart_NativeArguments*) [inlined] void blink::DartCall<void (blink::SceneBuilder::*)(blink::Offset const&, blink::Picture*)>(func=0x0000000000000000, args=<unavailable>)(blink::Offset const&, blink::Picture*), _Dart_NativeArguments*) + 23 at dart_args.h:162
    frame #9: 0x000000010085f2a7 SkyShell`blink::SceneBuilder_addPicture(args=<unavailable>) + 23 at SceneBuilder.cpp:61
    frame #10: 0x00000001006c5b1c SkyShell`dart::NativeEntry::NativeCallWrapperNoStackCheck(args=0x00007000012210d0, func=(SkyShell`blink::SceneBuilder_addPicture(_Dart_NativeArguments*) at SceneBuilder.cpp:61))(_Dart_NativeArguments*)) + 716 at native_entry.cc:160
    frame #11: 0x00000001077485a3
    frame #12: 0x000000010c32ec07
    frame #13: 0x00000001086fc658

I'm looking into this to determine if this is a VM issue.

I suspect that this is related to Dart background compilation: When passing --dart-flags="--no-background-compilation" it did not crash even after a few hundred runs. This was with latest Dart SDK.

I have a local repro. Closing this as it turns out to be a Dart VM issue: https://github.com/dart-lang/sdk/issues/26211


text:
I do not like visual studio."flutter doctor" notices me "[X] visual studio ........not installed"

Use case

Proposal

It seems like you didn't fill out any of the issue template, please provide at least some minimum level of details when filling an issue in the future

OK

authors: codetown jonahwilliams


text:
setState is ignored inside Future.then

I am having a simple page to fetch data from server and parsing the response.
It contains two widgets that are visible to user, one is the _loadingWidget() widget another one is the errorWidget() widget.
I want to change them dynamically so i have set a variable named pageWidget
import 'package:flutter/material.dart';
import 'dart:io';
import 'dart:convert';
import 'package:http/http.dart' as http;
import 'package:validators/validators.dart';

import '../strings.dart';

class FetchDataPage extends StatefulWidget {
  final String text;
  FetchDataPage({Key key, @required this.text}) : super(key: key);

  @override
  _FetchDataState createState() => _FetchDataState();
}

class _FetchDataState extends State<FetchDataPage> {
  String _productUrl;
  Widget pageWidget;

  @override
  Widget build(BuildContext context) {
    pageWidget = _loadingWidget();
    _productUrl = widget.text;
    checkPrice(_productUrl);
    return Scaffold(
      body: Container(padding: EdgeInsets.all(20.0), child: pageWidget),
    );
  }

  void checkPrice(String productUrl) {
    bool isUrl = isURL(productUrl, requireProtocol: true, requireTld: true);
    if (!isUrl) {
      RegExp regExp = new RegExp(r"((\w+:\/\/\S+)|(\w+[\.:]\w+\S+))[^\s,\.]");
      setState(() {
        productUrl = regExp.stringMatch(productUrl).toString();
      });
    }

    //setState is working fine here!
    setState(() {
      pageWidget = errorWidget();
    });

    var response = getLatestPrice(productUrl);
    response.then((response) {

      //setState is Ignored for no reason here?
      setState(() {
        pageWidget = errorWidget();
      });

      //This print statement is working fine!
      print("Got Response: " + response.body.toString());

      if (response.statusCode == 200) {
        var loginData = json.decode(response.body);
        bool status = loginData["status"];

        //This print statement is working fine!
        print("STATUS: " + status.toString());

        if (status) {

          //This print statement is working fine!
          print(loginData["productUrl"]);

        } else {

          //This is not working neither showing any errors
          setState(() {
            pageWidget = errorWidget();
          });

        }
      } else {

        //This is not working neither showing any errors
        setState(() {
          pageWidget = errorWidget();
        });

      }
    });
  }
  Widget _loadingWidget() {
    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      crossAxisAlignment: CrossAxisAlignment.center,
      children: <Widget>[
        Center(
          child: CircularProgressIndicator(
            backgroundColor: Colors.transparent,
            valueColor: AlwaysStoppedAnimation<Color>(Colors.blueGrey),
          ),
        ),
        SizedBox(height: 20.0),
        Text(
          "Checking Price...",
          style: TextStyle(
            color: Colors.blueGrey,
            fontSize: 20.0,
            fontWeight: FontWeight.w500,
          ),
        ),
      ],
    );
  }

  Widget errorWidget() {
    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      crossAxisAlignment: CrossAxisAlignment.center,
      children: <Widget>[
        Center(
          child: Icon(
            Icons.sentiment_dissatisfied,
            color: Colors.red,
            size: 60.0,
          ),
        ),
        SizedBox(height: 20.0),
        Center(
          child: Text(
            "Product not found in database.\nPlease try again later.",
            textAlign: TextAlign.center,
            style: TextStyle(
              color: Colors.blueGrey,
              fontSize: 17.0,
              fontWeight: FontWeight.w500,
            ),
          ),
        ),
      ],
    );
  }
}

Future<http.Response> getLatestPrice(productUrl) async {
  var url = Strings.baseUrl + 'api/checkPrice';
  var response = await http.post(url, body: {
    'product_url': productUrl,
  }, headers: {
    HttpHeaders.authorizationHeader:
        "Basic " + base64Encode(utf8.encode('username:password'))
  });
  return response;
}

Fixed it by setting a bool instead :)


text:
White Screen - App content failed to load after launch released iOS app

Hello to everyone.
I installed my application play store seamlessly. However, when I tried to install the App Store, the application was rejected and I received the following message.
Guideline 2.1 - Performance - App Completeness
We discovered one or more bugs in your app when reviewed on iPad running iOS 12.3.1 on Wi-Fi.
When we launched the app, app displayed a splash screen and no further action occurred in the app during the review.
Next Steps
To resolve this issue, please run your app on a device to identify any issues, then revise and resubmit your app for review.
If we misunderstood the intended behavior of your app, please reply to this message in Resolution Center to provide information on how these features were intended to work.
For new apps, uninstall all previous versions of your app from a device, then install and follow the steps to reproduce the issue. For updates, install the new version as an update to the previous version, then follow the steps to reproduce the issue.
Resources
For information about testing your app and preparing it for review, please see Technical Note TN2431: App Testing Guide.
For a networking overview, please review About Networking.
Please see attached screenshots for details.
When I write flutter doctor there is no problem.
I tried the application on the real device again no problem.
But the app store made such a turn. Does anyone know the reason or are having the same problem?

Resolved
https://www.flutterforum.org/d/97-white-screen-app-content-failed-to-load-after-launch-released-ios-app

@ishakdas I think it's safe to close the issue as it's already fixed on master. If you disagree or encounter it again, please comment and I will re-open it right away.

authors: BondarenkoStas ishakdas


text:
Firebase plugin networking debug log output

I added Firebase plugins to my flutter project and now I'm seeing this networking debug output. I'd like the option to turn it off. I have done a ton of googling and grepping and I can't seem to find out where that option is.
[C19.1 :64617<->172.217.25.10:443]
	Connected Path: satisfied (Path is satisfied), interface: en0
	Duration: 0.254s, DNS @0.000s took 0.018s, TCP @0.020s took 0.041s, TLS took 0.120s
	bytes in/out: 4901/1095, packets in/out: 10/9, rtt: 0.043s, retransmitted packets: 0, out-of-order packets: 0

@jmagman ?

@collinjackson

@lookfirst
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1130. Any further collaboration will be done there.

authors: jmagman kroikie lookfirst


text:
[camera] Add Linux support

Since laptops commonly have cameras built in, this would be potentially useful.
Blocked on https://github.com/flutter/flutter/issues/64188

any updates?

Would love to see linux camera support as well.

Is there any estimation on when this will be available for linux ?

Is there any estimation on when this will be available for linux ?

any movements in these issue?? its an urgent feature to implement

Devil's advocate here (please see the grains of salt surrounding us), flutter is supposed to be able to handle a very large subset of features across all platforms, and certainly all platforms where a particular feature can be supported. That doesn't mean it gets "high" priority, agreed, but saying "go to QT" is almost the antithesis of how flutter is being evangelized.
It's great to see what support there is for Linux already and I'm definitely eager to see this feature get some attention.
Tangent here, it is entertaining that I can program in flutter/dart for my camera and then run it on the android simulator and the web, on my Linux machine, but not for Linux [Gtk] itself.

Please read https://github.com/flutter/flutter/wiki/Issue-hygiene#when-will-my-bug-be-fixed

Shouldn't it be labeled at least as P4? specially now that stable support for Linux it's getting closer.

Any updates here on timeline itself?

@stuartmorgan now that Linux is officially supported, can this be bumped to at least p4?

Please see https://github.com/flutter/flutter/wiki/Issue-hygiene#escalating-an-issue-that-has-the-wrong-priority
Commenting just to say that you think the priority should be changed is not an effective escalation path.

Please see https://github.com/flutter/flutter/wiki/Issue-hygiene#escalating-an-issue-that-has-the-wrong-priority
Commenting just to say that you think the priority should be changed is not an effective escalation path.

Well, given how the rules go:
is:issue is:open reactions:26..27

will certainly pick up this issue, but it does not hold a candle to:
is:issue is:open reactions:>350

which has 14 open issues.
This issue is going to remain open until the heat death of the universe, or if we're unlucky, by the github stale issue mechanism if its allowed to be auto-closed.
I assume my comment is going to be marked as off-topic.

@stuartmorgan well, to be fair, I was also pointing out that the limitation in your original issue has been resolved.

And also the macOS implementation of the camera plugin?

it is just passing on a flag to OS, can we do it?

it is just passing on a flag to OS

The other platform implementations are each several thousand lines of native code; it is significantly more complex than just passing a flag.

can we do it?

Yes, we'd be happy to review PRs adding camera support. The first step would be a design doc, with the mapping of functionality to underlying OS APIs and laying out a roadmap for incremental PRs.

Where can I find plug-ins or libraries that support Linux camera development with flutter? How can I develop Linux camera functionality with Dart?

Nowadays most developer use Linux. And it's user increasing Day by day.
So, Linux support is most important.

any update ?

authors: Iftach-Nevo IsmailHosenIsmailJames TheinThanHlan ZG-123 cornfeedhobo doughywilson jheld lgwds pablojimpas scris sportmachine stuartmorgan vysakhrj


text:
Lint error with CustomScrollView

This doesn't happen in ListView, just CustomScrollView.
Lint warns me I should add const to the expression:
const list = ["a", "b", "c"];
return CustomScrollView(
    slivers: <Widget>[
        for (var key in list) ...[
            Text(key),
        ],
    ],
);

But if I add it, I get compiler errors:
Compiler message:
[...]
lib/screen_color_blindness.dart:110:47: Error: Not a constant expression.
                itemsList(values[key], color, itemWidth),
                                              ^^^^^^^^^
lib/screen_color_blindness.dart:110:17: Error: Method invocation is not a constant expression.
                itemsList(values[key], color, itemWidth),
                ^^^^^^^^^
lib/screen_color_blindness.dart:108:15: Error: 'for' is not supported in constant expressions.
              for (var key in values.keys) ...[
              ^^^

Conclusion: there is a problem with lint.
➜ flutter doctor -v
[✓] Flutter (Channel dev, v1.10.14, on Mac OS X 10.15.1 19B88, locale en-BR)
    • Flutter version 1.10.14 at /usr/local/Cellar/flutter/dev
    • Framework revision 1946fc4da0 (4 weeks ago), 2019-10-07 15:23:31 -0700
    • Engine revision 1d62160fdb
    • Dart version 2.6.0 (build 2.6.0-dev.1.0 d6c6d12ebf)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/bernardoferrari/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Users/bernardoferrari/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/192.5959023/Android Studio 4.0
      Preview.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.8.3

[!] Android Studio
    • Android Studio at /Users/bernardoferrari/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/192.5916306/Android Studio 3.6
      Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    ✗ Android Studio not found at /Users/bernardoferrari/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/192.5916306/Android Studio 3.6
      Preview.app/Contents
    • Try updating or re-installing Android Studio.

[✓] Android Studio
    • Android Studio at /Users/bernardoferrari/Library/Application
      Support/JetBrains/Toolbox/apps/AndroidStudio/ch-1/192.5959023/Android Studio 4.0
      Preview.app/Contents
    • Flutter plugin version 40.2.4
    • Dart plugin version 192.7402
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.2.4)
    • IntelliJ at /Users/bernardoferrari/Applications/JetBrains Toolbox/IntelliJ IDEA
      Ultimate.app
    • Flutter plugin version 38.2.4
    • Dart plugin version 192.6459

[✓] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.6.0

[✓] Connected device (1 available)
    • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 10 (API 29)
      (emulator)

Hi @bernaferrari
This platform is not met for assistance on personal code.
Please see https://flutter.dev/community for resources for asking questions like this,
you may also get some help if you post it on Stack Overflow.
Regardless this code might help you

Sample
import 'package:flutter/material.dart';

void main() => runApp(MaterialApp(home: MyApp()));

class MyApp extends StatelessWidget {

  static const List<String> _list = ['a','b','c'];

  @override
  Widget build(BuildContext context) => Scaffold(
    body: CustomScrollView(
      slivers: _list.map((x)=> SliverToBoxAdapter(child: Text(x))).toList(),
  ),);
}

Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

What!? This is not assistance in personal code! This is a bug in the platform linter. Just copy and paste that code into any project with analysis on, you will see the bug.

?

authors: bernaferrari iapicca


text:
Could not find a file named "pubspec.yaml"

Tried to run test by command
Run test in ...
in AndroidStudio
Logs
Testing started at 07:49 ...
/Applications/flutter/bin/cache/dart-sdk/bin/pub run test -r json /Users/.../hello_world
Observatory listening on http://127.0.0.1:54397/Gb-p3b8_7Gw=/

Could not find a file named "pubspec.yaml" in "/Users/andreyaleev/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0+1".

Process finished with exit code 66

flutter doctor -v
[✓] Flutter (Channel stable, v1.9.1+hotfix.6, on Mac OS X 10.14.6 18G87, locale en-RU)
    • Flutter version 1.9.1+hotfix.6 at /Applications/flutter
    • Framework revision 68587a0916 (8 weeks ago), 2019-09-13 19:46:58 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
    • Android SDK at /Users/andreyaleev/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS (Xcode 11.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.2, Build version 11B52
    • CocoaPods version 1.7.5

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 41.0.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] VS Code (version 1.39.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[!] Connected device
    ! No devices available

! Doctor found issues in 3 categories.

Hello @acinonyxjubatus !
Thank you for posting an issue.
Can you please check whether the solution proposed in this thread works for you: #50.

@janmoppel which exact solution from that long thread are you proposing?

Are there any files in /Users/andreyaleev/.pub-cache/hosted/pub.dartlang.org/provider-3.1.0+1?
Here's the expected pubspec.yaml to be downloaded with pub: https://github.com/rrousselGit/provider/blob/v3.1.0+1/packages/provider/pubspec.yaml

Folder '.pub-cache/hosted/pub.dartlang.org' did not contain any subfolder named 'provider...'

I'm guessing flutter pub get wasn't run beforehand.
Can you confirm your Android Studio configuration was a Flutter test and not a Dart test?

@jmagman Thanks. The problem was that I tried to start Dart test instead of Flutter test

you can clean the cache by writing this command
 flutter pub pub cache repair

authors: acinonyxjubatus deepakjha14 janmoppel jmagman


text:
Huawei mate 20 Pro selects pictures from the gallery and submits them to flash back

Huawei mate 20 Pro selects pictures from the gallery and submits them to flash back

Hi @hgwx
can you please describe the issue in detail
and provide your flutter doctor -v and
a minimal code sample to reproduce the problem?
thank you

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

authors: Hixie hgwx iapicca