Open
Description
Steps to reproduce
- I cloned the GitHub project to start working on it.
- I built the project to run tests.
- The *.iml file was not generated.
- I searched Google and YouTube but couldn't find a solution.
Actual results
- The Flutter options are not showing up in the IDE.
- The *.iml file was not generated.
Is the .iml file necessary for the project to function properly?
Logs
Logs
**pubspec.yaml**
name: todoream
description: "Shape your future, one step at a time, with ToDoream."
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
sdk: ^3.8.1
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.8
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- assets/fonts/
- assets/images/
- assets/icons/
- assets/.env/.env
**android/build.gradle.kts**
allprojects {
repositories {
google()
mavenCentral()
}
}
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
rootProject.layout.buildDirectory.value(newBuildDir)
subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.value(newSubprojectBuildDir)
}
subprojects {
project.evaluationDependsOn(":app")
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
**android/settings.gradle.kts**
pluginManagement {
val flutterSdkPath = run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.10.0" apply false
id("org.jetbrains.kotlin.android") version "2.1.20" apply false
}
include(":app")
**android/gradle/wrapper/gradle-wrapper.properties**
...
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip
...
**android/app/build.gradle.kts**
plugins {
id("com.android.application")
id("kotlin-android")
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id("dev.flutter.flutter-gradle-plugin")
}
android {
namespace = "me.quema100.todoream"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_17.toString()
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "me.quema100.todoream"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
targetSdk = flutter.targetSdkVersion
versionCode = flutter.versionCode
versionName = flutter.versionName
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.getByName("debug")
}
}
}
flutter {
source = "../.."
}
Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.32.4, on Microsoft Windows [Version 10.0.26100.4351], locale ko-KR) [530ms]
• Flutter version 3.32.4 on channel stable at C:\SDK\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 6fba2447e9 (9 days ago), 2025-06-12 19:03:56 -0700
• Engine revision 8cd19e509d
• Dart version 3.8.1
• DevTools version 2.45.1
[√] Windows Version (Windows 11 or higher, 24H2, 2009) [3.0s]
[√] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [4.9s]
• Android SDK at C:\Users\myoon\AppData\Local\Android\sdk
• Platform android-36, build-tools 36.0.0
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.6+-13368085-b895.109)
• All Android licenses accepted.
[√] Chrome - develop for the web [144ms]
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.14.5) [143ms]
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.14.36203.30
• Windows 10 SDK version 10.0.26100.0
[√] Android Studio (version 2024.3.2) [19ms]
• 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.6+-13368085-b895.109)
[√] VS Code (version 1.101.1) [16ms]
• VS Code at C:\Users\myoon\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.112.0
[√] Connected device (3 available) [267ms]
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.26100.4351]
• Chrome (web) • chrome • web-javascript • Google Chrome 137.0.7151.120
• Edge (web) • edge • web-javascript • Microsoft Edge 137.0.3296.83
[√] Network resources [408ms]
• All expected network resources are available.
• No issues found!