起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: liangshaohua

[分享] App打包常见报错

  [复制链接]

2

主题

6

帖子

17

积分

新手上路

Rank: 1

积分
17
QQ
发表于 2018-11-5 16:32:57 | 显示全部楼层
feverkim 发表于 2016-4-5 11:09
开始......
   
保存配置信息:

这个问题不解决没法开发的啊!。我出现第8天了还没解决原来用的3.6版本的。现在3.8都不行
回复 支持 反对

使用道具 举报

2

主题

6

帖子

17

积分

新手上路

Rank: 1

积分
17
QQ
发表于 2018-11-6 10:41:14 | 显示全部楼层
kenminkajp 发表于 2016-3-16 17:01
* Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to ...

我来给个答复吧,换台电脑就好了,最好是没有使用过springboot 的最好
回复 支持 反对

使用道具 举报

1

主题

2

帖子

13

积分

新手上路

Rank: 1

积分
13
QQ
发表于 2018-11-16 13:17:08 | 显示全部楼层
Build started.
Task "condition" started.
Task "condition" finished.
Task "condition" started.
Task "condition" finished.
Task "property" started.
Task "property" finished.
Task "property" started.
Task "property" finished.
Task "condition" started.
Task "condition" finished.
Task "condition" started.
Task "condition" finished.
Task "path" started.
Task "path" finished.
Task "typedef" started.
Task "typedef" finished.
Task "svnSetting" started.
Task "svnSetting" finished.
Task "typedef" started.
Task "typedef" finished.
Target "clean" started.
Task "delete" started.
Deleting directory /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build
Task "delete" finished.
Task "delete" started.
Deleting directory /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/dist
Task "delete" finished.
Target "clean" finished.
Target "mergeResources" started.
Task "unzip" started.
Expanding: /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/upload/src.zip into /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build
Task "unzip" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "chmod" started.
Task "chmod" finished.
Task "property" started.
Task "property" finished.
Target "mergeResources" finished.
Target "prepareBuild" started.
Task "mkdir" started.
Task "mkdir" finished.
Task "mkdir" started.
Created dir: /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/dist
Task "mkdir" finished.
Task "property" started.
Task "property" finished.
Task "condition" started.
Task "condition" finished.
Task "condition" started.
Task "condition" finished.
Task "prepareBuild" started.
Task "prepareBuild" finished.
Target "prepareBuild" finished.
Target "prepareAndroidBuild" started.
Target "prepareAndroidBuild" finished.
Target "prepareIOSBuild" started.
Task "exec" started.
1 identity imported.
Task "exec" finished.
Task "copy" started.
Copying 1 file to /Users/x5/Library/MobileDevice/Provisioning Profiles
Task "copy" finished.
Target "prepareIOSBuild" finished.
Target "buildAndroid" started.
Target "buildAndroid" finished.
Target "buildIOS" started.
Task "exec" started.
Running command: /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build/platforms/ios/cordova/build --release --device
Build settings from command line:
    ARCHS = armv7 arm64
    CONFIGURATION_BUILD_DIR = /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build/platforms/ios/build/device
    SDKROOT = iphoneos9.3
    VALID_ARCHS = armv7 arm64

Build settings from configuration file '/Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build/platforms/ios/cordova/build.xcconfig':
    CODE_SIGN_IDENTITY = iPhone Distribution

ERROR building one of the platforms: Error: /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build/platforms/ios/cordova/build: Command failed with exit code 74
You may not have the required environment or OS to build this project
2018-11-16 11:27:06.534 xcodebuild[586:15662] Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character / at line 1" UserInfo={NSDebugDescription=Unexpected character / at line 1, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '0x8d37' at line 67" UserInfo={NSDebugDescription=Unexpected character '0x8d37' at line 67}}
xcodebuild: error: Unable to read project '贷贷平安.xcodeproj'.
        Reason: Project /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build/platforms/ios/贷贷平安.xcodeproj cannot be opened because the project file cannot be parsed.


Error: /Volumes/X5/WeX5/model/Native/.workspace/C8383321CBE000015443124090CC1FBE/build/platforms/ios/cordova/build: Command failed with exit code 74
****ERROR****: Task "exec" finished with error.
****ERROR****: Target "buildIOS" finished with error.
****ERROR****: Build finished with error.
****ERROR****: 错误信息: exec returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://wex5.com/cn/bbs/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

1

主题

2

帖子

9

积分

新手上路

Rank: 1

积分
9
QQ
发表于 2018-11-20 20:04:46 | 显示全部楼层

开始......
   
保存配置信息:
   
编译UI资源:
   
清除编译环境:
   
复制模版工程:
   
复制工程:
   
复制插件:
   
复制WWW资源:
   
更新工程信息:
   
增加插件:
   使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferences,

