mahmud83 / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

Verbose error output conceal real reason for resource error #382

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Save non-image, jpg or other format as file.png in e.g. drawable-hdpi

What is the expected output?
[INFO] libpng error: Not a PNG file
[INFO] ERROR: Failure processing PNG image 
/project/path/res/drawable-hdpi/file.png

What do you see instead?
The expected output, but also log messages like "Error: No resource found that 
matches the given name (at 'background' with value '@drawable/dialog_box')" for 
all resources following the broken png. If the project has a large number of 
resources, the original error message might disappear out of the console buffer 
alltogether.

What version of maven-android-plugin are you using?
3.5.3

What are the complete output lines of "mvn -version" on your machine?
Apache Maven 3.0.4
Maven home: /usr/share/maven
Java version: 1.7.0_21, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "linux", version: "3.8.0-19-generic", arch: "amd64", family: "unix"

Original issue reported on code.google.com by jorgen.t...@zedge.net on 21 May 2013 at 12:36

GoogleCodeExporter commented 9 years ago
Jorgen can you please provide a project showing the error.

Original comment by william....@xandar.com.au on 11 Mar 2014 at 12:42

GoogleCodeExporter commented 9 years ago
We are no longer using the issue tracking system on Google Code. Please refile 
this issue on https://github.com/jayway/maven-android-plugin/issues if you 
still have this problem with the latest release of the Android Maven Plugin

Original comment by mosa...@gmail.com on 19 May 2014 at 4:20