I encounter this error when I try to build my project using Gradle:
${path_to_project}\teacher\build\intermediates\incremental\mergeDebugAndroidTestResources\merged.dir\values-w270dp-h560dp-v13\values-w270dp-h560dp-v13.xml: error: file not found.
I am really confused because I opened the file and it looks like this is from the dependency I use: com.wdullaer:materialdatetimepicker:3.4.1
Here is the xml file:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="mdtp_selected_calendar_layout_height">230dp</dimen>
<dimen name="mdtp_selected_date_day_size">100dp</dimen>
<dimen name="mdtp_selected_date_height">190dp</dimen>
<dimen name="mdtp_selected_date_month_size">30dp</dimen>
<dimen name="mdtp_selected_date_year_size">30dp</dimen>
</resources>
I used to encounter a similar error with the previous plugin, but the missing resource was from the appcompat-v7 library and was because I had a mismatch with the version of the appcompat-v7 library and my compileSdkVersion . All I had to do was upgrade my appcompat-v7 and compileSdkVersion to the latest versions, and everything was installed.
But this instance seems to be from a third-party library, and I am using the latest version of the library. I do not know how to do that.