com.justep.cordova.plugin.app.utils]
   开始安装插件......
   开始准备插件参数......
   插件 "cordova-plugin-splashscreen" 参数如下:
   插件 "cordova-plugin-app-preferences" 参数如下:
   插件 "cordova-plugin-file" 参数如下:
   插件 "cordova-plugin-file-transfer" 参数如下:
   插件 "cordova-plugin-network-information" 参数如下:
   插件 "cordova-plugin-zip" 参数如下:
   插件 "cordova-plugin-inappbrowser" 参数如下:
   插件 "cordova-plugin-x-toast" 参数如下:
   插件 "com.justep.cordova.plugin.app.utils" 参数如下:
   插件参数准备完成
   Installing "cordova-plugin-splashscreen" for android
   Failed to install 'cordova-plugin-splashscreen':Error: spawn UNKNOWN
       at exports._errnoException (util.js:870:11)
       at ChildProcess.spawn (internal/child_process.js:298:11)
       at Object.exports.spawn (child_process.js:362:9)
       at Object.exports.spawn (E:\BaiduNetdiskDownload\WeX5V35\tools\cordova\node_modules\cordova-lib

\node_modules\cordova-common\src\superspawn.js:108:31)
       at Object.exports.maybeSpawn (E:\BaiduNetdiskDownload\WeX5V35\tools\cordova\node_modules\cordova-lib

\node_modules\cordova-common\src\superspawn.js:150:24)
       at E:\BaiduNetdiskDownload\WeX5V35\tools\cordova\node_modules\cordova-lib\src\plugman\install.js:319:29
       at _fulfilled (E:\BaiduNetdiskDownload\WeX5V35\tools\cordova\node_modules\q\q.js:787:54)
       at self.promiseDispatch.done (E:\BaiduNetdiskDownload\WeX5V35\tools\cordova\node_modules\q\q.js:816:30)
       at Promise.promise.promiseDispatch (E:\BaiduNetdiskDownload\WeX5V35\tools\cordova\node_modules\q

\q.js:749:13)
       at E:\BaiduNetdiskDownload\WeX5V35\tools\cordova\node_modules\q\q.js:810:14
   Error: spawn UNKNOWN
****ERROR****: 子任务 "addPlugins" 执行失败。
****ERROR****: 任务 "addPlugins" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: addPlugins returned: 1
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

0

主题

1

帖子

10

积分

新手上路

Rank: 1

积分
10
QQ
发表于 2018-11-24 23:12:54 | 显示全部楼层
本帖最后由 t1094177531 于 2018-11-24 23:27 编辑

2018-11-24 22:52:09 [Thread-36] [org.apache.tools.ant.UnknownElement]错误:任务“java”以错误结束。
C:\ Users \ ADMINI~1 \ AppData \ Local \ Temp \ x5app-build2893837638507341045.xml:284:Java返回:-3
        atg.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang。反映.Method.invoke(Method.java:497)
        org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        org.apache.tools.ant.Task.perform(Task.java: 348)
        在org.apache.tools.ant.Target.execute(Target.java:435)
        在org.apache.tools.ant.Target.performTasks(Target.java:456)
        在org.apache.tools.ant.Project.executeSortedTargets (Project.java:1393)
        在org.apache.tools.ant.Project.executeTarget(Project.java:1364)
        在Pack.execTask(Pack.java:53)
        在Pack.access $ 000(Pack.java:24)
        在
        在java.lang.Thread.run(Thread.java:745)
2018-11-24 22:52:09 [Thread-36] [org.apache.tools.ant。包装$ 1.run(Pack.java:84)。目标]错误:目标“prepareSource”已完成错误。
C:\ Users \ ADMINI~1 \ AppData \ Local \ Temp \ x5app-build2893837638507341045.xml:284:Java返回:-3
        atg.apache.tools.ant.taskdefs.Java.execute(Java.java:111)
        在or.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
        at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang .reflect.Method.invoke(Method.java:497)
        在org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        在org.apache.tools.ant.Task.perform(Task.java :348)
        org.apache.tools.ant.Target.execute(Target.java:435)
        位于org.apache.tools.ant的org.apache.tools.ant.Target.performTasks(Target.java:456)
        。 Project.executeSortedTargets(Project.java:1393)
        在        Pack.access $ 000(Pack.java:24)的
        Pack.exe.Tun(Pack.java:24)上的org.apache.tools.ant.Project.executeTarget(Project.java:1364)        Pack $ 1.run(Pack。 java:84)        at java.lang.Thread.run(Thread.java:745) 2018-11-24 22:52:09 [Thread-36] [org.apache.tools.ant.Project]错误:构建完成错误。C:\ Users \ ADMINI~1 \ AppData \ Local \ Temp \ x5app-build2893837638507341045.xml:284:Java返回:-3         atg.apache.tools.ant.taskdefs.Java.execute(Java.java:111)        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)        at sun.reflect.GeneratedMethodAccessor19.invoke (Unknown Source)








        在
        sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)at java.lang.reflect.Method.invoke(Method.java:497)
        org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java) :106)
        org.apache.tools.ant.Task.perform(Task.java:348)
        org.apache.tools.ant.Target.execute(Target.java:435)atg.apache.tools.ant
        。在。org.apache.tools.ant.Project.executeTarget(
        Project.java:1364)
        的org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
        上的Target.performTasks(Target.java:456)Pack.access
        $ 000(Pack.java:24)的
        .execTask(Pack.java:53)打包$ 1.run(Pack.java:84)
        在java.lang.Thread.run(Thread.java:745)
