Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: stacked create app does not work in Windows with flutter 3.24.4, Android Studio 2024.2.1, Java SDK 21. #1142

Open
zemega opened this issue Nov 3, 2024 · 3 comments

Comments

@zemega
Copy link

zemega commented Nov 3, 2024

Describe the bug

On a fresh install of flutter 3.24.4, and Android Studio 2024.2.1, and Java SDK 21. stacked create app my_app fails to run properly.

What operating system do you use?

Windows

Information about the installed tooling

[✓] Flutter (Channel stable, 3.24.4, on Microsoft Windows [Version 10.0.22631.4317], locale en-US)
    • Flutter version 3.24.4 on channel stable at C:\flutterdev\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 603104015d (10 days ago), 2024-10-24 08:01:25 -0700
    • Engine revision db49896cf2
    • Dart version 3.5.4
    • DevTools version 2.37.3

[✓] Windows Version (Installed version of Windows is version 10 or higher)

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    • Android SDK at C:\Users\Yunus\AppData\Local\Android\sdk
    • Platform android-35, build-tools 35.0.0
    • Java binary at: C:\Program Files\Java\jdk-21\bin\java
    • Java version Java(TM) SE Runtime Environment (build 21.0.5+9-LTS-239)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35327.3
    • Windows 10 SDK version 10.0.22621.0

[✓] Android Studio (version 2024.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[✓] VS Code (version 1.94.2)
    • VS Code at C:\Users\Yunus\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.100.0

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5554 • android-x64    • Android 13 (API 33) (emulator)
    • Windows (desktop)            • windows       • windows-x64    • Microsoft Windows [Version 10.0.22631.4317]
    • Chrome (web)                 • chrome        • web-javascript • Google Chrome 130.0.6723.70
    • Edge (web)                   • edge          • web-javascript • Microsoft Edge 130.0.2849.56

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Steps to reproduce the issue

Create a new stacked cli project through powershell

 stacked create app my_app

Expected behavior

No response

Screenshots

No response

Additional Context

Someone else have the same issue. #1137.

@bogui
Copy link

bogui commented Nov 5, 2024

Watching this

@hassan1105
Copy link

same issue i am trying to create an app using stacked CLI. it creates the app folder but does not resolve the folders, routes, etc.

@zemega
Copy link
Author

zemega commented Nov 6, 2024

A small update. I decided to use Java SDK 17 instead. Reason being gradle default configuration in Flutter 3.24.4 does not support Java SDK 21.

No problem in using stacked cli after that.

So, I guess the issue lies somewhere between Flutter 3.24.4 with Java SDK 21, and/or the default gradle configuration in Flutter 3.24.4.

@zemega zemega changed the title [bug]: stacked create app does not work in Windows with flutter 3.24.4, Android Studio 2024.2.1 [bug]: stacked create app does not work in Windows with flutter 3.24.4, Android Studio 2024.2.1, Java SDK 21. Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants