NOTE: This project contains resource errors, so aapt did not succeed, which can cause rendering failures. Fix resource problems first.


Posted on : Wed, 13th May 15 04:07 pm UTC
100+ votes

NOTE: This project contains resource errors, so aapt did not succeed, which can cause rendering failures. Fix resource problems first.

Failed to convert @drawable/nav_bar into a drawable
Failed to convert @drawable/hr_line into a drawable
Couldn't resolve resource @drawable/nav_bar
Couldn't resolve resource @drawable/hr_line
Exception details are logged in Window > Show View > Error Log

This project contains resource errors so aapt did not succeed


If you get such errors in Eclipse Android SDK's Graphical Layout then the reason may be some missing xml or images under res-> drawable folder, if you read carefully below the note error message you would see that reasons causing these errors, for me its because i have used nav_bar.xml, hr_line.xml resources in my current layout but are missing under drawable folder.

Solution :

Simply add the missing files are stated in the note.

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +