I just wrote my first program in Flutter. The web is rendering the page correctly but not android emulator. Can you help me in rendering this page correctly in android emulator?
Can you explain further the problem?
Is the emulator showing, or its just the idx logo which appears
I am having a similar issue. Spent several hours trying to resolve and I can’t get any further than this:
gradle clean build:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project ‘android’.
Could not resolve all artifacts for configuration ‘:classpath’.
Could not find com.android.tools.build:gradle:8.10.2.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/8.10.2/gradle-8.10.2.pom
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/8.10.2/gradle-8.10.2.pom
Required by:
project :
i had similar issues with my flutter project for over 1 week now. If i try and create a new flutter project in a new workspace i cant use the emulator either.
Don’t use flutter run or run and debug from ide.
Just make sure you’ve selected or use flutter template when creating the workspace, it’s already have web and android emulator preview which start automatically. If the android emulator preview was stopped or encounter an error just select hard restart from the refresh icon orhit try again
Thank you. So now i am not using run and debug anymore, and instead in my project workspace i ran flutter build apk. However now when i try to open the emulator in a new window it wont let me

This actually was the same problem i also encountered since i replied yesterday, and there’s is also already some threads about this problem, looks like dev already working on it since i also found some environment related errors on the live web preview console log. Let’s just use the live preview from the workspace and wait for dev’s statements for now