Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

android build splash.9.png error

I have a build fail due to the following error

[aapt] res/drawable-xhdpi/splash.png:0: error: Resource entry splash is already defined.

[aapt] res/drawable-xhdpi/splash.9.png:0: Originally defined here.

Any ideas? Thanks!

like image 729
sbs Avatar asked Sep 12 '13 05:09

sbs


1 Answers

This error could also happen, if you use cordova and renamed an existing image (in my case there was only splash.9.png present, but the same error occurred.

In this case you need to clean the project, using

./platforms/android/cordova/clean
like image 53
Harald Avatar answered Oct 02 '22 11:10

Harald