Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 280
Ankur Chitranshi Avatar asked Feb 29 '20 08:02

Ankur Chitranshi


People also ask

Why Android Studio is not running the app?

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.


1 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
like image 155
Imanol Avatar answered Oct 20 '22 10:10

Imanol