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

QQ登录

只需一步,快速开始

楼主: liangshaohua

[分享] App打包常见报错

  [复制链接]

2

主题

5

帖子

7

积分

新手上路

Rank: 1

积分
7
QQ
发表于 2017-6-9 15:08:12 | 显示全部楼层
郑峰次郎 发表于 2016-2-2 18:47
****ERROR****: 子任务 "updateSource" 执行失败。
****ERROR****: 任务 "updateProject" 执行失败。
****E ...

updateSource" 执行失败。的问题解决了吗?
回复 支持 反对

使用道具 举报

2

主题

5

帖子

7

积分

新手上路

Rank: 1

积分
7
QQ
发表于 2017-6-9 15:11:33 | 显示全部楼层
yapee123456 发表于 2016-4-26 11:37
更新工程信息:
****ERROR****: 子任务 "updateSource" 执行失败。
****ERROR****: 任务 "updateProject" 执 ...

updateSource" 执行失败。的问题解决了吗?
回复 支持 反对

使用道具 举报

7

主题

24

帖子

86

积分

初级会员

Rank: 2

积分
86
QQ
发表于 2017-6-16 09:28:46 | 显示全部楼层

设置了Native下项目中的build.properties 中的
offline=false 解决的。总之问题是五花八门,按到了葫芦起了瓢
回复 支持 反对

使用道具 举报

48

主题

172

帖子

331

积分

中级会员

Rank: 3Rank: 3

积分
331
发表于 2017-6-16 13:55:30 | 显示全部楼层
小小学习哥 发表于 2016-4-14 20:22
使用到的插件: [cordova-plugin-whitelist, cordova-plugin-splashscreen, cordova-plugin-app-preferen ...

请问如何解决???
回复 支持 反对

使用道具 举报

9

主题

28

帖子

54

积分

初级会员

Rank: 2

积分
54
QQ
发表于 2017-6-30 15:59:45 | 显示全部楼层

      :prepareComAndroidSupportAppcompatV72220Library
      :prepareComAndroidSupportSupportV42220Library
      :prepareDebugDependencies
      :compileDebugAidl
      :compileDebugRenderscript
      :generateDebugBuildConfig
      :generateDebugAssets UP-TO-DATE
      :mergeDebugAssets
      :generateDebugResValues
      :generateDebugResources
      :mergeDebugResources
      :processDebugManifest
      :processDebugResources
      :generateDebugSources
      注: 某些输入文件使用或覆盖了已过时的 API。
      注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
      注: 某些输入文件使用了未经检查或不安全的操作。
      注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
      :compileDebugJavaWithJavac
      :compileDebugNdk UP-TO-DATE
      :compileDebugSources
      :prePackageMarkerForDebug
      :transformClassesWithDexForDebug FAILED
      
      BUILD FAILED
      
      Total time: 26.288 secs
      trouble processing "java/lang/AutoCloseable.class":
      Ill-advised or mistaken usage of a core class (java.* or javax.*)
      when not building a core library.
      This is often due to inadvertently including a core library file
      in your application's project, when using an IDE (such as
      Eclipse). If you are sure you're not intentionally defining a
      core class, then this is the most likely explanation of what's
      going on.
      However, you might actually be trying to define a class in a core
      namespace, the source of which you may have taken, for example,
      from a non-Android virtual machine project. This will most
      assuredly not work. At a minimum, it jeopardizes the
      compatibility of your app with future versions of the platform.
      It is also often of questionable legality.
      If you really intend to build a core library -- which is only
      appropriate as part of creating a full virtual machine
      distribution, as opposed to compiling an application -- then use
      the "--core-library" option to suppress this error message.
      If you go ahead and use "--core-library" but are in fact
      building an application, then be forewarned that your application
      will still fail to build or run, at some point. Please be
      prepared for angry customers who find, for example, that your
      application ceases to function once they upgrade their operating
      system. You will be to blame for this problem.
      If you are legitimately using some code that happens to be in a
      core package, then the easiest safe alternative you have is to
      repackage that code. That is, move the classes in question into
      your own package namespace. This means that they will never be in
      conflict with core system classes. JarJar is a tool that may help
      you in this endeavor. If you find that you cannot do this, then
      that is an indication that the path you are on will ultimately
      lead to pain, suffering, grief, and lamentation.
      1 error; aborting
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':transformClassesWithDexForDebug'.
      > com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\aSDWF\Wex5SDWf\java\jre1.8\bin\java.exe'' finished with non-zero exit value 1
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      E:\aSDWF\Wex5SDWf\model\Native\娣稿崥\build\src\platforms\android\cordova\node_modules\q\q.js:126
                          throw e;
                          ^
      Error code 1 for command: cmd with args: /s /c "E:\aSDWF\Wex5SDWf\model\Native\娣稿崥\build\src\platforms\android\gradlew cdvBuildDebug -b E:\aSDWF\Wex5SDWf\model\Native\娣稿崥\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
      Error: cmd: Command failed with exit code 1
      ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
      You may not have the required environment or OS to build this project
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\manag\AppData\Local\Temp\40b2bbf4-69c9-4160-86dd-8482bdfbc482\pack.xml:88: exec returned: 1
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
           at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           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)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

