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

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

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 will see that the 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.


This is not an AI-generated article but is demonstrated by a human.

Please support independent contributors like Code2care by donating a coffee.

Buy me a coffee!

Buy Code2care a Coffee!

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!