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?
Unplug your device from the USB port on the computer. Restart the device by powering off and back on. Verify that Settings => Developer options => USB Debugging is enabled. Quit and re-launch Android Studio.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With