Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

Failed to capture fingerprint of input files for task ':app:javaPreCompileProductionDebug'

Ask Question

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?

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 7, 2019 at 6:27 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, 2019 at 11:47 Thanks @EugenPechanec, but do you know any solution for fixing this? and why this happend? – Mahdi Moqadasi Mar 9, 2019 at 6: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 9, 2019 at 7:07

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.