gpt4 book ai didi

android - Flutter 更新 8/1/17 破坏了 Android

转载 作者:IT王子 更新时间:2023-10-29 07:01:20 26 4
gpt4 key购买 nike

8 月 1 日的 flutter 更新是否有人在 Android 上遇到任何问题?我昨天更新了,自从我无法在 iOS 正常的情况下在 Android 模拟器上运行以来。我收到错误:

[ERROR:flutter/shell/gpu/gpu_surface_gl.cc(161)] Could not wrap onscreen surface.

flutter doctor 结果如下:

[✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-US, channel alpha)
• Flutter at /Users/kyles/flutter
• Framework revision bbcfb8d51a (3 days ago), 2017-08-01 14:50:29 -0700
• Engine revision f2af347363
• Tools Dart version 1.25.0-dev.7.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
• Android SDK at /Users/kyles/Library/Android/sdk
• Platform android-26, build-tools 26.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.3, Build version 8E3004b
• ios-deploy 1.9.1
• CocoaPods version 1.2.1

[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.2.1)
• Flutter plugin version 16.0
• Dart plugin version 172.3544.34

[✓] Connected devices
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.0.0 (API 26) (emulator)

此外,我将代码转移到我的笔记本电脑上,我的笔记本电脑安装了以前版本的 flutter,它编译和运行得很好。

最佳答案

固定

Google 的 Eric Seidel 解释说这个问题已经修复,但还没有被推送到 alpha channel 。同时,可以只使用“flutter channel master”来切换到最新的代码,并修复

关于android - Flutter 更新 8/1/17 破坏了 Android,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45506838/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com