Build failed with error code 8

2 posts, 1 answers
  1. Mohammad Owidat
    Mohammad Owidat avatar
    5 posts
    Member since:
    Aug 2013

    Posted 04 Sep 2015 Link to this post

    Greetings,

    I have the following error:

    [aapt] res/drawable-hdpi-v4/splashscreen.png:0: error: Resource entry splashscreen is already defined.
    [aapt] res/drawable-xhdpi-v4/splashscreen.png:0: error: Resource entry splashscreen is already defined.
    [aapt] res/drawable-xxhdpi-v4/splashscreen.png:0: error: Resource entry splashscreen is already defined.
    [aapt] res/drawable-xxxhdpi-v4/splashscreen.png:0: error: Resource entry splashscreen is already defined.
    /home/builder/BpcTooling/BuildScripts/node_modules/q/q.js:151
    throw e;
    ^
    [object Object]
    'Build failed with error code 8'

      

    I got the error after I tried the Splash Screen generator, it use to build with no errors, but after I tried this feature I got the error.

    Image is attached.

    Best Regards,

    Mohammad Owidat

     
  2. Answer
    Kaloyan
    Admin
    Kaloyan avatar
    872 posts

    Posted 09 Sep 2015 Link to this post

    Hello Mohammad,

    Thank you for reporting the faulty behavior to us. Currently, there is a known issue that prevents you from building if there are both 9Patch Splash Screens (different than the nodpi) and auto generated Splash Screens in your project. This said and judging from the error log you have pasted, you will need to delete the 9Patch Splash Screens from your project's Properties > Assets page for the hdpi, xhdpi, xxhdpi, xxxhdpi resolutions. Leaving only the auto generated assets should solve the issue on your side. Please, let me know if it doesn't or you will require further assistance.

    As a small token of gratitude for reporting this, I have updated your Telerik points. Thank you once again!

    Regards,
    Kaloyan
    Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top