---------------------打包日志:
   位置:类百度位置
      D:\ java \ wex5 \ model \ Native \外卖\ build \ src \ platforms \ android \ src \ com \ justep \ cordova \ plugin \ baidulocation \ BaiduLocation.java:177:错误:找不到符号
            Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
                                ^
        符号:类意图
        位置:类百度位置
      D:\ java \ wex5 \ model \ Native \外卖\ build \ src \ platforms \ android \ src \ com \ justep \ cordova \ plugin \ baidulocation \ BaiduLocation.java:177:错误:找不到符号
            Intent intent = new Intent(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
                                       ^
        符号:变量设置
        位置:类百度位置
      注:某些输入文件使用或覆盖了已过时的API。
      注:有关详细信息,请使用-Xlint:deprecation重新编译。
      注:某些输入文件使用了未经检查或不安全的操作。
      注:有关详细信息,请使用-Xlint:unchecked重新编译。
      11个错误

      FAILURE:构建因异常而失败。

回复 支持 反对

使用道具 举报

2

主题

13

帖子

23

积分

新手上路

Rank: 1

积分
23
QQ
发表于 2019-1-11 17:23:12 | 显示全部楼层
You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      android project rename compelete!!!!!!
      ios project rename compelete!!!!!!
      Error: The product name change (<name> tag) in config.xml is not supported dynamically.
      To change your product name, you have to remove, then add your ios platform again.
      Make sure you save your plugins beforehand using `cordova plugin save`.
   /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: UpdateSource returned: 1
              cordova plugin save
              cordova platform rm ios
              cordova platform add ios
      
           at com.justep.tools.ant.task.app.UpdateSourceTask.execute(Unknown Source)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
   ****ERROR****: 子任务 "UpdateSource" 执行失败。
   ****ERROR****: 任务 "updateProject" 执行失败。
   ****ERROR****: 执行出错:
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
   ****ERROR****: 错误信息: /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: UpdateSource returned: 1        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
           at org.apache.tools.ant.Target.performTasks(Target.java:456)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
           at com.justep.deploy.app.utils.Builder.main(Unknown Source)
   Caused by: /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: UpdateSource returned: 1
           at com.justep.tools.ant.task.app.UpdateSourceTask.a(Unknown Source)
           ... 13 more
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "prepareSource" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

求大神解答谢谢
回复 支持 反对

使用道具 举报

2

主题

13

帖子

23

积分

新手上路

Rank: 1

积分
23
QQ
发表于 2019-1-11 17:26:47 | 显示全部楼层
You have been opted out of telemetry. To change this, run: cordova telemetry on.
      args.nofetch undefined
      android project rename compelete!!!!!!
      ios project rename compelete!!!!!!
      Error: The product name change (<name> tag) in config.xml is not supported dynamically.
      To change your product name, you have to remove, then add your ios platform again.
      Make sure you save your plugins beforehand using `cordova plugin save`.
   /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: UpdateSource returned: 1
              cordova plugin save
              cordova platform rm ios
              cordova platform add ios
      
           at com.justep.tools.ant.task.app.UpdateSourceTask.execute(Unknown Source)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
   ****ERROR****: 子任务 "UpdateSource" 执行失败。
   ****ERROR****: 任务 "updateProject" 执行失败。
   ****ERROR****: 执行出错:
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
   ****ERROR****: 错误信息: /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: UpdateSource returned: 1        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
           at org.apache.tools.ant.Target.performTasks(Target.java:456)
           at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
           at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
           at com.justep.deploy.app.utils.BuildHelper.execTask(Unknown Source)
           at com.justep.deploy.app.utils.Builder.main(Unknown Source)
   Caused by: /var/folders/dh/87lyj9cd2nx3tlw2tq_rt0jh0000gn/T/2a148f8c-fabd-4952-80ed-ed664bfded98/genSource.xml:149: UpdateSource returned: 1
           at com.justep.tools.ant.task.app.UpdateSourceTask.a(Unknown Source)
           ... 13 more
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "prepareSource" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2019-4-23 08:28 , Processed in 0.138270 second(s), 23 queries .

Powered by Discuz! X3.1

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表