# When compiling a game on android, an error pops up

**URL:** <https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190>\
**Category:** Questions\
**Created:** [April 19, 2021, 4:53pm UTC](https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190 "2021-04-19T16:53:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toni\_Shuriken](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/toni_shuriken/32/24503_2.png) [@Toni\_Shuriken](https://forum.defold.com/u/Toni_Shuriken)\
**Post date:** [April 19, 2021, 4:53pm UTC](https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190/1 "2021-04-19T16:53:07Z")

</div>

Hello, when compiling a game for android, an error related to java pops up, I have already deleted it and installed a new java and nothing, help me what to do?

 ![IMG_20210419_194426](https://forum-defold-uploads.b-cdn.net/original/3X/1/2/12f31d7c2ce81367bc684387d6ab2d82b34a3cd7.jpeg)

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [April 19, 2021, 8:04pm UTC](https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190/2 "2021-04-19T20:04:20Z")

</div>

> [@Toni\_Shuriken](#):
>
> I have already deleted it and installed a new java

You do not need to install Java yourself. Defold comes with a packaged Java for internal use.

Does your project have any dependencies? And what have you set as build server in Preferences?

---

<div class="post-metadata">

**Author:** ![Toni\_Shuriken](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/toni_shuriken/32/24503_2.png) [@Toni\_Shuriken](https://forum.defold.com/u/Toni_Shuriken)\
**Post date:** [April 20, 2021, 4:18am UTC](https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190/3 "2021-04-20T04:18:25Z")

</div>

I didn’t install anything, made an empty project, started making a game according to the lesson, after which I added the game logo in the project settings and started compiling it for android, and those errors got out, asked a friend, he said that there were some errors with a link.

---

<div class="post-metadata">

**Author:** ![aglitchman](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/aglitchman/32/19432_2.png) [@aglitchman](https://forum.defold.com/u/aglitchman)\
**Post date:** [April 20, 2021, 5:17am UTC](https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190/4 "2021-04-20T05:17:42Z")

</div>

> [@Toni\_Shuriken](#):
>
> I didn’t install anything, made an empty projec

Double check your dependencies list in the `game.project` settings. I’m sure that you left there the `url.to` placeholder.

---

<div class="post-metadata">

**Author:** ![Toni\_Shuriken](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/toni_shuriken/32/24503_2.png) [@Toni\_Shuriken](https://forum.defold.com/u/Toni_Shuriken)\
**Post date:** [April 20, 2021, 10:04am UTC](https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190/5 "2021-04-20T10:04:38Z")

</div>

Will it need to be removed?

---

<div class="post-metadata">

**Author:** ![aglitchman](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/aglitchman/32/19432_2.png) [@aglitchman](https://forum.defold.com/u/aglitchman)\
**Post date:** [April 20, 2021, 10:13am UTC](https://forum.defold.com/t/when-compiling-a-game-on-android-an-error-pops-up/68190/6 "2021-04-20T10:13:13Z")

</div>

YES!
