When declaring id in resources, the body should be empty
<item
type="id"
name="id_name" />
For more info please have a look on below link
https://developer.android.com/guide/topics/resources/more-resources#Id
So as Oliver Manyasa mentioned, it should be as below
<?xml version="1.0" encoding="utf-8"?>
<resources>
<item name="tv_deviceName" type="id"/>
</resources>