All Products
Search
Document Center

Mobile Testing:android_content_res_Resources_NotFoundException

Last Updated:Feb 28, 2022

Problem description

This exception occurs when the requested resource is not found. It is usually because the resource can be found when the app is compiled, but cannot be found during runtime.

Solution

This exception occurs because the resource can be found when the app is compiled, but cannot be found during runtime. We recommend that you use clean project to delete the R file and rebuild it. Check whether the referenced resource is correct.

References