# Unable to run on Gradle build

**URL:** <https://discuss.kotlinlang.org/t/unable-to-run-on-gradle-build/25185>\
**Category:** Support\
**Created:** [July 11, 2022, 6:21am UTC](https://discuss.kotlinlang.org/t/unable-to-run-on-gradle-build/25185 "2022-07-11T06:21:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![reyfam](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@reyfam](https://discuss.kotlinlang.org/u/reyfam)\
**Post date:** [July 11, 2022, 6:21am UTC](https://discuss.kotlinlang.org/t/unable-to-run-on-gradle-build/25185/1 "2022-07-11T06:21:27Z")

</div>

when I try creating a project with the Gradle Build System, it gives me an error and it doesn’t allow me to run any file.  
If someone can help?  
Here are some pictures

 ![KotlinError1](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/c/c5ee1a972b2dcc6d125f8121159c32ec68e7c57f.png)  
 ![KotlinError2](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/2/2b1d117a682d0fb06d12778096c555ec5e520a27.png)  
 ![KotlinError1](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/3/3b498bf12153255bf14acb65ecb50117b1f39c15.png)  
 ![ErrorKotlin2](https://us1.discourse-cdn.com/flex019/uploads/kotlinlang/original/2X/8/81ca356669b9a71e373f400e9c44cda7adc665a5.png)

---

<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:** [July 12, 2022, 10:13pm UTC](https://discuss.kotlinlang.org/t/unable-to-run-on-gradle-build/25185/2 "2022-07-12T22:13:00Z")

</div>

For the benefit of those of us who don’t have microscopes to hand (or who are using phones/tablets, or who use screen readers, or who might be reading this in the future after the images have been taken down, or who might be searching for keywords, or who might want to copy-and-paste code into their IDE), could you [post the code and errors as text](https://meta.stackoverflow.com/questions/285551/why-should-i-not-upload-images-of-code-data-errors-when-asking-a-question) please?

---

<div class="post-metadata">

**Author:** ![reyfam](https://avatars.discourse-cdn.com/v4/letter/r/ec9cab/32.png) [@reyfam](https://discuss.kotlinlang.org/u/reyfam)\
**Post date:** [July 13, 2022, 5:06am UTC](https://discuss.kotlinlang.org/t/unable-to-run-on-gradle-build/25185/3 "2022-07-13T05:06:59Z")

</div>

Okay,  
Sorry about that  
The code is

```auto
fun main() {
   println("hi")
}

```

(There is no run button)  
And the error is

```auto
Build file 'C:\Joe\IdeaProjects\bounty-board-gradle\build.gradle' line: 2

Plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.7.10'] was not found in any of the following sources:

* 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.

```

---

<div class="post-metadata">

**Author:** ![layanvindulk](https://avatars.discourse-cdn.com/v4/letter/l/90db22/32.png) [@layanvindulk](https://discuss.kotlinlang.org/u/layanvindulk)\
**Post date:** [January 31, 2023, 4:20pm UTC](https://discuss.kotlinlang.org/t/unable-to-run-on-gradle-build/25185/5 "2023-01-31T16:20:37Z")

</div>

I have some problems with my Gradle building in the android studio pls can someone help me
