Skip to content Skip to sidebar Skip to footer

Android-Maven-Plugin V3.4.0 Cannot Find Drawable Resources When Building App

Recently I started mavenizing my android application. One of the obstacles on my way is following: During build maven plugin cannot find drawables which are used in layouts in res

Solution 1:

Ok, I've managed to solve my problem. This was really stupid. There were problems with some 9 patch images which are corrupted. This resulted in build failure. It seems that eclipse android plugin accepts drawables which are marked as 9 patch image, but in fact they are not, and build can be completed ... As for maven android plugin situation is different. But still imho error messages I was getting were inapropriate - there made me focused not on real problem. I've lost a lot of time.. and I'm sure I would find a solution much faster if there weren't those error messages saying that "no resource found that matches given name". Those errors should be skipped by plugin.


Post a Comment for "Android-Maven-Plugin V3.4.0 Cannot Find Drawable Resources When Building App"