# Task ':app:compileDebugAidl' class path has changed

**URL:** https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123
**Category:** Help/Discuss
**Created:** [September 19, 2017, 7:18am UTC](https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123 "2017-09-19T07:18:31Z")
**Posts on this page:** 5
**Page:** 2

<div class="post-metadata">

### Author: ![Stefan\_Wolf](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/stefan_wolf/32/5519_2.png) [@Stefan\_Wolf](https://discuss.gradle.org/u/Stefan_Wolf)
#### Post date: [October 4, 2017, 8:07am UTC](https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123/21 "2017-10-04T08:07:31Z")

</div>

Hi Fabian.

Thank you very much for the new logs. I would still like to understand why `org.gradle.internal.hash.FileHasher` can’t be resolved for your project, but it doesn’t really matter for the problem we are trying to solve (it would be great if you could provide me with a full stacktrace).  
The `sha1`s of the files are sufficient. It seems like the Android plugin jars shipped with Android studio are different from the ones in your Gradle repository cache. E.g. `<home>/.gradle/caches/jars-3/d15c489eefc089360ed43525f2f8dd09/gradle-3.0.0-beta6.jar` is different to `<home>/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle/3.0.0-beta6/948b8c05b40b5f607a49d58e7c66a95faa61134f/gradle-3.0.0-beta6.jar`. These jars should actually be the same. Please have a look at the diff of these to files to get an understanding what happened there.  
I think we cannot do something in Gradle to fix this problem but the Android plugin/Android Studio needs to be fixed to either

- not ship a file repository
- ship the same artifacts in the file repository as are uploaded in the public maven repository.

I would prefer if they just would not configure a file repository in Android Studio at all.

Cheers,  
Stefan

---

<div class="post-metadata">

### Author: ![fab1an](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/fab1an/32/4908_2.png) [@fab1an](https://discuss.gradle.org/u/fab1an)
#### Post date: [October 4, 2017, 10:02am UTC](https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123/22 "2017-10-04T10:02:19Z")

</div>

Hi Stefan,

all-right it looks like Google has to do some work here.  
Thank you again for your time.

Regarding the other (for-me-unimportant ;)) issue: I’m using the gradle-wrapper with sources, and this is all that AStudio is able to resolve in the package:

![](https://global.discourse-cdn.com/gradle/original/2X/5/5d9985ae7d0c1482b589b912a75a25072cd612a9.png)

---

<div class="post-metadata">

### Author: ![fab1an](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/fab1an/32/4908_2.png) [@fab1an](https://discuss.gradle.org/u/fab1an)
#### Post date: [October 5, 2017, 4:04am UTC](https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123/23 "2017-10-05T04:04:51Z")

</div>

The difference seems to be in signing. Android ships an additional

```gradle
> META-INF/GOOGLE_O.RSA
> META-INF/GOOGLE_O.SF

```

---

<div class="post-metadata">

### Author: ![fab1an](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/fab1an/32/4908_2.png) [@fab1an](https://discuss.gradle.org/u/fab1an)
#### Post date: [November 24, 2017, 3:36pm UTC](https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123/24 "2017-11-24T15:36:34Z")

</div>

Stefan, I now use Android Studio 3, the problem has shifted slightly. Can you look at my problem here:

> [@Gradle re-execute tasks due to alleged JAR dependency change](https://discuss.gradle.org/t/gradle-re-execute-tasks-due-to-alleged-jar-dependency-change/23115/17):
>
> I have a problem like this too with android studio. Now I realized the difference in classpath between AndroidStudio3 and console invocation of a task: Android Studio takes some jars from “.gradle/caches/jars-3/” where as console takes everything from “.gradle/caches/modules-2”, Console: :file:/Users/fabian/.gradle/caches/modules-2/files-2.1/com.android.tools.build/gradle/3.0.1/cfa107d4db0c11c11f445a11e768adf61c72ce06/gradle-3.0.1.jar :file:/Users/fabian/.gradle/caches/modules-2/files-2.1/or…

---

<div class="post-metadata">

### Author: ![Stefan\_Wolf](https://sea1.discourse-cdn.com/gradle/user_avatar/discuss.gradle.org/stefan_wolf/32/5519_2.png) [@Stefan\_Wolf](https://discuss.gradle.org/u/Stefan_Wolf)
#### Post date: [January 29, 2018, 7:23pm UTC](https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123/25 "2018-01-29T19:23:10Z")

</div>

This should be fixed in Android Gradle plugin 3.1. Can you confirm?

[Previous page](https://discuss.gradle.org/t/task-app-compiledebugaidl-class-path-has-changed/24123.md?page=1)
