androidandroid-studio-3.6

Warning during App build on Android studio 3.6.1


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?


Solution

  • 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