9

主题

28

帖子

54

积分

初级会员

Rank: 2

积分
54
QQ
发表于 2017-6-30 16:00:03 | 显示全部楼层

      注: 某些输入文件使用或覆盖了已过时的 API。
      注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
      注: 某些输入文件使用了未经检查或不安全的操作。
      注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
      :compileDebugJavaWithJavac
      :compileDebugNdk UP-TO-DATE
      :compileDebugSources
      :prePackageMarkerForDebug
      :transformClassesWithDexForDebug FAILED
      
      BUILD FAILED
      
      Total time: 26.288 secs
      trouble processing "java/lang/AutoCloseable.class":
      Ill-advised or mistaken usage of a core class (java.* or javax.*)
      when not building a core library.
      This is often due to inadvertently including a core library file
      in your application's project, when using an IDE (such as
      Eclipse). If you are sure you're not intentionally defining a
      core class, then this is the most likely explanation of what's
      going on.
      However, you might actually be trying to define a class in a core
      namespace, the source of which you may have taken, for example,
      from a non-Android virtual machine project. This will most
      assuredly not work. At a minimum, it jeopardizes the
      compatibility of your app with future versions of the platform.
      It is also often of questionable legality.
      If you really intend to build a core library -- which is only
      appropriate as part of creating a full virtual machine
      distribution, as opposed to compiling an application -- then use
      the "--core-library" option to suppress this error message.
      If you go ahead and use "--core-library" but are in fact
      building an application, then be forewarned that your application
      will still fail to build or run, at some point. Please be
      prepared for angry customers who find, for example, that your
      application ceases to function once they upgrade their operating
      system. You will be to blame for this problem.
      If you are legitimately using some code that happens to be in a
      core package, then the easiest safe alternative you have is to
      repackage that code. That is, move the classes in question into
      your own package namespace. This means that they will never be in
      conflict with core system classes. JarJar is a tool that may help
      you in this endeavor. If you find that you cannot do this, then
      that is an indication that the path you are on will ultimately
      lead to pain, suffering, grief, and lamentation.
      1 error; aborting
      
      FAILURE: Build failed with an exception.
      
      * What went wrong:
      Execution failed for task ':transformClassesWithDexForDebug'.
      > com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'E:\aSDWF\Wex5SDWf\java\jre1.8\bin\java.exe'' finished with non-zero exit value 1
      
      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      
      E:\aSDWF\Wex5SDWf\model\Native\娣稿崥\build\src\platforms\android\cordova\node_modules\q\q.js:126
                          throw e;
                          ^
      Error code 1 for command: cmd with args: /s /c "E:\aSDWF\Wex5SDWf\model\Native\娣稿崥\build\src\platforms\android\gradlew cdvBuildDebug -b E:\aSDWF\Wex5SDWf\model\Native\娣稿崥\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
      Error: cmd: Command failed with exit code 1
      ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
      You may not have the required environment or OS to build this project
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
   C:\Users\manag\AppData\Local\Temp\40b2bbf4-69c9-4160-86dd-8482bdfbc482\pack.xml:88: exec returned: 1
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
           at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           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)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

