17

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?

Ankur Chitranshi
  • 395
  • 1
  • 4
  • 10

3 Answers3

34

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
Imanol
  • 4,824
  • 2
  • 28
  • 35
0

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

JuJu Juned
  • 134
  • 8
0

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

#android.enableBuildCache=true
fahrizal89
  • 598
  • 5
  • 13