-
Notifications
You must be signed in to change notification settings - Fork 1.5k
can not run gallery #360
Comments
Can you put your |
I run the code aggin `E:\flutter\flutter_demo\gallery> flutter doctor -v [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2) [√] Android Studio (version 4.0) [√] Connected device (1 available) • No issues found! I still can't run gallery, same error in Android Studio , it confuse me a few days |
#364 may fix this |
wow, it works, very thinks the two guys! |
Great thanks! |
step1: cloned gallery in my computer
step2: open this project with Android Studio
step3: run "flutter channel master" and "flutter upgrade"
step: run gallery failed
I'm puzzled
Android Studio say:
lib/layout/adaptive.dart:18:55: Error: Getter not found: 'm'.
return getWindowType(context) == AdaptiveWindowType.m;
^
FAILURE: Build failed with an exception.
Where:
Script 'E:\flutter\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 900
What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 31s
Exception: Gradle task assembleDebug failed with exit code 1
who have any idea? very thanks
The text was updated successfully, but these errors were encountered: