-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Description
Steps to Reproduce
Freshly installed Android Studio. I tried to run my app on Android emulator but my app fails to render and I get a black screen. When I connect my real device, everything works fine. iOS simulator also works fine. Also, the default "new project" flutter app works fine on Android emulator! Tested on Android O and M emulators.
When the app is opening, I get this black box on the bottom-left corner for half a second and after that, the whole screen goes black. If I keep clicking on the screen, it often keeps flashing again with this same black box.
Logs
There are no any errors in flutter run
logs. But when the screen is flashing I get this log, not sure if helpful: D/skia ( 4813): OpList failed to instantiate.
Here are the verbose logs: https://hastebin.com/ehojeqitil.sql
Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.6 16G1036, locale en-US, channel alpha)
• Flutter at /Users/jokr/Documents/flutter/flutter
• Framework revision e8aa40e (4 weeks ago), 2017-10-17 15:42:40 -0700
• Engine revision 7c41428
• Tools Dart version 1.25.0-dev.11.0
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.1)
• Android SDK at /Users/jokr/Library/Android/sdk
• Platform android-27, build-tools 27.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-915-b08)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.1, Build version 9B55
• ios-deploy 1.9.2
• CocoaPods version 1.3.1
[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
[✓] IntelliJ IDEA Community Edition (version 2017.2.5)
• Flutter plugin version 19.0
• Dart plugin version 172.4343.25
[✓] Connected devices
• Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 6.0 (API 23) (emulator)
• iPhone 7 • A4A35184-4527-499F-B58A-66D0EF65A193 • ios • iOS 11.1 (simulator)
• iPhone X • E39C9791-6662-43FE-B77F-4DFACEECBEE3 • ios • iOS 11.1 (simulator)
EDIT: Here's the repo if anyone is interested: https://github.com/itsJoKr/iOS4Android