# Compilation error

**URL:** <https://discuss.kotlinlang.org/t/compilation-error/29138>\
**Category:** Support\
**Created:** [August 26, 2024, 7:44pm UTC](https://discuss.kotlinlang.org/t/compilation-error/29138 "2024-08-26T19:44:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sukdevyadavhsdc](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@sukdevyadavhsdc](https://discuss.kotlinlang.org/u/sukdevyadavhsdc)\
**Post date:** [August 26, 2024, 7:44pm UTC](https://discuss.kotlinlang.org/t/compilation-error/29138/1 "2024-08-26T19:44:00Z")

</div>

PS C:\Users\DELL\Desktop\flutter\cd\_calculator\android\> ./gradlew build

> Task :app:compileReleaseKotlin FAILED  
> e: file:///C:/Users/DELL/Desktop/flutter/cd\_calculator/android/app/src/main/kotlin/com/example/cd\_calculator/MainActivity.kt:3:8 Unresolved reference: io  
> e: file:///C:/Users/DELL/Desktop/flutter/cd\_calculator/android/app/src/main/kotlin/com/example/cd\_calculator/MainActivity.kt:5:21 Unresolved reference: FlutterActivity

FAILURE: Build failed with an exception.

- What went wrong:  
Execution failed for task ‘:app:compileReleaseKotlin’.

> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction  
> Compilation error. See log for more details

- 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](https://help.gradle.org).

BUILD FAILED in 3m 24s  
50 actionable tasks: 28 executed, 22 up-to-date  
PS C:\Users\DELL\Desktop\flutter\cd\_calculator\android\>

---

<div class="post-metadata">

**Author:** ![Skater901](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/skater901/32/10163_2.png) [@Skater901](https://discuss.kotlinlang.org/u/Skater901)\
**Post date:** [August 27, 2024, 7:22am UTC](https://discuss.kotlinlang.org/t/compilation-error/29138/2 "2024-08-27T07:22:14Z")

</div>

Show us your source code, or give us a link to your project, or something. Terminal output with no insight into your source code gives us nothing to work with. You won’t get any help without providing your source code or source project.

---

<div class="post-metadata">

**Author:** ![gidds](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/gidds/32/10865_2.png) [@gidds](https://discuss.kotlinlang.org/u/gidds)\
**Post date:** [August 27, 2024, 7:26am UTC](https://discuss.kotlinlang.org/t/compilation-error/29138/3 "2024-08-27T07:26:11Z")

</div>

Since the underlying errors seem to be `Unresolved reference`, I suspect the `build.gradle` file will be the most relevant.
