Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6670297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:15:06+00:00 2026-05-26T03:15:06+00:00

I have made a simple application in which i have use some buttons and

  • 0

I have made a simple application in which i have use some buttons and some textView.
On button click event i am using the selector which will display the appropriate image base on the Button click action.
But i dont know what happend, and My Emulator got restarted.
I have tried many times but still the emulator got restarted.
Where is the problem i dont know.
Please Help me in that.
Thanks.
And the Error after cleaning the project i got is:

Error:

[2011-10-03 19:01:11 - TaxCalculator] libpng error: Not a PNG file

[2011-10-03 19:01:11 – TaxCalculator] ERROR: Failure processing PNG image E:\Android\Workspace\TaxCalculator\res\drawable-hdpi\email_icon.png
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\contect_us.xml:2: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/wawatermark’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\contect_us.xml:7: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/header_gradient’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\contect_us.xml:11: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/selector_back_button’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\contect_us.xml:25: error: Error: No resource found that matches the given name (at ‘src’ with value ‘@drawable/contact_us_title’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\contect_us.xml:42: error: Error: No resource found that matches the given name (at ‘src’ with value ‘@drawable/phone_icon’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\contect_us.xml:53: error: Error: No resource found that matches the given name (at ‘src’ with value ‘@drawable/email_icon’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\menu_screen.xml:6: error: Error: No resource found that matches the given name (at ‘src’ with value ‘@drawable/tax_calculator_logo’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\menu_screen.xml:14: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/selector_menu_button’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\menu_screen.xml:21: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/selector_menu_button’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\menu_screen.xml:28: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/selector_menu_button’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\layout\menu_screen.xml:35: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/selector_menu_button’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\drawable\selector_back_button.xml:5: error: Error: No resource found that matches the given name (at ‘drawable’ with value ‘@drawable/back_pressed’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\drawable\selector_back_button.xml:8: error: Error: No resource found that matches the given name (at ‘drawable’ with value ‘@drawable/back_normal’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\drawable\selector_menu_button.xml:5: error: Error: No resource found that matches the given name (at ‘drawable’ with value ‘@drawable/button_blue’).
[2011-10-03 19:01:11 – TaxCalculator] E:\Android\Workspace\TaxCalculator\res\drawable\selector_menu_button.xml:8: error: Error: No resource found that matches the given name (at ‘drawable’ with value ‘@drawable/button_white’).
[2011-10-03 19:01:39 – TaxCalculator] Failed to install TaxCalculator.apk on device ’emulator-5554!
[2011-10-03 19:01:39 – TaxCalculator] (null)
[2011-10-03 19:01:39 – TaxCalculator] Launch canceled!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:15:07+00:00Added an answer on May 26, 2026 at 3:15 am

    Well, here no one give me answer. But i Got the Solution. Please read this carefully.

    Problem:I recently faced an issue where when I added my png file to an Android project it complained that it’s not a PNG file.

    Error I faced:

    [2011-07-24 19:54:00 – xxxx] libpng error: Not a PNG file
    [2011-07-24 19:54:00 – xxxx] ERROR: Failure processing PNG image C:\Users\pawana\workspace\xxxx\res\drawable-nodpi\background.png
    [2011-07-24 19:54:00 – xxxx] C:\Users\pawana\workspace\xxxx\res\layout\main.xml:7: error: Error: No resource found that matches the given name (at ‘background’ with value ‘@drawable/background’).

    Environment: I was using “windows 7″ for development and that file was opening file as a PNG File on Windows 7. I was puzzled what was happening.

    Background: I tried searching the web if someone else faced this issue and what as the solution. There were no good answers. I had verified my PNG was 24 bit. Android does support 24-bit and 32-bit. After lot of research it occured to me that maybe Android does not like the PNG format of “Adobe Photoshop”, too which I used to create the PNG.

    Solution: Final solution was to open the png file in MS Paint and re save it as png file. Once I did that Eclipse was able to use that file in Android project. I looked at what it changed, it convered the PNG to 32-bit format. Since Android supports both 24-bit and 32-bit PNGs, it makes me think there is something with “Adobe Phtoshop” generated PNGs which Android does not like.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a sample application which constructs a filter graph to capture audio
I have made a simple test application for the issue, two winforms each containing
in my application I made a very simple binding. I have a NSMutableArray bound
I have started using jQuery and rails. I have made a simple form that
I have made a sample application in which I am able to implement help
I am creating a PHP based web application which requires simple authentication to use.
I have a fairly simple data audit web application written with ASP MVC which
I'm working on a simple PHP application, using CouchDB and PHP-on-Couch to access some
I have been trying to create a simple application that will let the user
To improve console application I have made I though adding some new functions to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.