Software Archive
Read-only legacy content
17061 Discussions

Error: A build error occurred. Check the build log. help me please!

Yang_S_1
Beginner
238 Views
Calling plugman.fetch on plugin ".../cachedPlugins.tON6eC.tmp/cache.NeC1dj.pl/cordova-plugin-legacy-whitelist"
Copying plugin ".../cachedPlugins.tON6eC.tmp/cache.NeC1dj.pl/cordova-plugin-legacy-whitelist" => ".../seven0mbver/plugins/cordova-plugin-legacy-whitelist"
Calling plugman.install on plugin ".../seven0mbver/plugins/cordova-plugin-legacy-whitelist" for platform "android" with options "{"cli_variables":{},"browserify":false,"link":false,"pluginInfoProvider":{"_cache":{".../cachedPlugins.tON6eC.tmp/cache.NeC1dj.pl/cordova-plugin-legacy-whitelist":{"filepath":".../cachedPlugins.tON6eC.tmp/cache.NeC1dj.pl/cordova-plugin-legacy-whitelist/plugin.xml","dir":".../cachedPlugins.tON6eC.tmp/cache.NeC1dj.pl/cordova-plugin-legacy-whitelist","_et":{"_root":{"_id":17,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-legacy-whitelist","version":"1.1.0"},"text":"\n    ","tail":null,"_children":[{"_id":18,"tag":"name","attrib":{},"text":"Legacy Whitelist","tail":"\n    ","_children":[]},{"_id":19,"tag":"description","attrib":{},"text":"Cordova Legacy Whitelist Plugin","tail":"\n    ","_children":[]},{"_id":20,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":21,"tag":"keywords","attrib":{},"text":"cordova,whitelist","tail":"\n\n    ","_children":[]},{"_id":22,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n\n    \n","_children":[{"_id":23,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":24,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n                ","tail":"\n        ","_children":[{"_id":25,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.whitelist.LegacyWhitelistPlugin"},"text":"","tail":"\n                ","_children":[]},{"_id":26,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":27,"tag":"source-file","attrib":{"src":"src/android/LegacyWhitelistPlugin.java","target-dir":"src/org/apache/cordova/whitelist"},"text":"","tail":"\n    ","_children":[]}]}]}},"id":"cordova-plugin-legacy-whitelist","version":"1.1.0","name":"Legacy Whitelist","description":"Cordova Legacy Whitelist Plugin","license":"Apache 2.0","keywords":["cordova","whitelist"]},".../seven0mbver/plugins/cordova-plugin-legacy-whitelist":{"filepath":".../seven0mbver/plugins/cordova-plugin-legacy-whitelist/plugin.xml","dir":".../seven0mbver/plugins/cordova-plugin-legacy-whitelist","_et":{"_root":{"_id":28,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-legacy-whitelist","version":"1.1.0"},"text":"\n    ","tail":null,"_children":[{"_id":29,"tag":"name","attrib":{},"text":"Legacy Whitelist","tail":"\n    ","_children":[]},{"_id":30,"tag":"description","attrib":{},"text":"Cordova Legacy Whitelist Plugin","tail":"\n    ","_children":[]},{"_id":31,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n    ","_children":[]},{"_id":32,"tag":"keywords","attrib":{},"text":"cordova,whitelist","tail":"\n\n    ","_children":[]},{"_id":33,"tag":"platform","attrib":{"name":"android"},"text":"\n        ","tail":"\n\n    \n","_children":[{"_id":34,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n            ","tail":"\n\n        ","_children":[{"_id":35,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n                ","tail":"\n        ","_children":[{"_id":36,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.whitelist.LegacyWhitelistPlugin"},"text":"","tail":"\n                ","_children":[]},{"_id":37,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n            ","_children":[]}]}]},{"_id":38,"tag":"source-file","attrib":{"src":"src/android/LegacyWhitelistPlugin.java","target-dir":"src/org/apache/cordova/whitelist"},"text":"","tail":"\n    ","_children":[]}]}]}},"id":"cordova-plugin-legacy-whitelist","version":"1.1.0","name":"Legacy Whitelist","description":"Cordova Legacy Whitelist Plugin","license":"Apache 2.0","keywords":["cordova","whitelist"]}},"_getAllCache":{}},"nohooks":["."]}"
Installing "cordova-plugin-legacy-whitelist" for android
Running command: .../seven0mbver/platforms/android/cordova/version 
Command finished with error code 0: .../seven0mbver/platforms/android/cordova/version 
Install start for "cordova-plugin-legacy-whitelist" on android.
Beginning processing of action stack for android project...
Parsing android project files...
Action stack processing complete.
Writing out android project files...
Preparing android project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'cordova-plugin-legacy-whitelist' ]
Writing out cordova_plugins.js...
Install complete for cordova-plugin-legacy-whitelist on android.
Generating config.xml from defaults for platform "android"
Calling plugman.prepare for platform "android"
Preparing android project
Processing configuration changes for plugins.
Iterating over installed plugins: [ 'cordova-plugin-legacy-whitelist' ]
Writing out cordova_plugins.js...
Wrote out Android application name to "LoveSilvy"
deleted: .../seven0mbver/platforms/android/res/drawable-land-hdpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-land-ldpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-land-mdpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-land-xhdpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-port-hdpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-port-ldpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-port-mdpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-port-xhdpi/screen.png
splash screens: [{"src":"www/제목 없음.png","density":"land-hdpi","platform":"android","width":640,"height":480}]
copying image from .../seven0mbver/www/제목 없음.png to .../seven0mbver/platforms/android/res/drawable-land-hdpi/screen.png
deleted: .../seven0mbver/platforms/android/res/drawable-hdpi/icon.png
deleted: .../seven0mbver/platforms/android/res/drawable-ldpi/icon.png
deleted: .../seven0mbver/platforms/android/res/drawable-mdpi/icon.png
deleted: .../seven0mbver/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../seven0mbver/www/res/drawable-xhdpi-v4/icon.png to .../seven0mbver/platforms/android/res/drawable-xhdpi/icon.png
copying image from .../seven0mbver/www/res/drawable-hdpi-v4/icon.png to .../seven0mbver/platforms/android/res/drawable-hdpi/icon.png
copying image from .../seven0mbver/www/res/drawable-mdpi-v4/icon.png to .../seven0mbver/platforms/android/res/drawable-mdpi/icon.png
copying image from .../seven0mbver/www/res/drawable-ldpi-v4/icon.png to .../seven0mbver/platforms/android/res/drawable-ldpi/icon.png
Wrote out Android package name to "com.Project.Silvy"
************* Processing the main config.xml file (after_prepare)  *****************
App Directory = [.../seven0mbver]
Will process and update the following config files:
    Config.xml = [.../seven0mbver/config.xml]
