# \[SOLVED\] Updating Cordova and cordova-android to version 8 generates ':app:debugCompileClasspath' error

**URL:** <https://forum.ionicframework.com/t/solved-updating-cordova-and-cordova-android-to-version-8-generates-debugcompileclasspath-error/168448>\
**Category:** cordova\
**Created:** [July 11, 2019, 6:16pm UTC](https://forum.ionicframework.com/t/solved-updating-cordova-and-cordova-android-to-version-8-generates-debugcompileclasspath-error/168448 "2019-07-11T18:16:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![YuriGaliza](https://avatars.discourse-cdn.com/v4/letter/y/ebca7d/32.png) [@YuriGaliza](https://forum.ionicframework.com/u/YuriGaliza)\
**Post date:** [July 11, 2019, 6:16pm UTC](https://forum.ionicframework.com/t/solved-updating-cordova-and-cordova-android-to-version-8-generates-debugcompileclasspath-error/168448/1 "2019-07-11T18:16:38Z")

</div>

Hi everyone!

I updated my Cordova and cordova-android to version 8 and since then I started having an issue.  
I simply feel lost on how to solve this, I tried some things but to no avail.

Here’s a screenshot of my issue:

 ![help](https://global.discourse-cdn.com/ionicframework/original/3X/6/e/6e7ff6327b5f7d898a971f69e7eaa32165fef77b.jpeg)

And here’s a screenshot of my environment versions:

![version](https://global.discourse-cdn.com/ionicframework/original/3X/d/2/d2de30feecb89996eaa2e647a4e006bc1a730038.jpeg)

---

<div class="post-metadata">

**Author:** ![YuriGaliza](https://avatars.discourse-cdn.com/v4/letter/y/ebca7d/32.png) [@YuriGaliza](https://forum.ionicframework.com/u/YuriGaliza)\
**Post date:** [July 12, 2019, 2:36pm UTC](https://forum.ionicframework.com/t/solved-updating-cordova-and-cordova-android-to-version-8-generates-debugcompileclasspath-error/168448/2 "2019-07-12T14:36:05Z")

</div>

In this case, I found that I had to change the **ANDROID\_HOME** to **ANDROID\_SDK\_ROOT**.  
Some other errors appeared, still, this one solved.
