- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I have problem when I try to build my app with Intel XDK, I wannt to build my app as Android. what could the problem and how I fix it? I still beginner for this. this is the build log
Build Log:
Building a Cordova 5.1.1 application.
The application name is "GOHANGEUL"
The package name is "xdk.intel.blank.ad.template"
Plugin "cordova-plugin-legacy-whitelist" (1.1.0) installed.
App name updated to [GOHANGEUL]
Updated "minSdkVersion" with "14"
Updated "targetSdkVersion" with "19"
Updated "installLocation" to "auto"
Updated "versionCode" to "1"
Updated "versionName" to "0.0.1"
Added "debuggable" to "false"
Error: A build error occurred. Check the build log.
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have a link that provides you a detailed build log? Can you save that as a text file and attach it to this thread so we can see the entire build log?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have simil problem. Can you helpme?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Error: A build error occurred. Check the build log.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jesus and Wesley -- please attach your detailed build logs as TXT files to your posts so we can see what is wrong.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is your problem:
Error Code: 42 Output: libpng error: Not a PNG file
You are using JPG files for your icons or splash screens. The Cordova CLI 5.1.1 build system only allows PNG images. JPG and PNG images were allowed for some platforms in the CLI 4.1.2 build system. Unfortunately, the Apache Cordova project changed that and now requires that they all be in PNG format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have simil problem. Can you helpme?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Carlos, you cannot simply rename your files from *.jpg to *.png, you must convert them to PNG format using an image app. Please double-check to be sure your icon and splash screen image files are real PNG files and not just JPG files that have been renamed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a problem when i try to build my app as Android with Intel XDK.
This is Build Log error:
- Building a Cordova 6.2.0 application.
- Using platform cordova-android 5.1.1.
- The application name is "AmliyatKayFazail"
- The package name is "com.dfib.amliyat.kay.fazail"
- Preference android-signed set to true. Application will be signed.
- Plugin "cordova-plugin-statusbar" (2.1.3) installed.
- Plugin "cordova-plugin-device" (1.1.2) installed.
- Plugin "cordova-plugin-splashscreen" (3.2.2) installed.
- Plugin "cordova-plugin-whitelist" (1.2.2) installed.
- App name updated to [AmliyatKayFazail]
- Updated "minSdkVersion" with "14"
- Updated "targetSdkVersion" with "21"
- Updated "installLocation" to "auto"
- Updated "versionCode" to "1"
- Updated "versionName" to "1.2.0"
- Added "debuggable" to "false"
- Error: A build error occurred. Check the build log.
I also have attached a txt file link.
Can anyone tell me what is this problem and what is a solution for it.
Kindly help me, If anyone know about it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This appears to be the core problem:
AAPT err(Facade for 1213882826) : No Delegate set : lost message:libpng error: Not a PNG file
Which is usually caused by trying to use a JPG file for an icon or splash screen. For example, if you had a JPG file that you renamed to a PNG file, you do not have a PNG, you just have a JPG that is named as a PNG. You must actually convert your JPG files to PNG files, renaming them is not sufficient.
Given that the XDK build system will be retired at the end of June (see the release notes), I recommend you use the "Cordova Build Package" tool and attempt to build with PhoneGap Build.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page