- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
During programming, I came to the following problem
Please if someone can help me.
Thank you
:CordovaLib:processDebugJavaRes UP-TO-DATE
:CordovaLib:packageDebugJar
:CordovaLib:compileDebugNdk
:CordovaLib:packageDebugJniLibs UP-TO-DATE
:CordovaLib:packageDebugLocalJar UP-TO-DATE
:CordovaLib:packageDebugRenderscript UP-TO-DATE
:CordovaLib:bundleDebug
:prepareOrgXwalkXwalk_core_library_beta154438413Library
:prepareArmv7ReleaseDependencies
:compileArmv7ReleaseAidl
:compileArmv7ReleaseRenderscript
:generateArmv7ReleaseBuildConfig
:generateArmv7ReleaseAssets UP-TO-DATE
:mergeArmv7ReleaseAssets
FAILURE: Build failed with an exception.
* What went wrong:
Could not list contents of '.../Nosha/platforms/android/assets/www/images/?????????? ????????.jpg'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.326 secs
.../Nosha/platforms/android/cordova/node_modules/q/q.js:126
throw e;
^
Error code 1 for command: .../Nosha/platforms/android/gradlew with args: cdvBuildRelease,-b,.../Nosha/platforms/android/build.gradle,-Dorg.gradle.daemon=true
Command finished with error code 8: .../Nosha/platforms/android/cordova/build --release
ERROR building one of the platforms: Error: .../Nosha/platforms/android/cordova/build: Command failed with exit code 8
You may not have the required environment or OS to build this project
Error: .../Nosha/platforms/android/cordova/build: Command failed with exit code 8
at ChildProcess.whenDone (/Developer/cordova/cordova-cli/5.1.1/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:134:23)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:743:16)
at Process.ChildProcess._handle.onexit (child_process.js:810:5)
- Tags:
- HTML5
- Intel® XDK
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you attempting to build with CLI 4.1.2 or CLI 5.1.1?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
build CLI 5.1.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are you specifying some icons or splash screens using JPG images? If so, convert those images to PNG images, the JPG images don't work with Cordova CLI 5 build systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As Paul says, you need to convert your images to PNGs, but also, your image name might have some characters that are not being translated correctly. You may need to change the filename.
FAILURE: Build failed with an exception.
* What went wrong:
Could not list contents of '.../Nosha/platforms/android/assets/www/images/?????????? ????????.jpg'.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page