Warning during App build on Android studio 3.6.1

Viewed 3037

I just updated Android studio 3.6.1 and while building my app I got following warning:

Configure project :app WARNING: The following project options are deprecated and have been removed: android.enableUnitTestBinaryResources The raw resource for unit test functionality is removed.

What is this warning about and how to remove this?

3 Answers

The robolectric instructions say that this configuration is not necessary with Android Studio 3.3+

So, please check your gradle.properties file and remove this line:

android.enableUnitTestBinaryResources=true

In my case, I just cleared my gradle cache files and that seemed to have resolved the problem

My problem solved by removing configuration at gradle.properties. see below:

#android.enableBuildCache=true
Related