4

I updated android-studio to 3.3 and gradle to 4.10.1. But before run my old application I got this error:

org.gradle.api.UncheckedIOException: Failed to capture fingerprint of input files for task ':app:javaPreCompileProductionDebug' property 'annotationProcessorConfiguration' during up-to-date check

It says the problem is from my fingerprint functionality. I have this:

<uses-permission android:name="android.permission.USE_FINGERPRINT" />

in my manifest that has deprecated and I don't know how to solve this problem.

Is it a bug? or it's my mistake or something?

piet.t
  • 11,718
  • 21
  • 43
  • 52
Mahdi Moqadasi
  • 2,029
  • 4
  • 26
  • 52
  • 2
    Any news on this? I doubt it has something to do with your fingerprint permission - I'm getting the same error but I am not using the fingerprint permission. Last thing I did was update Android Studio and Gradle. – Markus Penguin Feb 07 '19 at 06:27
  • 1
    `fingerprint of input files` it has nothing to do with fingerptint on Android. It's a part of caching mechanism in Gradle. – Eugen Pechanec Feb 11 '19 at 11:47
  • Thanks @EugenPechanec, but do you know any solution for fixing this? and why this happend? – Mahdi Moqadasi Mar 09 '19 at 06:40
  • Each gradle task declares where its inputs and outputs are. And if some other process writes in a directory with inputs of one task, Gradle aborts with this error. If this happened only once then you need to kill all previous gradle instances after update (`gradlew --stop`). – Eugen Pechanec Mar 09 '19 at 07:07

1 Answers1

1

I don't know why, but after cleaning project and rebuild it, the problem solved :|

Mahdi Moqadasi
  • 2,029
  • 4
  • 26
  • 52