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 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.
- appcompat_v7 errors after updates to API level 21 Material Theme
- adb: The Android Debug Bridge and Commands
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- How to make TextView Text Transparent [Android]
- Android is starting optimizing... app 1 of 1
- How to make Text in TextView bold and italic in Android
- Android Development - How to switch between two Activities
- Android : IOException: Unable to open sync connection!
- Android Toolbar example with appcompat_v7 21
- How to Change Android Title Bar Color?
- How to Add Padding to Android TextView
- JavaScript : redirect page to other url
- Programmatically Send an Email from Android App using Intent
- What is Android Toast.LENGTH_SHORT and Toast. LENGTH_LONG durations
- [Soluiton] You already have the latest version of Android Studio installed
- Detect swipes on Android Activity
- Add Buttons at the bottom of Android Layout xml file
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Hide Navigation Bar from Android Screen Activity
- Android Disable EditText from Auto Focus on Activity load
- Toast not getting displayed Android App
- How to Enable Developers Option in Android Phones Settings
- Android : Duplicate registration for activity com.example.abc
- Android ListView turns Black or Flickers while Scrolling
- Android Studio Ctrl Shift o auto import not working
- Install the minimal Linux on Docker (only 5 mb Alpine Linux) - Docker
- SharePoint error - An exception occurred when trying to issue security token: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.. - SharePoint
- Fix: sudo: unable to open Read-only file system - Linux
- fix macOS: The digital signature on the update is missing or invalid. Ventura - MacOS
- What is (base) in Mac Terminal Prompt and how to remove it? - MacOS
- Android Studio Error:(19, 0) Gradle DSL method not found: android() - Android-Studio
- WebCam Audio/Video Tester - Tools
- How to run Java Unit Test cases with Apache Maven? - Java