Skip to content

Android apps aren't loading or loading with black screen (in emulators) #10617

@branflake2267

Description

@branflake2267

Android renders black.

screen shot 2017-06-10 at 5 08 01 pm

Steps to Reproduce

  1. Create an AVD with Google Play Services. Select Android O api 26, or api 24, with Google Play Services. Having Google Play Services will prevent you from changing the GLES in the emulator. At least at this time.
  2. Start up and try to debug a flutter project on Android AVD you just created.

Here is an example of the settings of the emulator with Google Play Services and Android O
screen shot 2017-06-14 at 11 32 44 am

  • I suspect if you select Hardware GLES 2.0 it will do the same thing.

Logs

No issues found!

Flutter Doctor

/Users/branflake2267/git/flutter/bin/flutter --no-color doctor
[✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-US, channel master)
    • Flutter at /Users/branflake2267/git/flutter
    • Framework revision 81eb140411 (24 hours ago), 2017-06-09 17:30:04 -0700
    • Engine revision ffe8181ffe
    • Tools Dart version 1.24.0-dev.6.7

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
    • Android SDK at /Users/branflake2267/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
    • Gradle version 3.2
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.1.4)
    • Flutter plugin version 14.0
    • Dart plugin version 171.4694.29

[✓] IntelliJ IDEA Ultimate Edition (version 2017.1.3)
    • Flutter plugin version 14.0
    • Dart plugin version 171.4424.63

[✓] Connected devices
    • Android SDK built for x86 64 • emulator-5554                        • android-x64 • Android 7.1.1 (API 25) (emulator)
    • iPhone 7                     • 458BC4FE-8205-4369-8718-193B9FC88C8B • ios         • iOS 10.3 (simulator)
  • Note: I'm using the Community edition to debug.

Metadata

Metadata

Assignees

Labels

c: regressionIt was better in the past than it is nowcustomer: posse (eap)engineflutter/engine related. See also e: labels.platform-androidAndroid applications specifically

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions