我正在构建一个带有大约4Gig本地文件的Android应用程序(大多数是歌曲)。 当我使用“cordova build android”命令构建我的Android应用程序时,我收到以下错误:
通过命令
在平台“android”上编译应用程序/Users/yveswebit/Desktop/APP/platforms/android/cordova/build
/usr/local/lib/node_modules/cordova/node_modules/q/q.js:126
throw e;
^
Error: An error occurred while building the android project.Error executing "ant debug -f "/Users/yveswebit/Desktop/APP/platforms/android/build.xml"":
BUILD FAILED
/Development/adt-bundle/sdk/tools/ant/build.xml:932: The following error occurred while executing this line:
/Development/adt-bundle/sdk/tools/ant/build.xml:950: null returned: 1
Total time: 23 seconds
at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cordova/src/compile.js:65:22)
at ChildProcess.EventEmitter.emit (events.js:98:17)
at maybeClose (child_process.js:735:16)
at Process.ChildProcess._handle.onexit (child_process.js:802:5)
当我使用较少的歌曲构建我的应用程序时,构建成功。
感谢您的帮助