得到最新的&最大的颤动&我在Android模拟器上看到黑屏并且控制台中出现以下错误。
有关如何解决此问题的任何想法?
E/flutter ( 4538): [ERROR:flutter/shell/gpu/gpu_surface_gl.cc(161)] Could not wrap onscreen surface.
E/flutter ( 4538): [ERROR:flutter/shell/gpu/gpu_surface_gl.cc(161)] Could not wrap onscreen surface.
I/chatty ( 4538): uid=10086(u0_a86) gpu_thread identical 50 lines
Flutter医生的结果:
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
• Flutter at /Users/michaelrtraverso/dev/flutter
• Framework revision bbcfb8d51a (6 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.1)
• Android SDK at /Users/michaelrtraverso/dev/android-sdk-macosx
• Platform android-26, build-tools 26.0.1
• ANDROID_HOME = /Users/michaelrtraverso/dev/android-sdk-macosx
• 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
• Android Studio at /Applications/Android Studio 3.0 Preview.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-884-b01)
[✓] 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 Ultimate Edition (version 2017.2)
• Flutter plugin version 15.2
• Dart plugin version 172.3317.48
[✓] Connected devices
• Android SDK built for x86 • emulator-5554 • android-x86 • Android O (API 25) (emulator)
答案 0 :(得分:0)
好的,所以这不是一个修复,但alpha通道中最新的Flutter构建似乎被破坏了。切换到主渠道可以恢复Android应用程序。在您的终端:
flutter channel master
然后重新运行,你应该能够重新开始营业。