Namespaces:
    prefix/uri ''/'http://www.w3.org/ns/widgets'
    prefix/uri 'intelxdk'/'http://xdk.intel.com/ns/v1'
Android Manifest Namespaces:
    prefix/uri 'android'/'http://schemas.android.com/apk/res/android'
Name of the app is [LoveSilvy]
Updating full app name to [LoveSilvy]
Processing preference android-minSdkVersion [14]
Processing preference android-targetSdkVersion [19]
Processing preference android-installLocation [auto]
Processing preference permissions
Updating the versionCode
Updating the versionName
Processing debuggable
Added [{http://schemas.android.com/apk/res/android}debuggable] with [false]
Processing config file values
Saving config.xml to [.../seven0mbver/config.xml]
************* Completed processing the main config.xml file (after_prepare)  *****************
Running command: .../seven0mbver/platforms/android/cordova/build --release
ANDROID_HOME=/Developer/tools/adt-bundle/android-sdk
JAVA_HOME=/usr/lib/jvm/java-7-oracle-amd64
Running: .../seven0mbver/platforms/android/gradlew cdvBuildRelease -b .../seven0mbver/platforms/android/build.gradle --no-daemon
:preBuild
:compileReleaseNdk
:preReleaseBuild
:checkReleaseManifest
:CordovaLib:compileLint
:CordovaLib:copyReleaseLint UP-TO-DATE
:CordovaLib:mergeReleaseProguardFiles
:CordovaLib:preBuild
:CordovaLib:preReleaseBuild
:CordovaLib:checkReleaseManifest
:CordovaLib:prepareReleaseDependencies
:CordovaLib:compileReleaseAidl
:CordovaLib:compileReleaseRenderscript
:CordovaLib:generateReleaseBuildConfig
:CordovaLib:generateReleaseAssets UP-TO-DATE
:CordovaLib:mergeReleaseAssets
:CordovaLib:generateReleaseResValues
:CordovaLib:generateReleaseResources
:CordovaLib:packageReleaseResources
:CordovaLib:processReleaseManifest
:CordovaLib:processReleaseResources
:CordovaLib:generateReleaseSources
:CordovaLib:compileReleaseJavaNote: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

:CordovaLib:processReleaseJavaRes UP-TO-DATE
:CordovaLib:packageReleaseJar
:CordovaLib:compileReleaseNdk
:CordovaLib:packageReleaseJniLibs UP-TO-DATE
:CordovaLib:packageReleaseLocalJar UP-TO-DATE
:CordovaLib:packageReleaseRenderscript UP-TO-DATE
:CordovaLib:bundleRelease
:prepareAndroidCordovaLibUnspecifiedReleaseLibrary
:prepareReleaseDependencies
:compileReleaseAidl
:compileReleaseRenderscript
:generateReleaseBuildConfig
:generateReleaseAssets UP-TO-DATE
:mergeReleaseAssets

FAILURE: Build failed with an exception.

* What went wrong:
Could not list contents of '.../seven0mbver/platforms/android/assets/www/?????? ??????.png'.

* 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: 14.787 secs

.../seven0mbver/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
Error code 1 for command: .../seven0mbver/platforms/android/gradlew with args: cdvBuildRelease,-b,.../seven0mbver/platforms/android/build.gradle,--no-daemon
Command finished with error code 8: .../seven0mbver/platforms/android/cordova/build --release
ERROR building one of the platforms: Error: .../seven0mbver/platforms/android/cordova/build: Command failed with exit code 8
You may not have the required environment or OS to build this project
Error: .../seven0mbver/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)

 

 

I am a novice developer in Korea.
After an app developed these errors during the build.

How can I fix it?

Because they do not speak English well, you'd understand that by using a translator to raise the question :D

please help me!

0 Kudos
1 Reply
Rakshith_K_Intel
Employee
238 Views
* What went wrong:
Could not list contents of '.../seven0mbver/platforms/android/assets/www/?????? ??????.png'.

looks like there was an error when reading a file "?????? ??????.png", is that the real name of file or do u have filename in Korean?

0 Kudos
Reply