14

主题

55

帖子

205

积分

中级会员

Rank: 3Rank: 3

积分
205
QQ
发表于 2017-7-3 09:47:35 | 显示全部楼层
本帖最后由 eye215 于 2017-7-3 09:50 编辑



      :JustepGetContent:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
      注: 某些输入文件使用或覆盖了已过时的 API。
      注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
      注: D:\WeX5_V3.7\model\Native\极光IMDemo\build\src\platforms\android\JustepGetContent\src\main\java\com\justep\x5\support\chooser\FileUploadChooserActivity.java使用了未经检查或不安全的操作。
      注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
      :JustepGetContent:extractReleaseAnnotations
      :JustepGetContent:mergeReleaseShaders
      :JustepGetContent:compileReleaseShaders
      :JustepGetContent:generateReleaseAssets
      :JustepGetContent:mergeReleaseAssets
      :JustepGetContent:mergeReleaseProguardFiles
      :JustepGetContent:packageReleaseRenderscript UP-TO-DATE
      :JustepGetContent:packageReleaseResources
      :JustepGetContent:processReleaseJavaRes UP-TO-DATE
      :JustepGetContent:transformResourcesWithMergeJavaResForRelease
      :JustepGetContent:transformClassesAndResourcesWithSyncLibJarsForRelease
      :JustepGetContent:mergeReleaseJniLibFolders
      :JustepGetContent:transformNativeLibsWithMergeJniLibsForRelease
      :JustepGetContent:transformNativeLibsWithSyncJniLibsForRelease
      :JustepGetContent:bundleRelease
      :CordovaLib:prepareDebugDependencies
      :CordovaLib:compileDebugAidl
      :CordovaLib:compileDebugNdk UP-TO-DATE
      :CordovaLib:compileLint
      :CordovaLib:copyDebugLint UP-TO-DATE
      :CordovaLib:compileDebugRenderscript
      :CordovaLib:generateDebugBuildConfig
      :CordovaLib:generateDebugResValues
      :CordovaLib:generateDebugResources
      :CordovaLib:mergeDebugResources
      :CordovaLib:processDebugManifest
      :CordovaLib:processDebugResources
      :CordovaLib:generateDebugSources
      :CordovaLib:incrementalDebugJavaCompilationSafeguard
      :CordovaLib:javaPreCompileDebug
      :CordovaLib:compileDebugJavaWithJavac
      :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
      注: 某些输入文件使用或覆盖了已过时的 API。
      注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
      :CordovaLib:extractDebugAnnotations
      :CordovaLib:mergeDebugShaders
      :CordovaLib:compileDebugShaders
      :CordovaLib:generateDebugAssets
      :CordovaLib:mergeDebugAssets
      :CordovaLib:mergeDebugProguardFiles
      :CordovaLib:packageDebugRenderscript UP-TO-DATE
      :CordovaLib:packageDebugResources
      :CordovaLib:processDebugJavaRes UP-TO-DATE
      :CordovaLib:transformResourcesWithMergeJavaResForDebug
      :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug
      :CordovaLib:mergeDebugJniLibFolders
      :CordovaLib:transformNativeLibsWithMergeJniLibsForDebug
      :CordovaLib:transformNativeLibsWithSyncJniLibsForDebug
      :CordovaLib:bundleDebug
      :prepareArmv7DebugDependencies
      :compileArmv7DebugAidl
      :compileArmv7DebugRenderscript
      :generateArmv7DebugBuildConfig
      :mergeArmv7DebugShaders
      :compileArmv7DebugShaders
      :generateArmv7DebugAssets
      :mergeArmv7DebugAssets
      :createXwalkCommandLineFileArmv7Debug
      :generateArmv7DebugResValues
      :generateArmv7DebugResources
      :mergeArmv7DebugResources
      D:\WeX5_V3.7\model\Native\极光IMDemo\build\src\platforms\android\AndroidManifest.xml:70:9-77:19 Error:
              Element service#cn.jpush.android.service.PushService at AndroidManifest.xml:70:9-77:19 duplicated with element declared at AndroidManifest.xml:28:9-35:19
      D:\WeX5_V3.7\model\Native\极光IMDemo\build\src\platforms\android\AndroidManifest.xml:78:9-92:20 Error:
              Element receiver#cn.jpush.android.service.PushReceiver at AndroidManifest.xml:78:9-92:20 duplicated with element declared at AndroidManifest.xml:36:9-50:20
      D:\WeX5_V3.7\model\Native\极光IMDemo\build\src\platforms\android\AndroidManifest.xml:108:9-75 Error:
              Element receiver#cn.jpush.android.service.AlarmReceiver at AndroidManifest.xml:108:9-75 duplicated with element declared at AndroidManifest.xml:51:9-100
      D:\WeX5_V3.7\model\Native\极光IMDemo\build\src\platforms\android\AndroidManifest.xml Error:
              Validation failed, exiting

      FAILURE: Build failed with an exception.

      * What went wrong:
      Execution failed for task ':processArmv7DebugManifest'.
      > Manifest merger failed with multiple errors, see logs

      * Try:
      Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
      :processArmv7DebugManifest

      See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

      :processArmv7DebugManifest FAILED

      BUILD FAILED

      Total time: 2 mins 14.839 secs

      D:\WeX5_V3.7\model\Native\鏋佸厜IMDemo\build\src\platforms\android\cordova\node_modules\q\q.js:126
                          throw e;
                          ^
      Error code 1 for command: cmd with args: /s /c "D:\WeX5_V3.7\model\Native\鏋佸厜IMDemo\build\src\platforms\android\gradlew cdvBuildDebug -b D:\WeX5_V3.7\model\Native\鏋佸厜IMDemo\build\src\platforms\android\build.gradle -Dorg.gradle.daemon=true --offline"
      ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
      You may not have the required environment or OS to build this project
      Error: cmd: Command failed with exit code 1
   C:\Users\ADMINI~1\AppData\Local\Temp\20419f89-1a40-45fc-acd1-f4cd635ace4b\pack.xml:91: exec returned: 1
           at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:643)
           at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
           at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
           at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
           at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           at java.lang.reflect.Method.invoke(Method.java:497)
           at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           at org.apache.tools.ant.Task.perform(Task.java:348)
           at org.apache.tools.ant.Target.execute(Target.java:435)
   ****ERROR****: 子任务 "exec" 执行失败。        at org.apache.tools.ant.Target.performTasks(Target.java:456)
   ****ERROR****: 任务 "buildAndroid" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

           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)
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: -3
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html

