I’ve got 'no resource found that matches the given name' but everything is set up correctly.
error: Error: No resource found that matches the given name (at 'text' with value '@string/labReminderClear').
In AndroidManifest.xml:
<application android:label="MyName"
.....
In Strings.xml:
<string name="app_name">MyName</string>
...
<string name="labReminderClear">Clear</string>
What could be wrong?
The project you’ve mentiond contains errors in
strings.xmlfile. It is connected with%sign used for example in following line (NOTE: there are multiple in that file):This is due to
aapt(Android Asset Packaging Tool) becoming strict and being used for all versions of Android. See detailed explanation in this answer.If you want to fix the code so that it works correctly, you have to add info about parameters positions. For example line from above should become: