Warning during App build on Android studio 3.6.1

六眼飞鱼酱① 提交于 2020-06-08 16:48:43

问题


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?


回答1:


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


来源:https://stackoverflow.com/questions/60463295/warning-during-app-build-on-android-studio-3-6-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!