回复 支持 反对

使用道具 举报

3

主题

6

帖子

8

积分

新手上路

Rank: 1

积分
8
QQ
发表于 2017-7-4 10:10:33 | 显示全部楼层
IOS 打包出错。 有没有大侠知道
****ERROR****: 子任务 "pack" 执行失败。
****ERROR****: 任务 "packUseAppBuilderServer" 执行失败。
****ERROR****: 执行出错:
****ERROR**** 错误信息: 执行HTTP请求失败,错误信息:生成app包失败!
错误原因:
错误栈:
exec returned:1
回复 支持 反对

使用道具 举报

3

主题

9

帖子

51

积分

初级会员

Rank: 2

积分
51
QQ
发表于 2017-7-5 15:49:30 | 显示全部楼层
升级到最新的iOS10.12.5,和最新的xcode8.3.3,在使用wex5 3.7对学习项目hello进行苹果平台的app打包时,发生以下错误。请各位大侠能伸以援手,帮忙查看问题怎么解决?我知道大概时因为iOS10系统和wex5 3.7还不大兼容,想知道有没有快速而低成本的解决办法(比如,不需要重新安装低版本的iOS或xcode)。

错误日志如下(只截取了部分日志,完整日志将以附件上传、如果可以上传附件的话):

      /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:186:60: warning: 'ALAssetsLibrary' is deprecated: first deprecated in iOS 9.0 - Use PHPhotoLibrary from the Photos framework instead [-Wdeprecated-declarations]
              ALAssetsLibrary* assetsLibrary = [[ALAssetsLibrary alloc] init];
                                                                 ^
      In file included from /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:20:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:15:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:80:12: note: 'ALAssetsLibrary' has been explicitly marked deprecated here
      @interface ALAssetsLibrary : NSObject {
                 ^
      /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:187:24: warning: 'assetForURL:resultBlock:failureBlock:' is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiersptions: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLsptions from the Photos framework instead [-Wdeprecated-declarations]
              [assetsLibrary assetForURL:url resultBlock:resultBlock failureBlock:failureBlock];
                             ^
      In file included from /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:20:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h:15:
      /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h:95:1: note: 'assetForURL:resultBlock:failureBlock:' has been explicitly marked deprecated here
      - (void)assetForURLNSURL *)assetURL resultBlockALAssetsLibraryAssetForURLResultBlock)resultBlock failureBlockALAssetsLibraryAccessFailureBlock)failureBlock NS_DEPRECATED_IOS(4_0, 9_0, "Use fetchAssetsWithLocalIdentifiersptions: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLsptionsfrom the Photos framework instead");
      ^
      12 warnings generated.
      
      Libtool /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/build/device/libCordova.a normal armv7
          cd /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/CordovaLib
          export IPHONEOS_DEPLOYMENT_TARGET=9.3
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/tao/Downloads/WeX5_V3.7-mac/node:/var/folders/f7/8_pf5pln49387172fmmrhnhc0000gn/T/9d199511-2edc-42c6-9f9b-ff94af39114c/java/jdk1.8-x64/Contents/Home/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk -L/Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/build/device -filelist /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList -o /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/build/device/libCordova.a
      
      === BUILD TARGET hello OF PROJECT hello WITH CONFIGURATION Debug ===
      
      Check dependencies
      Signing for "hello" requires a development team. Select a development team in the project editor.
      warning: no rule to process file '/Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/hello/Plugins/cordova-plugin-httpd/DDAbstractDatabaseLogger.h' of type sourcecode.c.h for architecture armv7
      warning: no rule to process file '/Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/hello/Plugins/plugin.http.request/README' of type text for architecture armv7
      warning: no rule to process file '/Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/hello/Plugins/plugin.http.request/HttpRequest/R9HTTPRequest/BSD-LICENSE' of type text for architecture armv7
      Code signing is required for product type 'Application' in SDK 'iOS 10.3'
      
      ERROR building one of the platforms: Error: /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/cordova/build: Command failed with exit code 2
      You may not have the required environment or OS to build this project
      ** BUILD FAILED **
      
      
      The following build commands failed:
              Check dependencies
      (1 failure)
      Error code 65 for command: xcodebuild with args: -xcconfig,/Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/cordova/build-debug.xcconfig,-project,hello.xcodeproj,ARCHS=armv7 arm64,-target,hello,-configuration,Debug,-sdk,iphoneos,build,VALID_ARCHS=armv7 arm64,CONFIGURATION_BUILD_DIR=/Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/build/sharedpch
      Error: /Users/tao/Downloads/WeX5_V3.7-mac/model/Native/hello/build/src/platforms/ios/cordova/build: Command failed with exit code 2
   ****ERROR****: 子任务 "exec" 执行失败。
   ****ERROR****: 任务 "buildIOS" 执行失败。
   ****ERROR****: 执行出错:
   ****ERROR****: 错误信息: exec returned: 1
   ****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
****ERROR****: 子任务 "java" 执行失败。
****ERROR****: 任务 "pack" 执行失败。
****ERROR****: 执行出错:
****ERROR****: 错误信息: Java returned: 253
****ERROR****: 如不能确定具体问题,可参考常见问题: http://bbs.wex5.com/thread-82002-1-1.html
回复 支持 反对

使用道具 举报

17

主题

78

帖子

158

积分

初级会员

Rank: 2

积分
158
QQ
发表于 2017-8-7 11:39:10 | 显示全部楼层
yapee123456 发表于 2016-4-26 11:37
更新工程信息:
****ERROR****: 子任务 "updateSource" 执行失败。
****ERROR****: 任务 "updateProject" 执 ...

大神 这个错误解决了么  到底是哪的问题呀  我也遇到了这个问题
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-20 09:16 , Processed in 0.109384 second(s), 21 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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