This is a migrated thread and some comments may be shown as answers.

Cannot build Android App package, Error: [crunch] ERROR: 9-patch image /tmp/builds/hWLWXVxWlol5YsypDD/app/res/drawable-nodpi/splashscreen.9.png malfor

1 Answer 251 Views
AppBuilder extension for Visual Studio
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ioannis
Top achievements
Rank 1
Ioannis asked on 22 May 2015, 12:09 AM

Dear sirs,

I have an application based on phonegap/javascript and I am trying to use the Keyboard plugin.

In order to do so, it seems that I must create an App package version of my app as AppBuilder companion app does not support this plugin.

Unfortunately whenever I try to build the Android App Package using AppBuilder Extension for Visual Studio v 2015.2.519.4 build fails, and it give me the following error:

android Build Tooling revision 2015.5.19.3r
Warning: WARNING: Plugin 'com.telerik.mobiletesting' was removed
Warning: [aapt]     (skipping file '.travis.yml' due to ANDROID_AAPT_IGNORE pattern '.*')
Warning: [aapt]     (skipping file '.jenkins' due to ANDROID_AAPT_IGNORE pattern '.*')
Warning: [aapt]     (skipping file '.gitignore' due to ANDROID_AAPT_IGNORE pattern '.*')
Error: [crunch] ERROR: 9-patch image /tmp/builds/hWLWXVxWlol5YsypDD/app/res/drawable-nodpi/splashscreen.9.png malformed.

I have read this has to do with typescript but I am not using typescript.

Thanks!

 

 

1 Answer, 1 is accepted

Sort by
0
Tsvetina
Telerik team
answered on 25 May 2015, 01:30 PM
Hi Ioannis,

Can you confirm that you haven't modified the splashscreen.9.png file in App_Resources/Android/drawable-nodpi or through the project properties -> Android -> General -> Splash Screens. When modifying this file, you must ensure that you are using a valid 9-patch image. To create one, you can use Draw 9-patch.

Regards,
Tsvetina
Telerik
 

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

 
Tags
AppBuilder extension for Visual Studio
Asked by
Ioannis
Top achievements
Rank 1
Answers by
Tsvetina
Telerik team
Share this question
or